From 98f966ebb514c5e04a499b6085f34c3f2a77ff33 Mon Sep 17 00:00:00 2001 From: Brevven Date: Wed, 31 Aug 2022 20:56:19 -0700 Subject: [PATCH] icon fix --- changelog.txt | 1 + prototypes/basic-chemical-plant.lua | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/changelog.txt b/changelog.txt index c20112b..8150e5f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Version: 0.1.1 Date: 2022-09-01 Changes: + - Fix basic chem plant icon in upgrade planner, etc - When coke is present, alternate phenol recipe now 12 energy instead of 15. - Minor recipe unlock tweaks --------------------------------------------------------------------------------------------------- diff --git a/prototypes/basic-chemical-plant.lua b/prototypes/basic-chemical-plant.lua index d236671..e45b76b 100644 --- a/prototypes/basic-chemical-plant.lua +++ b/prototypes/basic-chemical-plant.lua @@ -28,6 +28,7 @@ plant_i.name = "basic-chemical-plant" plant_i.place_result = "basic-chemical-plant" plant_i.icon = nil plant_i.icon_size = nil +plant_i.icon_mipmaps = nil plant_i.icons = { {icon="__base__/graphics/icons/chemical-plant.png", icon_size=64}, {icon="__bzgas__/graphics/icons/chemical-plant-overlay.png", icon_size=64}, @@ -55,6 +56,13 @@ plant_e.animation.east.layers[1].hr_version.filename="__bzgas__/graphics/entity/ plant_e.animation.west.layers[1].filename="__bzgas__/graphics/entity/chemical-plant.png" plant_e.animation.west.layers[1].hr_version.filename="__bzgas__/graphics/entity/hr-chemical-plant.png" plant_e.next_upgrade="chemical-plant" +plant_e.icon = nil +plant_e.icon_size = nil +plant_e.icon_mipmaps = nil +plant_e.icons = { + {icon="__base__/graphics/icons/chemical-plant.png", icon_size=64}, + {icon="__bzgas__/graphics/icons/chemical-plant-overlay.png", icon_size=64}, +} plant_e.energy_source = { type = "burner",