mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 13:56:20 +09:00
.
This commit is contained in:
@@ -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'] = {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user