From c41b001ae30a8bcb471afe2f5cd9b87155a2bf36 Mon Sep 17 00:00:00 2001 From: ninruB <38016303+asperger-sind@users.noreply.github.com> Date: Sun, 12 Jun 2022 03:57:02 +0200 Subject: [PATCH] Ore bags! (YAML, RSI) (#8425) * Adding orebags hooray * Adds ore bags to salvage lockers. * no ic in ooc!!!!! (fixed typo) i managed to type ic instead of id in the yaml file, real * deleted the ore bags from cargodrobes, the pr lies!!! * not 100, not 150, should be 200 next, right? WRONG!!! 175!!! * adds orebags to salvage spawn salvage equipment boxes --- .../Catalog/Fills/Crates/salvage.yml | 1 + .../Catalog/Fills/Lockers/cargo.yml | 1 + .../Objects/Specific/Mining/ore_bag.yml | 24 ++++++++++++++++++ .../Mining/ore_bag.rsi/equipped-BELT.png | Bin 0 -> 1000 bytes .../Specific/Mining/ore_bag.rsi/icon.png | Bin 0 -> 1080 bytes .../Specific/Mining/ore_bag.rsi/meta.json | 18 +++++++++++++ 6 files changed, 44 insertions(+) create mode 100644 Resources/Prototypes/Entities/Objects/Specific/Mining/ore_bag.yml create mode 100644 Resources/Textures/Objects/Specific/Mining/ore_bag.rsi/equipped-BELT.png create mode 100644 Resources/Textures/Objects/Specific/Mining/ore_bag.rsi/icon.png create mode 100644 Resources/Textures/Objects/Specific/Mining/ore_bag.rsi/meta.json diff --git a/Resources/Prototypes/Catalog/Fills/Crates/salvage.yml b/Resources/Prototypes/Catalog/Fills/Crates/salvage.yml index d2cc64845d..28d83c2878 100644 --- a/Resources/Prototypes/Catalog/Fills/Crates/salvage.yml +++ b/Resources/Prototypes/Catalog/Fills/Crates/salvage.yml @@ -19,6 +19,7 @@ - id: Crowbar - id: Wirecutter - id: ClothingBeltUtility + - id: OreBag - type: entity id: CrateSalvageAssortedGoodies diff --git a/Resources/Prototypes/Catalog/Fills/Lockers/cargo.yml b/Resources/Prototypes/Catalog/Fills/Lockers/cargo.yml index 1bee62c68b..a777b954d2 100644 --- a/Resources/Prototypes/Catalog/Fills/Lockers/cargo.yml +++ b/Resources/Prototypes/Catalog/Fills/Lockers/cargo.yml @@ -10,6 +10,7 @@ - id: YellowOxygenTank - id: ClothingShoesBootsMag - id: ClothingMaskGasExplorer + - id: OreBag # Currently do not function as 'true' mesons, so they're useless for salvagers. # - id: ClothingEyesGlassesMeson - id: ClothingBeltUtilityFilled diff --git a/Resources/Prototypes/Entities/Objects/Specific/Mining/ore_bag.yml b/Resources/Prototypes/Entities/Objects/Specific/Mining/ore_bag.yml new file mode 100644 index 0000000000..5d786f7502 --- /dev/null +++ b/Resources/Prototypes/Entities/Objects/Specific/Mining/ore_bag.yml @@ -0,0 +1,24 @@ +- type: entity + name: ore bag + id: OreBag + parent: BaseStorageItem + description: A robust bag for salvage specialists and miners alike to carry large amounts of ore. + components: + - type: Sprite + netsync: false + sprite: Objects/Specific/Mining/ore_bag.rsi + state: icon + - type: Clothing + sprite: Objects/Specific/Mining/ore_bag.rsi + QuickEquip: false + Slots: + - belt + size: 175 + - type: Storage + capacity: 175 + quickInsert: true + areaInsert: true + whitelist: + tags: + - Ore + - type: Dumpable diff --git a/Resources/Textures/Objects/Specific/Mining/ore_bag.rsi/equipped-BELT.png b/Resources/Textures/Objects/Specific/Mining/ore_bag.rsi/equipped-BELT.png new file mode 100644 index 0000000000000000000000000000000000000000..1c69c8195b282620ba71edc7d1353ec66265eafb GIT binary patch literal 1000 zcmV>P)EX>4Tx04R}tkv&MmKpe$i(@I5J94u7CAwzYtAS&XhRVYG*P%E_RU~=gfG-*gu zTpR`0f`cE6RRKlt6PRhXP;C4~||&x_-Hi~zx1pjmgE?_i=1k*ElTK)`@Wsg%S!(q3EJ z=MZufE|L4CNt)pIvs}1$`TgE|_v4oL1Bi%-h=_=Yi0I$u7Z%n0!lJtBdGu1q8KSve zlRUh+W~ybqjP=qrT(d z_t9D4n1MH7bInvA-U1m5UIiSqP6H_C|I(BOzLq|Zbn!v$Rhy#c16ROS+46pm>*4{R zIdvVcKRRPOKO!O`A|fIpA|fIpqRDkt4HK*RIklRfyL4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