From 0807d9b600e9dcc85f463966bd989d1cf6950a58 Mon Sep 17 00:00:00 2001 From: protocol_1903 <67478786+protocol-1903@users.noreply.github.com> Date: Sun, 3 May 2026 13:17:36 -0700 Subject: [PATCH] Fixed high tech locomotive fuel icon positioning. Resolves https://github.com/pyanodon/pybugreports/issues/1406 --- changelog.txt | 1 + prototypes/buildings/ht-locomotive/ht-locomotive.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/changelog.txt b/changelog.txt index 3e9c3dc..09e4996 100644 --- a/changelog.txt +++ b/changelog.txt @@ -7,6 +7,7 @@ Date: ??? - Updated German locale courtesy of @Spunk42 - Removed redundant silicon doping recipe names - Fixed that clay pit would sometimes drop items on the ground instead of in containers or on belts. Resolves https://github.com/pyanodon/pybugreports/issues/1366 + - Fixed high tech locomotive fuel icon positioning. Resolves https://github.com/pyanodon/pybugreports/issues/1406 --------------------------------------------------------------------------------------------------- Version: 3.0.18 Date: 2025-12-28 diff --git a/prototypes/buildings/ht-locomotive/ht-locomotive.lua b/prototypes/buildings/ht-locomotive/ht-locomotive.lua index 09549f7..e163703 100644 --- a/prototypes/buildings/ht-locomotive/ht-locomotive.lua +++ b/prototypes/buildings/ht-locomotive/ht-locomotive.lua @@ -48,6 +48,7 @@ ENTITY { selection_box = {{-1, -3}, {1, 3}}, --damaged_trigger_effect = hit_effects.entity(), drawing_box_vertical_extension = data.raw["locomotive"]["locomotive"].drawing_box_vertical_extension, + icons_positioning = {{inventory_index = defines.inventory.fuel, shift = {0, 0.3}, max_icons_per_row = 1}}, alert_icon_shift = util.by_pixel(0, -24), weight = 1000, max_speed = 1.5,