Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4952e2620 | ||
|
|
1cee258d56 |
2 changed files with 3 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ data:extend({
|
||||||
icons = (util.k2() and
|
icons = (util.k2() and
|
||||||
{
|
{
|
||||||
{ icon = "__bzcarbon2__/graphics/icons/graphite.png", icon_size = 128},
|
{ icon = "__bzcarbon2__/graphics/icons/graphite.png", icon_size = 128},
|
||||||
{ icon = "__bzcarbon2__/graphics/icons/flake-graphite.png", icon_size = 128, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}},
|
{ icon = "__bzcarbon2__/graphics/icons/flake-graphite.png", icon_size = 128, icon_mipmaps = 3, scale=0.125, shift= {-8, -8}},
|
||||||
} or nil),
|
} or nil),
|
||||||
-- normal = (util.k2() and
|
-- normal = (util.k2() and
|
||||||
-- {
|
-- {
|
||||||
|
|
|
||||||
|
|
@ -1748,8 +1748,8 @@ function util.replace_ingredients_prior_to(tech, old, new, multiplier)
|
||||||
end
|
end
|
||||||
util.remove_prior_unlocks(tech, old)
|
util.remove_prior_unlocks(tech, old)
|
||||||
for i, recipe in pairs(data.raw.recipe) do
|
for i, recipe in pairs(data.raw.recipe) do
|
||||||
if (recipe.enabled and recipe.enabled ~= 'false')
|
if (recipe.enabled and recipe.enabled ~= false)
|
||||||
and (not recipe.hidden or recipe.hidden == 'true') -- probably don't want to change hidden recipes
|
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 :(
|
and string.sub(recipe.name, 1, 3) ~= 'se-' -- have to exlude SE in general :(
|
||||||
then
|
then
|
||||||
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
-- log("BZZZ due to 'enabled' replacing " .. old .. " with " .. new .." in " .. recipe.name) -- Handy Debug :|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue