stacking, landfill, modmash
This commit is contained in:
parent
2fe3190059
commit
3aa1cd0128
5 changed files with 60 additions and 1 deletions
|
|
@ -123,5 +123,52 @@ if not mods.bzaluminum then
|
|||
util.replace_ingredients_prior_to("electronics", "electronic-circuit", "copper-cable", 2)
|
||||
end
|
||||
|
||||
if mods.modmashsplintersubspacelogistics then
|
||||
for i, item in pairs({"graphite", "diamond"}) do
|
||||
if data.raw.item["super-container-for-"..item] then
|
||||
for i, icon in pairs(data.raw.item["super-container-for-"..item].icons) do
|
||||
log(serpent.dump(icon))
|
||||
if string.find(icon.icon, item) then
|
||||
icon.size = 128
|
||||
icon.scale = icon.scale / 2
|
||||
icon.icon_scale = icon.icon_scale / 2
|
||||
end
|
||||
end
|
||||
end
|
||||
if data.raw.recipe["super-container-for-"..item] then
|
||||
for i, icon in pairs(data.raw.recipe["super-container-for-"..item].icons) do
|
||||
if string.find(icon.icon, item) then
|
||||
icon.size = 128
|
||||
icon.scale = icon.scale / 4
|
||||
icon.icon_scale = icon.icon_scale / 4
|
||||
end
|
||||
end
|
||||
end
|
||||
if data.raw.recipe["empty-super-container-of-"..item] then
|
||||
for i, icon in pairs(data.raw.recipe["empty-super-container-of-"..item].icons) do
|
||||
if string.find(icon.icon, item) then
|
||||
icon.size = 128
|
||||
icon.scale = icon.scale / 4
|
||||
icon.icon_scale = icon.icon_scale / 4
|
||||
end
|
||||
end
|
||||
end
|
||||
for i, technology in pairs(data.raw.technology) do
|
||||
log(technology.name)
|
||||
if string.find(technology.name, "containment") then
|
||||
if technology.icons then
|
||||
for j, icon in pairs(technology.icons) do
|
||||
if string.find(icon.icon, item) then
|
||||
icon.size = 128
|
||||
icon.scale = icon.scale / 8
|
||||
icon.icon_scale = icon.icon_scale / 8
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Must be last
|
||||
util.create_list()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue