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/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/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 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