From 6d4e3628b7476d18f6d6d025b0a644cc77fd64a0 Mon Sep 17 00:00:00 2001 From: Checkraze <71046427+Cheackraze@users.noreply.github.com> Date: Sat, 14 Jan 2023 13:32:00 -0500 Subject: [PATCH] Textile crate (#12801) --- .../prototypes/catalog/cargo/cargo-materials.ftl | 3 +++ .../catalog/fills/crates/materials-crates.ftl | 3 +++ .../Prototypes/Catalog/Cargo/cargo_materials.yml | 10 ++++++++++ .../Prototypes/Catalog/Fills/Crates/materials.yml | 11 +++++++++++ 4 files changed, 27 insertions(+) diff --git a/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-materials.ftl b/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-materials.ftl index 4b85265a2e..46a3131135 100644 --- a/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-materials.ftl +++ b/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-materials.ftl @@ -4,6 +4,9 @@ ent-MaterialGlass = { ent-CrateMaterialGlass } ent-MaterialSteel = { ent-CrateMaterialSteel } .desc = { ent-CrateMaterialSteel.desc } +ent-MaterialTextiles = { ent-CrateMaterialTextiles } + .desc = { ent-CrateMaterialTextiles.desc } + ent-MaterialPlastic = { ent-CrateMaterialPlastic } .desc = { ent-CrateMaterialPlastic.desc } diff --git a/Resources/Locale/en-US/prototypes/catalog/fills/crates/materials-crates.ftl b/Resources/Locale/en-US/prototypes/catalog/fills/crates/materials-crates.ftl index b22b413b8f..2477e9a532 100644 --- a/Resources/Locale/en-US/prototypes/catalog/fills/crates/materials-crates.ftl +++ b/Resources/Locale/en-US/prototypes/catalog/fills/crates/materials-crates.ftl @@ -4,6 +4,9 @@ ent-CrateMaterialGlass = Glass sheet crate ent-CrateMaterialSteel = Steel sheet crate .desc = 90 sheets of steel. +ent-CrateMaterialTextiles = Textiles crate + .desc = 60 pieces of cloth and 30 pieces of durathread. + ent-CrateMaterialPlastic = Plastic sheet crate .desc = 90 sheets of plastic. diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_materials.yml b/Resources/Prototypes/Catalog/Cargo/cargo_materials.yml index fed28b0ef9..36953b3abc 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_materials.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_materials.yml @@ -38,6 +38,16 @@ category: Materials group: market +- type: cargoProduct + id: MaterialTextiles + icon: + sprite: Objects/Materials/materials.rsi + state: cloth_3 + product: CrateMaterialTextiles + cost: 1000 + category: Materials + group: market + - type: cargoProduct id: MaterialPlasma icon: diff --git a/Resources/Prototypes/Catalog/Fills/Crates/materials.yml b/Resources/Prototypes/Catalog/Fills/Crates/materials.yml index f80e1951e4..69aa37df88 100644 --- a/Resources/Prototypes/Catalog/Fills/Crates/materials.yml +++ b/Resources/Prototypes/Catalog/Fills/Crates/materials.yml @@ -16,6 +16,17 @@ - id: SheetSteel amount: 3 +- type: entity + id: CrateMaterialTextiles + parent: CrateGenericSteel + components: + - type: StorageFill + contents: + - id: MaterialCloth + amount: 2 + - id: MaterialDurathread + amount: 1 + - type: entity id: CrateMaterialPlastic parent: CrateGenericSteel