modmash splinter subspace
This commit is contained in:
parent
b0ef7a3d50
commit
634e7f6d8d
2 changed files with 57 additions and 0 deletions
|
@ -3,6 +3,8 @@ Version: 0.0.9
|
|||
Date: 2022-12-30
|
||||
Changes:
|
||||
- K2: Final advanced circuit recipe is faster now
|
||||
Fixes:
|
||||
- ModMash Splinter Subspace Logistics compatibility fix
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.0.8
|
||||
Date: 2022-12-29
|
||||
|
|
|
@ -13,6 +13,61 @@ if mods["space-exploration"] then
|
|||
util.add_to_product("se-core-fragment-omni", "salt", -5)
|
||||
end
|
||||
|
||||
if mods.modmashsplintersubspacelogistics then
|
||||
for i, item in pairs({"salt"}) do
|
||||
if data.raw.item["super-container-for-"..item] then
|
||||
for i, icon in pairs(data.raw.item["super-container-for-"..item].icons) do
|
||||
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
|
||||
if data.raw.recipe["modmash-supermaterial-to-"..item] then
|
||||
for i, icon in pairs(data.raw.recipe["modmash-supermaterial-to-"..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
|
||||
if string.find(technology.name, "containment") or string.find(technology.name, "supermaterial") 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