]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Medal case whitelist (#27428)
authorKeer-Sar <144283718+Keer-Sar@users.noreply.github.com>
Sun, 28 Apr 2024 05:04:49 +0000 (01:04 -0400)
committerGitHub <noreply@github.com>
Sun, 28 Apr 2024 05:04:49 +0000 (15:04 +1000)
* Create Medal tag and assign tag to medals

* Update Resources/Prototypes/tags.yml

---------

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Resources/Prototypes/Entities/Clothing/Neck/medals.yml
Resources/Prototypes/Entities/Objects/Misc/medalcase.yml
Resources/Prototypes/tags.yml

index 4d3746aad3fd6710b5246643fdf0a8a9e857adc8..031fcb998818223251ae7730fc2ae05c057b1811 100644 (file)
@@ -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
     sprite: Clothing/Neck/Medals/clownmedal.rsi
   - type: StealTarget
     stealGroup: ClothingNeckClownmedal
+  - type: Tag
+    tags:
+      - Medal
index a421c1e9e99b1aa1dc84548321c1f7f9eb80966c..35000b3fba10ac2b42c39e8a450a5c410f2ab3b5 100644 (file)
@@ -17,6 +17,9 @@
   - type: Storage
     grid:
     - 0,0,7,1
+    whitelist:
+      tags:
+        - Medal
   - type: StorageFill
     contents:
     - id: ClothingNeckGoldmedal
index f544cd95ef0fdf5d2bab6efd915f44cde9d18a0b..8238bc2d536ec0eba85a908e9a3df4d7cc128e5f 100644 (file)
 - type: Tag
   id: Meat
 
+- type: Tag
+  id: Medal
+
 - type: Tag
   id: Medkit