From: Keer-Sar <144283718+Keer-Sar@users.noreply.github.com> Date: Sun, 28 Apr 2024 05:04:49 +0000 (-0400) Subject: Medal case whitelist (#27428) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=9f747485e9b9aaab313f59ea15f33533d98b993e;p=space-station-14.git 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> --- diff --git a/Resources/Prototypes/Entities/Clothing/Neck/medals.yml b/Resources/Prototypes/Entities/Clothing/Neck/medals.yml index 4d3746aad3..031fcb9988 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: Clothing/Neck/Medals/cargomedal.rsi - type: Clothing sprite: Clothing/Neck/Medals/cargomedal.rsi + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -44,6 +53,9 @@ sprite: Clothing/Neck/Medals/engineermedal.rsi - type: Clothing sprite: Clothing/Neck/Medals/engineermedal.rsi + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -55,6 +67,9 @@ sprite: Clothing/Neck/Medals/medicalmedal.rsi - type: Clothing sprite: Clothing/Neck/Medals/medicalmedal.rsi + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -66,6 +81,9 @@ sprite: Clothing/Neck/Medals/sciencemedal.rsi - type: Clothing sprite: Clothing/Neck/Medals/sciencemedal.rsi + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -77,6 +95,9 @@ sprite: Clothing/Neck/Medals/securitymedal.rsi - type: Clothing sprite: Clothing/Neck/Medals/securitymedal.rsi + - type: Tag + tags: + - Medal - type: entity parent: ClothingNeckBase @@ -90,3 +111,6 @@ sprite: Clothing/Neck/Medals/clownmedal.rsi - 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