initial commit
This commit is contained in:
79
vanilla.py
Normal file
79
vanilla.py
Normal file
@@ -0,0 +1,79 @@
|
||||
class Recipes(Enum):
|
||||
# Mining
|
||||
IronOre = Recipe(
|
||||
name="Iron Ore",
|
||||
building=Machines.Miner,
|
||||
outputs={Items.IronOre: 60.0},
|
||||
)
|
||||
CopperOre = Recipe(
|
||||
name="Copper Ore",
|
||||
building=Machines.Miner,
|
||||
outputs={Items.CopperOre: 60.0},
|
||||
)
|
||||
Limestone = Recipe(
|
||||
name="Limestone",
|
||||
building=Machines.Miner,
|
||||
outputs={Items.Limestone: 60.0},
|
||||
)
|
||||
# Smelting
|
||||
IronIngot = Recipe(
|
||||
name="Iron Ingot",
|
||||
building=Machines.Smelter,
|
||||
outputs={Items.IronIngot: 30.0},
|
||||
inputs={Items.IronOre: 30.0},
|
||||
)
|
||||
CopperIngot = Recipe(
|
||||
name="Copper Ingot",
|
||||
building=Machines.Smelter,
|
||||
outputs={Items.CopperIngot: 30.0},
|
||||
inputs={Items.CopperOre: 30.0},
|
||||
)
|
||||
|
||||
# Basic constructor products
|
||||
IronPlate = Recipe(
|
||||
name="Iron Plate",
|
||||
building=Machines.Constructor,
|
||||
outputs={Items.IronPlate: 20.0},
|
||||
inputs={Items.IronIngot: 30.0}, # 1.5 ingot per plate
|
||||
)
|
||||
IronRod = Recipe(
|
||||
name="Iron Rod",
|
||||
building=Machines.Constructor,
|
||||
outputs={Items.IronRod: 15.0},
|
||||
inputs={Items.IronIngot: 15.0},
|
||||
)
|
||||
Screw= Recipe(
|
||||
name="Screw",
|
||||
building=Machines.Constructor,
|
||||
outputs={Items.Screw: 40.0},
|
||||
inputs={Items.IronRod: 10.0}, # 4 screws per rod
|
||||
)
|
||||
Wire= Recipe(
|
||||
name="Wire",
|
||||
building=Machines.Constructor,
|
||||
outputs={Items.Wire: 60.0},
|
||||
inputs={Items.CopperIngot: 30.0}, # 2 wire per ingot
|
||||
)
|
||||
Cable= Recipe(
|
||||
name="Cable",
|
||||
building=Machines.Constructor,
|
||||
outputs={Items.Cable: 30.0},
|
||||
inputs={Items.Wire: 60.0}, # 2 wire per cable
|
||||
)
|
||||
Concrete= Recipe(
|
||||
name="Concrete",
|
||||
building=Machines.Constructor,
|
||||
outputs={Items.Concrete: 15.0},
|
||||
inputs={Items.Limestone: 45.0}, # 3 limestone per
|
||||
)
|
||||
|
||||
# Assemblers
|
||||
ReinforcedIronPlate = Recipe(
|
||||
name="Reinforced Iron Plate",
|
||||
building=Machines.Assembler,
|
||||
outputs={Items.ReinforcedIronPlate: 5.0},
|
||||
inputs={
|
||||
Items.IronPlate: 30.0,
|
||||
Items.Screw: 60.0,
|
||||
},
|
||||
)
|
||||
Reference in New Issue
Block a user