Compare commits
2 commits
02fb6a5853
...
4f571d801b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f571d801b | ||
|
|
d695f84c5d |
2 changed files with 4 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 :|
|
||||
|
|
|
|||
|
|
@ -294,7 +294,8 @@ if mods["bzgas2"] then
|
|||
{
|
||||
type = "recipe",
|
||||
name = "argon-extraction",
|
||||
category = "chemistry",
|
||||
localised_name = { "fluid-name.argon" },
|
||||
category = data.raw["recipe-category"]["basic-chemistry"] and "basic-chemistry" or "chemistry",
|
||||
icons = (mods["Krastorio2"] and
|
||||
{
|
||||
{ icon = "__GasGasGases2__/graphics/icons/argon.png", icon_size = 64},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue