This commit is contained in:
2026-06-06 00:59:44 +09:00
parent 4bc5a4b3ee
commit 9be97773af
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -306,8 +306,9 @@ local items = {
-- SPACE_AGE 45 -- SPACE_AGE 45
['fish-breeding'] = { ['fish-breeding'] = {
energy_required = 10, energy_required = 10,
allow_productivity = true,
ingredients = {{type = 'item', name = 'raw-fish', amount = 8}, {type = 'item', name = 'nutrients', amount = 80}, {type = 'fluid', name = 'water', amount = 1000, fluidbox_multiplier = 10, ignored_by_stats = 1000}}, ingredients = {{type = 'item', name = 'raw-fish', amount = 8}, {type = 'item', name = 'nutrients', amount = 80}, {type = 'fluid', name = 'water', amount = 1000, fluidbox_multiplier = 10, ignored_by_stats = 1000}},
results = {{type = 'item', name = 'raw-fish', amount = 16}, {type = 'fluid', name = 'water', amount = 1000, fluidbox_multiplier = 10, ignored_by_stats = 1000}} results = {{type = 'item', name = 'raw-fish', amount = 12}, {type = 'fluid', name = 'water', amount = 1000, fluidbox_multiplier = 10, ignored_by_stats = 1000, ignored_by_productivity = 1000}}
}, },
}, },
['recipe'] = { ['recipe'] = {
+1
View File
@@ -419,6 +419,7 @@ for _, v in pairs(data.raw.recipe) do
v.category = (items['recipe_reform'][v.name].category and items['recipe_reform'][v.name].category) or v.category v.category = (items['recipe_reform'][v.name].category and items['recipe_reform'][v.name].category) or v.category
v.ingredients = (items['recipe_reform'][v.name].ingredients and items['recipe_reform'][v.name].ingredients) or v.ingredients v.ingredients = (items['recipe_reform'][v.name].ingredients and items['recipe_reform'][v.name].ingredients) or v.ingredients
v.results = (items['recipe_reform'][v.name].results and items['recipe_reform'][v.name].results) or v.results v.results = (items['recipe_reform'][v.name].results and items['recipe_reform'][v.name].results) or v.results
v.allow_productivity = (items['recipe_reform'][v.name].allow_productivity and items['recipe_reform'][v.name].allow_productivity) or v.allow_productivity
v.energy_required = (items['recipe_reform'][v.name].energy_required and items['recipe_reform'][v.name].energy_required) or v.energy_required v.energy_required = (items['recipe_reform'][v.name].energy_required and items['recipe_reform'][v.name].energy_required) or v.energy_required
elseif items['recipe'][v.name] then elseif items['recipe'][v.name] then