From 09e2c8321ecae9e5ced024df26f2a7bd0f8a5e67 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Wed, 19 Mar 2025 14:18:32 +0900 Subject: [PATCH] . --- PHI-CL/data.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index d3123c6..08b2a0a 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -1405,11 +1405,15 @@ if settings.startup['PHI-CT'].value then entity.localised_name = {'phi-cl.combine', {'entity-name.' .. v}, '(II)'} entity.localised_description = {'entity-description.' .. v} - for _, st in pairs(entity.structure) do - st.sheet.filename = items['general']['graphics_location'] .. v .. '.png' + for _, st in pairs({'direction_in', 'direction_out', 'direction_in_side_loading', 'direction_out_side_loading'}) do + entity[st].sheet.filename = items['general']['graphics_location'] .. v .. '.png' + entity[st].sheet.width = 106 + entity[st].sheet.height = 85 end - entity.structure.direction_in_side_loading.sheet.y = 192 + entity.structure.direction_in.sheet.y = 85 + entity.structure.direction_out.sheet.y = nil + entity.structure.direction_in_side_loading.sheet.y = 85 entity.structure.direction_out_side_loading.sheet.y = nil data:extend({entity})