From dd12ed4481c5cf5fc969eeab15316628b6eda0ee Mon Sep 17 00:00:00 2001 From: Brevven Date: Wed, 13 Jul 2022 02:24:11 -0700 Subject: [PATCH] recipe icons k2 --- aluminum-recipe.lua | 8 ++++++++ changelog.txt | 7 ++++++- info.json | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/aluminum-recipe.lua b/aluminum-recipe.lua index 74c7819..38ef47c 100644 --- a/aluminum-recipe.lua +++ b/aluminum-recipe.lua @@ -222,6 +222,10 @@ if mods.Krastorio2 then hide_from_player_crafting = true, ingredients = {{"aluminum-ore", 4}}, results = {{"aluminum-cable", 1}}, + icons = { + {icon = "__bzaluminum__/graphics/icons/aluminum-cable.png", icon_size = 64, icon_mipmaps = 4}, + {icon = "__bzaluminum__/graphics/icons/aluminum-ore.png", icon_size = 64, icon_mipmaps = 3, scale=0.25, shift= {-8, -8}}, + }, }, { type = "recipe", @@ -234,6 +238,10 @@ if mods.Krastorio2 then hide_from_player_crafting = true, ingredients = {{"enriched-aluminum", 2}}, results = {{"aluminum-cable", 1}}, + icons = { + {icon = "__bzaluminum__/graphics/icons/aluminum-cable.png", icon_size = 64, icon_mipmaps = 4}, + {icon = "__bzaluminum__/graphics/icons/enriched-aluminum.png", icon_size = 128, scale=0.125, shift= {-8, -8}}, + }, }, }) util.add_effect("kr-automation", { type = "unlock-recipe", recipe = "aluminum-cable-s-c" }) diff --git a/changelog.txt b/changelog.txt index 42b26f8..dc5e735 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,7 +1,12 @@ --------------------------------------------------------------------------------------------------- +Version: 0.3.12 +Date: 2022-07-14 + Fixes: + - K2: Fix advanced crafting icons +--------------------------------------------------------------------------------------------------- Version: 0.3.11 Date: 2022-07-11 - Changes: + Fixes: - SE: Fix rocket silo recipe --------------------------------------------------------------------------------------------------- Version: 0.3.10 diff --git a/info.json b/info.json index a0bf8ba..e058bf6 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "bzaluminum", - "version": "0.3.11", + "version": "0.3.12", "factorio_version": "1.1", "title": "Aluminum", "author": "Brevven",