diff --git a/SeaBlock/changelog.txt b/SeaBlock/changelog.txt index 2dc1cf0..cc8872a 100644 --- a/SeaBlock/changelog.txt +++ b/SeaBlock/changelog.txt @@ -19,6 +19,7 @@ Date: ??.??.?? - Remove underused items/fluids #334 - Hid crushed stone. Use stone instead. Ratios will all stay the same - Hid liquid fuel. Enriched fuel is now made directly from fuel oil plus residual gas + - Changed recipe icon for Slag 1 and Slag 2 #335 Bugfixes: - Fixed tech steam-power missing a locale in some mod configurations #332 --------------------------------------------------------------------------------------------------- diff --git a/SeaBlock/data-updates/slag-processing.lua b/SeaBlock/data-updates/slag-processing.lua index bdeaada..353d54a 100644 --- a/SeaBlock/data-updates/slag-processing.lua +++ b/SeaBlock/data-updates/slag-processing.lua @@ -120,3 +120,9 @@ for _, v in pairs({ }) do seablock.lib.substresult(v, "slag", nil, 2) end + +-- Change the recipe icon for Dirt water electrolysis to show slag icon +data.raw.recipe["dirt-water-separation"].icons = angelsmods.functions.add_number_icon_layer( + angelsmods.functions.get_object_icons("slag"), 1, angelsmods.petrochem.number_tint) +data.raw.recipe["dirt-water-separation-2"].icons = angelsmods.functions.add_number_icon_layer( + angelsmods.functions.get_object_icons("slag"), 2, angelsmods.petrochem.number_tint)