From 40d8b4ebe7c024e34583c900f6b32b95d01a5e0a Mon Sep 17 00:00:00 2001 From: Ledniky Date: Sat, 8 Aug 2026 12:16:27 +0300 Subject: [PATCH 1/2] addMaterialBag --- .../entities/objects/specific/bags/ore_bag.ftl | 2 ++ .../Object/Specific/bags/material_bag.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 Resources/Locale/ru-RU/_Art/prototypes/entities/objects/specific/bags/ore_bag.ftl create mode 100644 Resources/Prototypes/_Art/Entities/Object/Specific/bags/material_bag.yml diff --git a/Resources/Locale/ru-RU/_Art/prototypes/entities/objects/specific/bags/ore_bag.ftl b/Resources/Locale/ru-RU/_Art/prototypes/entities/objects/specific/bags/ore_bag.ftl new file mode 100644 index 0000000000..75f895276a --- /dev/null +++ b/Resources/Locale/ru-RU/_Art/prototypes/entities/objects/specific/bags/ore_bag.ftl @@ -0,0 +1,2 @@ +ent-OreBag = сумка для материалов + .desc = Прочная сумка для специалистов по утилизации и шахтёров для переноски больших объёмов материалов. Примагничивает близлежащие материалы, если закрепить на поясе. diff --git a/Resources/Prototypes/_Art/Entities/Object/Specific/bags/material_bag.yml b/Resources/Prototypes/_Art/Entities/Object/Specific/bags/material_bag.yml new file mode 100644 index 0000000000..0def55818b --- /dev/null +++ b/Resources/Prototypes/_Art/Entities/Object/Specific/bags/material_bag.yml @@ -0,0 +1,15 @@ +- type: entity + name: material bag + id: MaterialBag + parent: OreBag + description: A robust bag for salvage specialists and miners alike to carry large amounts of material. Magnetises any nearby materials when attached to a belt. + components: + - type: Storage + maxItemSize: Normal + grid: + - 0,0,9,3 + quickInsert: true + areaInsert: true + whitelist: + tags: + - ConstructionMaterial From 86b674040c1a0cb5ebf2929787fac584fe16c9e4 Mon Sep 17 00:00:00 2001 From: Ledniky Date: Sun, 9 Aug 2026 11:33:25 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=20=D0=BF=D1=80=D0=BE=D0=B4=D1=83=D0=BA=D1=82=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D0=BF=D0=BE=D0=BA=D1=83=D0=BF=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Prototypes/_Art/Catalog/Cargo/cargo_cargo.yml | 9 +++++++++ .../Prototypes/_Art/Catalog/Fills/Crates/cargo.yml | 13 +++++++++++++ .../Entities/Object/Specific/bags/material_bag.yml | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/_Art/Catalog/Cargo/cargo_cargo.yml create mode 100644 Resources/Prototypes/_Art/Catalog/Fills/Crates/cargo.yml diff --git a/Resources/Prototypes/_Art/Catalog/Cargo/cargo_cargo.yml b/Resources/Prototypes/_Art/Catalog/Cargo/cargo_cargo.yml new file mode 100644 index 0000000000..dd9fbae734 --- /dev/null +++ b/Resources/Prototypes/_Art/Catalog/Cargo/cargo_cargo.yml @@ -0,0 +1,9 @@ +- type: cargoProduct + id: CargoCrateMaterialsBags + icon: + sprite: /Textures/Structures/Storage/orebox.rsi + state: icon + product: CrateCargoMaterialsBags + cost: 1200 + category: cargoproduct-category-name-cargo + group: market \ No newline at end of file diff --git a/Resources/Prototypes/_Art/Catalog/Fills/Crates/cargo.yml b/Resources/Prototypes/_Art/Catalog/Fills/Crates/cargo.yml new file mode 100644 index 0000000000..8ee0ef7412 --- /dev/null +++ b/Resources/Prototypes/_Art/Catalog/Fills/Crates/cargo.yml @@ -0,0 +1,13 @@ +- type: entity + parent: CratePirate + id: CrateCargoMaterialsBags + name: luxury material bag crate + description: Contains 3 bags for materials. + components: + - type: EntityTableContainerFill + containers: + entity_storage: !type:AllSelector + children: + - id: MaterialBag + - id: MaterialBag + - id: MaterialBag diff --git a/Resources/Prototypes/_Art/Entities/Object/Specific/bags/material_bag.yml b/Resources/Prototypes/_Art/Entities/Object/Specific/bags/material_bag.yml index 0def55818b..e803929b54 100644 --- a/Resources/Prototypes/_Art/Entities/Object/Specific/bags/material_bag.yml +++ b/Resources/Prototypes/_Art/Entities/Object/Specific/bags/material_bag.yml @@ -6,7 +6,7 @@ components: - type: Storage maxItemSize: Normal - grid: + grid: - 0,0,9,3 quickInsert: true areaInsert: true