From a96ea2bc84c086d90d86ff8b6f4516bd52d517d2 Mon Sep 17 00:00:00 2001 From: Keer-Sar <144283718+keer-sar@users.noreply.github.com> Date: Sun, 28 Apr 2024 07:04:49 +0200 Subject: [PATCH] Medal case whitelist (#27428) * Create Medal tag and assign tag to medals * Update Resources/Prototypes/tags.yml --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> --- .../Entities/Clothing/Neck/medals.yml | 24 +++++++++++++++++++ .../Entities/Objects/Misc/medalcase.yml | 3 +++ Resources/Prototypes/tags.yml | 3 +++ 3 files changed, 30 insertions(+) diff --git a/Resources/Prototypes/Entities/Clothing/Neck/medals.yml b/Resources/Prototypes/Entities/Clothing/Neck/medals.yml index bdb36f1630..42a25c1e08 100644 --- a/Resources/Prototypes/Entities/Clothing/Neck/medals.yml +++ b/Resources/Prototypes/Entities/Clothing/Neck/medals.yml @@ -9,6 +9,9 @@ sprite: Clothing/Neck/Medals/bronzeheart.rsi - type: Clothing sprite: Clothing/Neck/Medals/bronzeheart.rsi + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -22,6 +25,9 @@ sprite: Clothing/Neck/Medals/gold.rsi - type: StealTarget stealGroup: ClothingNeckGoldmedal + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -33,6 +39,9 @@ sprite: DeltaV/Clothing/Neck/Medals/cargomedal.rsi # DeltaV - resprite - type: Clothing sprite: DeltaV/Clothing/Neck/Medals/cargomedal.rsi # DeltaV - resprite + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -44,6 +53,9 @@ sprite: DeltaV/Clothing/Neck/Medals/engineermedal.rsi # DeltaV - resprite - type: Clothing sprite: DeltaV/Clothing/Neck/Medals/engineermedal.rsi # DeltaV - resprite + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -55,6 +67,9 @@ sprite: DeltaV/Clothing/Neck/Medals/medicalmedal.rsi # DeltaV - resprite - type: Clothing sprite: DeltaV/Clothing/Neck/Medals/medicalmedal.rsi # DeltaV - resprite + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -66,6 +81,9 @@ sprite: DeltaV/Clothing/Neck/Medals/sciencemedal.rsi # DeltaV - resprite - type: Clothing sprite: DeltaV/Clothing/Neck/Medals/sciencemedal.rsi # DeltaV - resprite + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -77,6 +95,9 @@ sprite: DeltaV/Clothing/Neck/Medals/securitymedal.rsi # DeltaV - resprite - type: Clothing sprite: DeltaV/Clothing/Neck/Medals/securitymedal.rsi # DeltaV - resprite + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -90,3 +111,6 @@ sprite: DeltaV/Clothing/Neck/Medals/clownmedal.rsi # DeltaV - resprite - type: StealTarget stealGroup: ClothingNeckClownmedal + - type: Tag + tags: + - Medal diff --git a/Resources/Prototypes/Entities/Objects/Misc/medalcase.yml b/Resources/Prototypes/Entities/Objects/Misc/medalcase.yml index a421c1e9e9..35000b3fba 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/medalcase.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/medalcase.yml @@ -17,6 +17,9 @@ - type: Storage grid: - 0,0,7,1 + whitelist: + tags: + - Medal - type: StorageFill contents: - id: ClothingNeckGoldmedal diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index f544cd95ef..8238bc2d53 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -863,6 +863,9 @@ - type: Tag id: Meat +- type: Tag + id: Medal + - type: Tag id: Medkit