checkpoint
This commit is contained in:
191
plus.py
191
plus.py
@@ -12,6 +12,8 @@ class Machines(Enum):
|
||||
Sorter = Machine(name="Sorter")
|
||||
Crusher = Machine(name="Crusher")
|
||||
Foundry = Machine(name="Foundry")
|
||||
FlexibleBlastFurnace = Machine(name="Flexible Blast Furnace")
|
||||
Reformer = Machine(name="Reformer")
|
||||
|
||||
class Items(Enum):
|
||||
IronIngot = Item(name="Iron Ingot")
|
||||
@@ -71,6 +73,18 @@ class Items(Enum):
|
||||
BronzeFrame = Item(name="Bronze Frame")
|
||||
AILimiter = Item(name="AI Limiter")
|
||||
Water = Item(name="Water")
|
||||
CrushedCaterium = Item(name="Crushed Caterium")
|
||||
CateriumHeatsink = Item(name="Caterium Heatsink")
|
||||
MoltenIron = Item(name="Molten Iron")
|
||||
MoltenCopper = Item(name="Molten Copper")
|
||||
MoltenTin = Item(name="Molten Tin")
|
||||
Steam = Item(name="Steam")
|
||||
MoltenBrass = Item(name="Molten Brass")
|
||||
BrassIngot = Item(name="Brass Ingot")
|
||||
BrassPlates = Item(name="Brass Plates")
|
||||
BrassPipes = Item(name="Brass Pipes")
|
||||
ColdSlag = Item(name="Cold Slag")
|
||||
FanBlades = Item(name="Fan Blades")
|
||||
|
||||
class RawResources(Enum):
|
||||
Water = Items.Water
|
||||
@@ -177,6 +191,16 @@ class Recipes(Enum):
|
||||
},
|
||||
inputs={Items.CrushedLarrussite: 120.0},
|
||||
)
|
||||
CrushedCaterium = Recipe(
|
||||
name="Crushed Caterium",
|
||||
building=Machines.Sorter,
|
||||
outputs={
|
||||
Items.CrushedCaterium: 80.0,
|
||||
Items.CrushedCopper: 40.0,
|
||||
Items.CrushedGangue: 30.0,
|
||||
},
|
||||
inputs={Items.CrushedAurovite: 120.0},
|
||||
)
|
||||
# Smelter
|
||||
# - smelting
|
||||
IronIngot = Recipe(
|
||||
@@ -197,6 +221,12 @@ class Recipes(Enum):
|
||||
outputs={Items.TinIngot: 15.0},
|
||||
inputs={Items.CrushedTin: 15.0},
|
||||
)
|
||||
CateriumIngot = Recipe(
|
||||
name="Caterium Ingot",
|
||||
building=Machines.Smelter,
|
||||
outputs={Items.CateriumIngot: 40.0},
|
||||
inputs={Items.CrushedCaterium: 40.0},
|
||||
)
|
||||
# - Ingots
|
||||
ImpureIronIngot = Recipe(
|
||||
name="Impure Iron Ingot",
|
||||
@@ -219,8 +249,8 @@ class Recipes(Enum):
|
||||
ImpureCateriumIngot = Recipe(
|
||||
name="Impure Caterium Ingot",
|
||||
building=Machines.Smelter,
|
||||
inputs={Items.CrushedAurovite: 40.0},
|
||||
outputs={Items.CateriumIngot: 24.0},
|
||||
inputs={Items.CrushedAurovite: 40.0},
|
||||
)
|
||||
ZincIngot = Recipe(
|
||||
name="Zinc Ingot",
|
||||
@@ -235,6 +265,12 @@ class Recipes(Enum):
|
||||
outputs={Items.Glass: 20.0},
|
||||
inputs={Items.Sand: 30.0},
|
||||
)
|
||||
CastIronScrew = Recipe(
|
||||
name="Cast Iron Screw",
|
||||
building=Machines.Smelter,
|
||||
outputs={Items.Screws: 40.0},
|
||||
inputs={Items.IronIngot: 20.0},
|
||||
)
|
||||
# Constructor
|
||||
# - Standard Parts
|
||||
IronPlate = Recipe(
|
||||
@@ -309,6 +345,18 @@ class Recipes(Enum):
|
||||
outputs={Items.ZincPlates: 15.0},
|
||||
inputs={Items.ZincIngot: 12.5},
|
||||
)
|
||||
RolledBronzePlate = Recipe(
|
||||
name="Rolled Bronze Plate",
|
||||
building=Machines.Constructor,
|
||||
outputs={Items.BronzePipes: 16.0},
|
||||
inputs={Items.BronzePlates: 8.0},
|
||||
)
|
||||
CompactedIronPlate = Recipe(
|
||||
name="Compacted Iron Plate",
|
||||
building=Machines.Constructor,
|
||||
outputs={Items.ReinforcedIronPlate: 3.0},
|
||||
inputs={Items.IronPlate: 20.0},
|
||||
)
|
||||
# - Electronics
|
||||
IronWire = Recipe(
|
||||
name="Iron Wire",
|
||||
@@ -353,7 +401,13 @@ class Recipes(Enum):
|
||||
outputs={Items.Concrete: 15.0},
|
||||
inputs={Items.CrushedGangue: 45.0},
|
||||
)
|
||||
|
||||
# - Industrial Parts
|
||||
BrassPlates = Recipe(
|
||||
name="Brass Plates",
|
||||
building=Machines.Constructor,
|
||||
outputs={Items.BrassPlates: 18.0},
|
||||
inputs={Items.BrassIngot: 25.0},
|
||||
)
|
||||
# Foundry
|
||||
# - Building Parts
|
||||
SolarCell = Recipe(
|
||||
@@ -406,6 +460,24 @@ class Recipes(Enum):
|
||||
Items.Rotor: 3.75,
|
||||
},
|
||||
)
|
||||
SlagConcrete = Recipe(
|
||||
name="Slag Concrete",
|
||||
building=Machines.Assembler,
|
||||
outputs={Items.Concrete: 22.5},
|
||||
inputs={
|
||||
Items.ColdSlag: 33.75,
|
||||
Items.CrushedGangue: 11.25,
|
||||
},
|
||||
)
|
||||
FanBlades = Recipe(
|
||||
name="Fan Blades",
|
||||
building=Machines.Assembler,
|
||||
outputs={Items.FanBlades: 7.5},
|
||||
inputs={
|
||||
Items.BrassPlates: 8.0,
|
||||
Items.IronRod: 22.5,
|
||||
},
|
||||
)
|
||||
# - Standard Parts
|
||||
TinPlate = Recipe(
|
||||
name="Tin Plate",
|
||||
@@ -470,6 +542,25 @@ class Recipes(Enum):
|
||||
Items.BronzeBeam: 7.5,
|
||||
},
|
||||
)
|
||||
FastenedFrame = Recipe(
|
||||
name="Fastened Frame",
|
||||
building=Machines.Assembler,
|
||||
outputs={Items.ModularFrame: 20.0},
|
||||
inputs={
|
||||
Items.ReinforcedIronPlate: 15,
|
||||
Items.Screws: 150,
|
||||
},
|
||||
)
|
||||
BrassPipes = Recipe(
|
||||
name="Brass Pipes",
|
||||
building=Machines.Assembler,
|
||||
outputs={Items.BrassPipes: 12.5},
|
||||
inputs={
|
||||
Items.BrassPlates: 15.0,
|
||||
Items.CopperRod: 7.5
|
||||
},
|
||||
)
|
||||
# - Electronics
|
||||
AILimiter = Recipe(
|
||||
name="AI Limiter",
|
||||
building=Machines.Assembler,
|
||||
@@ -479,5 +570,101 @@ class Recipes(Enum):
|
||||
Items.TinnedWire: 18.0,
|
||||
},
|
||||
)
|
||||
# - Industrial
|
||||
CateriumHeatsink = Recipe(
|
||||
name="Caterium Heatsink",
|
||||
building=Machines.Assembler,
|
||||
outputs={Items.CateriumHeatsink: 10.0},
|
||||
inputs={
|
||||
Items.CateriumPlate: 28.0,
|
||||
Items.CopperBusbars: 10.0,
|
||||
},
|
||||
)
|
||||
# Flexible Blast Furnace
|
||||
# - Molten Metals
|
||||
MoltenIron = Recipe(
|
||||
name="Molten Iron",
|
||||
building=Machines.FlexibleBlastFurnace,
|
||||
outputs={Items.MoltenIron: 60.0},
|
||||
inputs={
|
||||
Items.CrushedIron: 120.0,
|
||||
},
|
||||
)
|
||||
MoltenCopper = Recipe(
|
||||
name="Molten Copper",
|
||||
building=Machines.FlexibleBlastFurnace,
|
||||
outputs={Items.MoltenCopper: 60.0},
|
||||
inputs={
|
||||
Items.CrushedCopper: 120.0,
|
||||
},
|
||||
)
|
||||
MoltenTin = Recipe(
|
||||
name="Molten Tin",
|
||||
building=Machines.FlexibleBlastFurnace,
|
||||
outputs={Items.MoltenTin: 60.0},
|
||||
inputs={
|
||||
Items.CrushedTin: 120.0,
|
||||
},
|
||||
)
|
||||
# - Alloys
|
||||
MoltenBrass = Recipe(
|
||||
name="Molten Brass",
|
||||
building=Machines.FlexibleBlastFurnace,
|
||||
outputs={Items.MoltenBrass: 60.0},
|
||||
inputs={
|
||||
Items.CrushedZinc: 32.0,
|
||||
Items.MoltenCopper: 20.0,
|
||||
},
|
||||
)
|
||||
# Reformer
|
||||
# - Ingots
|
||||
CastIronIngot = Recipe(
|
||||
name="Cast Iron Ingot",
|
||||
building=Machines.Reformer,
|
||||
outputs={
|
||||
Items.IronIngot: 180.0,
|
||||
Items.Steam: 60.0
|
||||
},
|
||||
inputs={
|
||||
Items.MoltenIron: 60.0,
|
||||
Items.Water: 60.0,
|
||||
},
|
||||
)
|
||||
CastCopperIngot = Recipe(
|
||||
name="Cast Copper Ingot",
|
||||
building=Machines.Reformer,
|
||||
outputs={
|
||||
Items.CopperIngot: 144.0,
|
||||
Items.Steam: 24.0
|
||||
},
|
||||
inputs={
|
||||
Items.MoltenCopper: 48.0,
|
||||
Items.Water: 24.0,
|
||||
}
|
||||
)
|
||||
CastTinIngot = Recipe(
|
||||
name="Cast Tin Ingot",
|
||||
building=Machines.Reformer,
|
||||
outputs={
|
||||
Items.TinIngot: 180.0,
|
||||
Items.Steam: 20.0
|
||||
},
|
||||
inputs={
|
||||
Items.MoltenTin: 60.0,
|
||||
Items.Water: 20.0,
|
||||
}
|
||||
)
|
||||
CastBrassIngot = Recipe(
|
||||
name="Cast Brass Ingot",
|
||||
building=Machines.Reformer,
|
||||
outputs={
|
||||
Items.BrassIngot: 50.0,
|
||||
Items.Steam: 15.0
|
||||
},
|
||||
inputs={
|
||||
Items.MoltenBrass: 40.0,
|
||||
Items.Water: 15.0,
|
||||
}
|
||||
)
|
||||
|
||||
Recipe.model_rebuild()
|
||||
Reference in New Issue
Block a user