Skip to content

Commit

Permalink
Slag 1 & 2 recipe icons #335
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiHawk committed Sep 7, 2024
1 parent 94f1e0e commit d646a86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions SeaBlock/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------------------------------------------------------------------------------------------
Expand Down
6 changes: 6 additions & 0 deletions SeaBlock/data-updates/slag-processing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit d646a86

Please sign in to comment.