From 66bf39d7d41d6b7ecc6725cfe0b9e0a715b62d1d Mon Sep 17 00:00:00 2001 From: Ledniky Date: Sat, 8 Aug 2026 11:52:37 +0300 Subject: [PATCH 1/2] addMaterialBox --- .../entities/structures/storage/material_box.ftl | 2 ++ .../Entities/Structures/Storege/material_box.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 Resources/Locale/ru-RU/_Art/prototypes/entities/structures/storage/material_box.ftl create mode 100644 Resources/Prototypes/_Art/Entities/Structures/Storege/material_box.yml diff --git a/Resources/Locale/ru-RU/_Art/prototypes/entities/structures/storage/material_box.ftl b/Resources/Locale/ru-RU/_Art/prototypes/entities/structures/storage/material_box.ftl new file mode 100644 index 0000000000..ef1d67418b --- /dev/null +++ b/Resources/Locale/ru-RU/_Art/prototypes/entities/structures/storage/material_box.ftl @@ -0,0 +1,2 @@ +ent-OreBox = ящик для материалов + .desc = Большой контейнер для хранения строительных материалов. diff --git a/Resources/Prototypes/_Art/Entities/Structures/Storege/material_box.yml b/Resources/Prototypes/_Art/Entities/Structures/Storege/material_box.yml new file mode 100644 index 0000000000..01a6acdf07 --- /dev/null +++ b/Resources/Prototypes/_Art/Entities/Structures/Storege/material_box.yml @@ -0,0 +1,15 @@ +- type: entity + id: MaterialBox + name: material box + description: A large storage container for holding construction material. + parent: OreBox + components: + - type: Storage + grid: + - 0,0,19,9 + maxItemSize: Normal + storageOpenSound: /Audio/Effects/closetopen.ogg + storageCloseSound: /Audio/Effects/closetclose.ogg + whitelist: + tags: + - ConstructionMaterial From c85707ca92b9e5f43f71315e3082f2d581bfb78d Mon Sep 17 00:00:00 2001 From: Ledniky Date: Sun, 9 Aug 2026 10:27:50 +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=BA=D1=80=D0=B0=D1=84=D1=82=20=D0=B8=20=D0=BF=D0=BE=D0=BA?= =?UTF-8?q?=D1=83=D0=BF=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Prototypes/_Art/Catalog/Cargo/cargo_cargo.yml | 8 ++++++++ .../Construction/Graphs/material_box_graph.yml | 14 ++++++++++++++ .../Construction/material_box_construction.yml | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 Resources/Prototypes/_Art/Catalog/Cargo/cargo_cargo.yml create mode 100644 Resources/Prototypes/_Art/Recipes/Construction/Graphs/material_box_graph.yml create mode 100644 Resources/Prototypes/_Art/Recipes/Construction/material_box_construction.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..1f9f9b915a --- /dev/null +++ b/Resources/Prototypes/_Art/Catalog/Cargo/cargo_cargo.yml @@ -0,0 +1,8 @@ +- type: cargoProduct + id: CargoMaterialBox + icon: + sprite: /Textures/Structures/Storage/orebox.rsi + state: orebox + cost: 300 + category: cargoproduct-category-name-cargo + group: market \ No newline at end of file diff --git a/Resources/Prototypes/_Art/Recipes/Construction/Graphs/material_box_graph.yml b/Resources/Prototypes/_Art/Recipes/Construction/Graphs/material_box_graph.yml new file mode 100644 index 0000000000..38a26076d1 --- /dev/null +++ b/Resources/Prototypes/_Art/Recipes/Construction/Graphs/material_box_graph.yml @@ -0,0 +1,14 @@ +- type: constructionGraph + id: MaterialBoxGraph + start: start + graph: + - node: start + edges: + - to: material_box + steps: + - material: Steel + amount: 7 + doAfter: 1 + + - node: material_box + entity: MaterialBox \ No newline at end of file diff --git a/Resources/Prototypes/_Art/Recipes/Construction/material_box_construction.yml b/Resources/Prototypes/_Art/Recipes/Construction/material_box_construction.yml new file mode 100644 index 0000000000..6e2c7a1f87 --- /dev/null +++ b/Resources/Prototypes/_Art/Recipes/Construction/material_box_construction.yml @@ -0,0 +1,11 @@ +- type: construction + id: MaterialBox + graph: MaterialBoxGraph + startNode: start + targetNode: material_box + category: construction-category-storage + objectType: Structure + placementMode: SnapgridCenter + canBuildInImpassable: false + conditions: + - !type:TileNotBlocked \ No newline at end of file