From 6c4d37af973e79c025399208462009038c008fd5 Mon Sep 17 00:00:00 2001 From: Spunk42 Date: Sun, 15 Feb 2026 23:52:17 +0100 Subject: [PATCH] reorder logistic-containers like base game --- prototypes/buildings/containers/deposit.lua | 2 +- prototypes/buildings/containers/shed.lua | 2 +- prototypes/buildings/containers/storehouse.lua | 2 +- prototypes/buildings/containers/warehouse.lua | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/prototypes/buildings/containers/deposit.lua b/prototypes/buildings/containers/deposit.lua index 22abdb1..00075d3 100644 --- a/prototypes/buildings/containers/deposit.lua +++ b/prototypes/buildings/containers/deposit.lua @@ -80,7 +80,7 @@ local function define_deposit(name, logistics_name) icon_size = 64, flags = {}, subgroup = "py-containers-deposit", - order = entity_type .. "[" .. full_name .. "]", + order = entity_type .. ((name == "buffer" and "-d") or (name == "requester" and "-e") or "-c") .. "[" .. full_name .. "]", place_result = full_name, stack_size = 10 } diff --git a/prototypes/buildings/containers/shed.lua b/prototypes/buildings/containers/shed.lua index fe1551c..317d21f 100644 --- a/prototypes/buildings/containers/shed.lua +++ b/prototypes/buildings/containers/shed.lua @@ -80,7 +80,7 @@ local function define_shed(name, logistics_name) icon_size = 64, flags = {}, subgroup = "py-containers-shed", - order = entity_type .. "[" .. full_name .. "]", + order = entity_type .. ((name == "buffer" and "-d") or (name == "requester" and "-e") or "-c") .. "[" .. full_name .. "]", place_result = full_name, stack_size = 10 } diff --git a/prototypes/buildings/containers/storehouse.lua b/prototypes/buildings/containers/storehouse.lua index 4ec499a..ac7b96f 100644 --- a/prototypes/buildings/containers/storehouse.lua +++ b/prototypes/buildings/containers/storehouse.lua @@ -80,7 +80,7 @@ local function define_storehouse(name, logistics_name) icon_size = 64, flags = {}, subgroup = "py-containers-storehouse", - order = entity_type .. "[" .. full_name .. "]", + order = entity_type .. ((name == "buffer" and "-d") or (name == "requester" and "-e") or "-c") .. "[" .. full_name .. "]", place_result = full_name, stack_size = 10 } diff --git a/prototypes/buildings/containers/warehouse.lua b/prototypes/buildings/containers/warehouse.lua index 9370106..b271242 100644 --- a/prototypes/buildings/containers/warehouse.lua +++ b/prototypes/buildings/containers/warehouse.lua @@ -80,7 +80,7 @@ local function define_warehouse(name, logistics_name) icon_size = 64, flags = {}, subgroup = "py-containers-warehouse", - order = entity_type .. "[" .. full_name .. "]", + order = entity_type .. ((name == "buffer" and "-d") or (name == "requester" and "-e") or "-c") .. "[" .. full_name .. "]", place_result = full_name, stack_size = 10 }