diff --git a/aluminum-recipe-final-stacking.lua b/aluminum-recipe-final-stacking.lua index 02d1e19..9d18ea3 100644 --- a/aluminum-recipe-final-stacking.lua +++ b/aluminum-recipe-final-stacking.lua @@ -11,6 +11,21 @@ if deadlock then deadlock.add_stack("spark-plug", "__bzaluminum__/graphics/icons/stacked/spark-plug-stacked.png" , "deadlock-stacking-2", 128) deadlock.add_stack("aluminum-6061", "__bzaluminum__/graphics/icons/stacked/aluminum-6061-stacked.png" , "deadlock-stacking-2", 128) deadlock.add_stack("aluminum-2219", "__bzaluminum__/graphics/icons/stacked/aluminum-2219-stacked.png" , "deadlock-stacking-3", 128) + deadlock.add_stack("ti-sapphire", "__bzaluminum__/graphics/icons/stacked/ti-sapphire-stacked.png" , "deadlock-stacking-3", 128) + + if mods.Krastorio2 then + util.set_icons("deadlock-stacks-stack-automation-core", { + {icon="__bzaluminum__/graphics/icons/stacked/automation-core-stacked.png", icon_size=64}, + {icon="__deadlock-beltboxes-loaders__/graphics/icons/square/arrow-d-64.png", icon_size=64, scale=.25}, + }) + util.set_icons("deadlock-stacks-unstack-automation-core", { + {icon="__bzaluminum__/graphics/icons/stacked/automation-core-stacked.png", icon_size=64}, + {icon="__deadlock-beltboxes-loaders__/graphics/icons/square/arrow-u-64.png", icon_size=64, scale=.25}, + }) + util.set_item_icons("deadlock-stack-automation-core", { + {icon="__bzaluminum__/graphics/icons/stacked/automation-core-stacked.png", icon_size=64}, + }) + end end -- Deadlock crating recipes @@ -23,5 +38,6 @@ if deadlock_crating then deadlock_crating.add_crate("spark-plug", "deadlock-crating-2") deadlock_crating.add_crate("aluminum-6061", "deadlock-crating-2") deadlock_crating.add_crate("aluminum-2219", "deadlock-crating-3") + deadlock_crating.add_crate("ti-sapphire", "deadlock-crating-3") end diff --git a/data.lua b/data.lua index 58c5924..e95cd1c 100644 --- a/data.lua +++ b/data.lua @@ -5,5 +5,16 @@ require("aluminum-recipe-se") -- Space Exploration -- require("aluminum-compressed") local util = require("data-util"); + +if mods.Krastorio2 then + if data.raw.item["automation-core"] then + data.raw.item["automation-core"].icon = "__bzaluminum__/graphics/icons/automation-core.png" + end + if data.raw.technology["kr-automation-core"] then + data.raw.technology["kr-automation-core"].icon = "__bzaluminum__/graphics/technology/automation-core.png" + end +end + + -- Must be last util.create_list() diff --git a/graphics/icons/automation-core.png b/graphics/icons/automation-core.png new file mode 100644 index 0000000..c757397 Binary files /dev/null and b/graphics/icons/automation-core.png differ diff --git a/graphics/icons/automation-core.xcf b/graphics/icons/automation-core.xcf new file mode 100644 index 0000000..49945ca Binary files /dev/null and b/graphics/icons/automation-core.xcf differ diff --git a/graphics/icons/stacked/automation-core-stacked.png b/graphics/icons/stacked/automation-core-stacked.png new file mode 100644 index 0000000..5c3f3c1 Binary files /dev/null and b/graphics/icons/stacked/automation-core-stacked.png differ diff --git a/graphics/icons/stacked/automation-core-stacked.xcf b/graphics/icons/stacked/automation-core-stacked.xcf new file mode 100644 index 0000000..75dc656 Binary files /dev/null and b/graphics/icons/stacked/automation-core-stacked.xcf differ diff --git a/graphics/technology/automation-core.png b/graphics/technology/automation-core.png new file mode 100644 index 0000000..984f0d6 Binary files /dev/null and b/graphics/technology/automation-core.png differ diff --git a/graphics/technology/automation-core.xcf b/graphics/technology/automation-core.xcf new file mode 100644 index 0000000..c622ce3 Binary files /dev/null and b/graphics/technology/automation-core.xcf differ