Compare commits
2 commits
3120cb7ea2
...
eedef2d317
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eedef2d317 | ||
|
|
d134d735f9 |
2 changed files with 3 additions and 3 deletions
|
|
@ -855,8 +855,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier)
|
|||
end
|
||||
util.remove_prior_unlocks(tech, old)
|
||||
for i, recipe in pairs(data.raw.recipe) do
|
||||
if (recipe.enabled and recipe.enabled ~= 'false')
|
||||
and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes
|
||||
if (recipe.enabled and recipe.enabled ~= false)
|
||||
and (not recipe.hidden or recipe.hidden == true) -- probably don't want to change hidden recipes
|
||||
and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
|
||||
then
|
||||
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
||||
|
|
|
|||
|
|
@ -321,7 +321,7 @@ data:extend({
|
|||
order = "a",
|
||||
enabled = false,
|
||||
energy_required = 8,
|
||||
ingredients = {{type="item", name="sodium-aluminate", amount=5},(data.raw.fluid["gas"] and {type="item", name="silica", amount=5}) or {type="item", name="stone", amount=5}, {type="fluid", name="water", amount=100}},
|
||||
ingredients = {{type="item", name="sodium-aluminate", amount=5},(data.raw.item["silica"] and {type="item", name="silica", amount=5}) or {type="item", name="stone", amount=5}, {type="fluid", name="water", amount=100}},
|
||||
results = {{type="item", name="zeolite", amount=10}},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue