from enum import Enum from engine import Recipe class Item(Enum): 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(Enum): IronPlate = Recipe([Item.IronBar], [Item.IronPlate], "Iron Plate") CopperPlate = Recipe([Item.CopperBar], [Item.CopperPlate], "Copper Plate") IronBeam = Recipe([Item.IronBar], [Item.IronBeam], "Iron Beam") CopperBeam = Recipe([Item.CopperBar], [Item.CopperBeam], "Copper Beam") SteelBeam = Recipe([Item.SteelBar], [Item.SteelBeam], "Steel Beam") IronMechanicalParts = Recipe([Item.IronBar], [Item.IronMechanicalParts], "Iron Mechanical Parts") CopperMechanicalParts = Recipe([Item.CopperBar], [Item.CopperMechanicalParts], "Copper Mechanical Parts") SteelMechanicalParts = Recipe([Item.SteelBar], [Item.SteelMechanicalParts], "Steel Mechanical Parts") Pipe = Recipe([Item.IronPlate, Item.IronMechanicalParts], [Item.Pipe], "Pipe") SteamEngine = Recipe([Item.Pipe, Item.CopperMechanicalParts], [Item.SteamEngine], "Steam Engine") SteamAssembler = Recipe([ Item.Pipe, Item.CopperMechanicalParts, Item.SteamEngine, Item.CopperBeam ], [Item.SteamAssembler], "Steam Assembler") SteamCrusher = Recipe([ Item.Pipe, Item.IronMechanicalParts, Item.SteamEngine, Item.CopperBeam ], [Item.SteamCrusher], "Steam Crusher")