from enum import Enum from engine import Collection, Recipe class Items(Collection): IronBar = "Iron Bar" CopperBar = "Copper Bar" SteelBar = "Steel Bar" IronPlate = "Iron Plate" CopperPlate = "Copper Plate" IronBeam = "Iron Beam" CopperBeam = "Copper Beam" SteelBeam = "Steel Beam" IronMechanicalParts = "Iron Mechanical Parts" CopperMechanicalParts = "Copper Mechanical Parts" SteelMechanicalParts = "Steel Mechanical Parts" CrushedIron = "Crushed Iron" CrushedCoalCoke = "Crushed Coal Coke" SteelBlend = "Steel Blend" CoalCoke = "Coal Coke" SteamEngine = "Steam Engine" SteamAssembler = "Steam Assembler" SteamCrusher = "Steam Crusher" Pipe = "Pipe" class Recipes(Collection): IronPlate = Recipe([Items.IronBar], [Items.IronPlate], "Iron Plate") CopperPlate = Recipe([Items.CopperBar], [Items.CopperPlate], "Copper Plate") IronBeam = Recipe([Items.IronBar], [Items.IronBeam], "Iron Beam") CopperBeam = Recipe([Items.CopperBar], [Items.CopperBeam], "Copper Beam") SteelBeam = Recipe([Items.SteelBar], [Items.SteelBeam], "Steel Beam") IronMechanicalParts = Recipe([Items.IronBar], [Items.IronMechanicalParts], "Iron Mechanical Parts") CopperMechanicalParts = Recipe([Items.CopperBar], [Items.CopperMechanicalParts], "Copper Mechanical Parts") SteelMechanicalParts = Recipe([Items.SteelBar], [Items.SteelMechanicalParts], "Steel Mechanical Parts") Pipe = Recipe([Items.IronPlate, Items.IronMechanicalParts], [Items.Pipe], "Pipe") SteamEngine = Recipe([Items.Pipe, Items.CopperMechanicalParts], [Items.SteamEngine], "Steam Engine") SteamAssembler = Recipe([ Items.Pipe, Items.CopperMechanicalParts, Items.SteamEngine, Items.CopperBeam ], [Items.SteamAssembler], "Steam Assembler") SteamCrusher = Recipe([ Items.Pipe, Items.IronMechanicalParts, Items.SteamEngine, Items.CopperBeam ], [Items.SteamCrusher], "Steam Crusher")