From 0b72861273ef39f96cb0ade35558b8a41bcda4a5 Mon Sep 17 00:00:00 2001 From: Simon Brodtmann Date: Sun, 8 Jun 2025 17:19:31 +0200 Subject: [PATCH] Reduce usage of resources for some buildings --- lignumis/prototypes/content/basic-gun-turret.lua | 4 ++-- .../content/burner-agricultural-tower.lua | 8 ++++---- lignumis/prototypes/content/lumber-mill.lua | 14 +++++++------- lignumis/prototypes/content/wood-lab.lua | 4 ++-- lignumis/prototypes/content/wooden-rocket-silo.lua | 8 ++++---- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/lignumis/prototypes/content/basic-gun-turret.lua b/lignumis/prototypes/content/basic-gun-turret.lua index 75428e1..335010b 100644 --- a/lignumis/prototypes/content/basic-gun-turret.lua +++ b/lignumis/prototypes/content/basic-gun-turret.lua @@ -51,9 +51,9 @@ local turret_recipe = { enabled = false, energy_required = 8, ingredients = { - { type = "item", name = "wooden-gear-wheel", amount = 10 }, + { type = "item", name = "wooden-gear-wheel", amount = 5 }, { type = "item", name = "lumber", amount = 10 }, - { type = "item", name = "gold-plate", amount = 20 } + { type = "item", name = "gold-plate", amount = 10 } }, results = { { type = "item", name = "basic-gun-turret", amount = 1 } } } diff --git a/lignumis/prototypes/content/burner-agricultural-tower.lua b/lignumis/prototypes/content/burner-agricultural-tower.lua index 127c2fe..32a2234 100644 --- a/lignumis/prototypes/content/burner-agricultural-tower.lua +++ b/lignumis/prototypes/content/burner-agricultural-tower.lua @@ -87,8 +87,8 @@ data:extend({ energy_required = 10, ingredients = { { type = "item", name = "stone-brick", amount = 5 }, - { type = "item", name = "wooden-gear-wheel", amount = 20 }, - { type = "item", name = "lumber", amount = 20 }, + { type = "item", name = "wooden-gear-wheel", amount = 15 }, + { type = "item", name = "lumber", amount = 15 }, { type = "item", name = "gold-plate", amount = basic_circuit_board and 10 or 20 }, basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 10 } or nil }, @@ -124,8 +124,8 @@ data:extend({ energy_required = 10, ingredients = { { type = "item", name = "stone-brick", amount = 5 }, - { type = "item", name = "wooden-gear-wheel", amount = 20 }, - { type = "item", name = "lumber", amount = 20 }, + { type = "item", name = "wooden-gear-wheel", amount = 15 }, + { type = "item", name = "lumber", amount = 15 }, { type = "item", name = "copper-plate", amount = 10 }, { type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 10 } }, diff --git a/lignumis/prototypes/content/lumber-mill.lua b/lignumis/prototypes/content/lumber-mill.lua index 78da9a0..2f55798 100644 --- a/lignumis/prototypes/content/lumber-mill.lua +++ b/lignumis/prototypes/content/lumber-mill.lua @@ -31,11 +31,11 @@ local lumber_mill_item = LumberMill.ItemBuilder:new() LumberMill.RecipeBuilder:new() :ingredients(table.trim({ { type = "item", name = "stone-brick", amount = 40 }, - { type = "item", name = "lumber", amount = 100 }, - { type = "item", name = "wooden-gear-wheel", amount = 100 }, - { type = "item", name = "gold-plate", amount = basic_circuit_board and 30 or 60 }, - basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 30 } or nil, - { type = "item", name = "burner-assembling-machine", amount = 5 } + { type = "item", name = "lumber", amount = 50 }, + { type = "item", name = "wooden-gear-wheel", amount = 50 }, + { type = "item", name = "gold-plate", amount = basic_circuit_board and 20 or 40 }, + basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 20 } or nil, + { type = "item", name = "burner-assembling-machine", amount = 2 } })) :apply({ category = "wood-processing-or-assembling" @@ -53,8 +53,8 @@ LumberMill.RecipeBuilder:new() { type = "item", name = "stone-brick", amount = 40 }, { type = "item", name = "lumber", amount = 50 }, { type = "item", name = "wooden-gear-wheel", amount = 50 }, - { type = "item", name = "copper-plate", amount = basic_circuit_board and 30 or 60 }, - { type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 30 }, + { type = "item", name = "copper-plate", amount = basic_circuit_board and 20 or 40 }, + { type = "item", name = basic_circuit_board and "basic-circuit-board" or "electronic-circuit", amount = 20 }, { type = "item", name = "assembling-machine-1", amount = 2 } }) :apply({ diff --git a/lignumis/prototypes/content/wood-lab.lua b/lignumis/prototypes/content/wood-lab.lua index 6f06645..7db5aec 100644 --- a/lignumis/prototypes/content/wood-lab.lua +++ b/lignumis/prototypes/content/wood-lab.lua @@ -147,8 +147,8 @@ data:extend({ category = "wood-processing-or-assembling", energy_required = 2, ingredients = { - { type = "item", name = "lumber", amount = 10 }, - { type = "item", name = "wooden-gear-wheel", amount = 10 }, + { type = "item", name = "lumber", amount = 6 }, + { type = "item", name = "wooden-gear-wheel", amount = 4 }, { type = "item", name = "stone-brick", amount = 10 }, { type = "item", name = "gold-plate", amount = basic_circuit_board and 10 or 20 }, basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 10 } or nil diff --git a/lignumis/prototypes/content/wooden-rocket-silo.lua b/lignumis/prototypes/content/wooden-rocket-silo.lua index 920ab42..4bfb828 100644 --- a/lignumis/prototypes/content/wooden-rocket-silo.lua +++ b/lignumis/prototypes/content/wooden-rocket-silo.lua @@ -67,10 +67,10 @@ local silo_recipe = table.deepcopy(data.raw["recipe"]["rocket-silo"]) silo_recipe.name = "provisional-rocket-silo" silo_recipe.results[1].name = "provisional-rocket-silo" silo_recipe.ingredients = { - { type = "item", name = "lumber", amount = 500 }, - { type = "item", name = "wooden-gear-wheel", amount = 250 }, - { type = "item", name = "stone-brick", amount = 500 }, - { type = "item", name = "gold-plate", amount = 500 }, + { type = "item", name = "lumber", amount = 400 }, + { type = "item", name = "wooden-gear-wheel", amount = 150 }, + { type = "item", name = "stone-brick", amount = 400 }, + { type = "item", name = "gold-plate", amount = 400 }, basic_circuit_board and { type = "item", name = "basic-circuit-board", amount = 100 } or { type = "item", name = "gold-cable", amount = 100 } }