From 65ad3ad7f77fb293c94bdee85afd9a6d72dde3de Mon Sep 17 00:00:00 2001 From: Zenon Seth Date: Thu, 21 Mar 2024 17:14:18 +0000 Subject: [PATCH] Rename item storage node to Tool Chest; adjust textures --- api/item_storage.lua | 2 +- registration/machines_api_reg.lua | 14 +++++++------- ...box_back.png => logistica_tool_chest_back.png} | Bin ...bottom.png => logistica_tool_chest_bottom.png} | Bin ...x_front.png => logistica_tool_chest_front.png} | Bin ...box_side.png => logistica_tool_chest_side.png} | Bin ...l_box_top.png => logistica_tool_chest_top.png} | Bin 7 files changed, 8 insertions(+), 8 deletions(-) rename textures/{logistica_tool_box_back.png => logistica_tool_chest_back.png} (100%) rename textures/{logistica_tool_box_bottom.png => logistica_tool_chest_bottom.png} (100%) rename textures/{logistica_tool_box_front.png => logistica_tool_chest_front.png} (100%) rename textures/{logistica_tool_box_side.png => logistica_tool_chest_side.png} (100%) rename textures/{logistica_tool_box_top.png => logistica_tool_chest_top.png} (100%) diff --git a/api/item_storage.lua b/api/item_storage.lua index b033197..032a03c 100644 --- a/api/item_storage.lua +++ b/api/item_storage.lua @@ -19,7 +19,7 @@ local function get_item_storage_formspec(pos) return "formspec_version[4]" .. "size["..logistica.inv_size(20.5, 16.25).."]" .. logistica.ui.background.. - "label[5.3,10.6;"..S("Tool Box: Accepts only tools, no stackable items").."]".. + "label[5.3,10.6;"..S("Tool Chest: Accepts only tools, no stackable items").."]".. -- logistica.ui.on_off_btn(isOn, 16.0, 11.0, ON_OFF_BUTTON, S("Allow Storing from Network")).. "dropdown["..(logistica.inv_width + 8)..",12;2,0.8;"..SORT_PICKER..";"..sortValues..";"..selectedSortIdx..";false]".. "button["..(logistica.inv_width + 10.5)..",12;1,0.8;"..SORT_BUTTON..";"..S("Sort").."]".. diff --git a/registration/machines_api_reg.lua b/registration/machines_api_reg.lua index 41bb17d..9475211 100644 --- a/registration/machines_api_reg.lua +++ b/registration/machines_api_reg.lua @@ -158,13 +158,13 @@ logistica.register_injector("Fast Network Importer\nImports 99 items at a time", -- Item Storage -------------------------------- -logistica.register_item_storage("Tool Box\nStores Tools Only", "item_storage", { - "logistica_tool_box_top.png", - "logistica_tool_box_bottom.png", - "logistica_tool_box_side.png^[transformFX", - "logistica_tool_box_side.png", - "logistica_tool_box_back.png", - "logistica_tool_box_front.png", +logistica.register_item_storage("Tool Chest\nStores Tools Only", "item_storage", { + "logistica_tool_chest_top.png", + "logistica_tool_chest_bottom.png", + "logistica_tool_chest_side.png^[transformFX", + "logistica_tool_chest_side.png", + "logistica_tool_chest_back.png", + "logistica_tool_chest_front.png", }) -------------------------------- diff --git a/textures/logistica_tool_box_back.png b/textures/logistica_tool_chest_back.png similarity index 100% rename from textures/logistica_tool_box_back.png rename to textures/logistica_tool_chest_back.png diff --git a/textures/logistica_tool_box_bottom.png b/textures/logistica_tool_chest_bottom.png similarity index 100% rename from textures/logistica_tool_box_bottom.png rename to textures/logistica_tool_chest_bottom.png diff --git a/textures/logistica_tool_box_front.png b/textures/logistica_tool_chest_front.png similarity index 100% rename from textures/logistica_tool_box_front.png rename to textures/logistica_tool_chest_front.png diff --git a/textures/logistica_tool_box_side.png b/textures/logistica_tool_chest_side.png similarity index 100% rename from textures/logistica_tool_box_side.png rename to textures/logistica_tool_chest_side.png diff --git a/textures/logistica_tool_box_top.png b/textures/logistica_tool_chest_top.png similarity index 100% rename from textures/logistica_tool_box_top.png rename to textures/logistica_tool_chest_top.png