From adee0f5ffb27096249da8ee66833cd6b97dc918c Mon Sep 17 00:00:00 2001 From: Ajurna Date: Tue, 11 Nov 2025 18:01:55 +0000 Subject: [PATCH] checkpoint --- main.py | 1 + plus.py | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/main.py b/main.py index ffc5e1b..6b82923 100644 --- a/main.py +++ b/main.py @@ -51,6 +51,7 @@ class ProductionChain: self.byproduct: Dict[Items, float] = defaultdict(float) self.preferred_recipes = preferred_recipes or {} self.preferred_recipes[Items.Steam] = Recipes.SteamMk1.value + # self.preferred_recipes[Items.Sand] = Recipes.CoarseSand.value def get_recipe(self, item: Items) -> Optional[Recipe]: if item in self.preferred_recipes: diff --git a/plus.py b/plus.py index 1fd83ad..8e596da 100644 --- a/plus.py +++ b/plus.py @@ -104,6 +104,7 @@ class Items(Enum): Salt = Item(name="Salt") Diamonds = Item(name="Diamonds") QuartzCrystal = Item(name="Quartz Crystal") + BrassBeltDrive = Item(name="Brass Belt Drive") class RawResources(Enum): Water = Items.Water @@ -515,6 +516,16 @@ class Recipes(Enum): Items.TinIngot: 15.0, }, ) + # - Standard Parts + TemperedSteelRod = Recipe( + name="Tempered Steel Rod", + building=Machines.Foundry, + outputs={Items.SteelRod: 12.5}, + inputs={ + Items.IronRod: 30.0, + Items.CarbonPowder: 12.5 + } + ) # - Industrial Parts SteelBeam = Recipe( name="Steel Beam", @@ -742,6 +753,19 @@ class Recipes(Enum): Items.Steam: 60.0 }, ) + DirectSteel = Recipe( + name="Direct Steel", + building=Machines.FlexibleBlastFurnace, + outputs={ + Items.MoltenSteel: 60.0, + Items.FlueGas: 10.0 + }, + inputs={ + Items.IronIngot: 120.0, + Items.Steam: 40.0, + Items.Air: 75.0 + } + ) # Reformer # - Cooling CastSteelRod = Recipe( @@ -822,6 +846,19 @@ class Recipes(Enum): Items.Air: 30.0 } ) + # - Other + BrassBeltDrive = Recipe( + name="Brass Belt Drive", + building=Machines.Reformer, + outputs={ + Items.BrassBeltDrive: 20.0, + }, + inputs={ + Items.Stator: 8.0, + Items.MoltenBrass: 20.0, + Items.Air: 36.0, + } + ) # Wet Washer # - Washing WashedIron = Recipe(