]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix security riot crate (#33415)
authorPlykiya <58439124+Plykiya@users.noreply.github.com>
Wed, 20 Nov 2024 00:57:01 +0000 (16:57 -0800)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 00:57:01 +0000 (11:57 +1100)
* move riot crate from security to armory category

* Move riot crate to armory, actually make it require armory access to unlock

Resources/Prototypes/Catalog/Cargo/cargo_armory.yml
Resources/Prototypes/Catalog/Cargo/cargo_security.yml
Resources/Prototypes/Catalog/Fills/Crates/armory.yml
Resources/Prototypes/Catalog/Fills/Crates/security.yml

index 6341042bf89d7dc587874366460f79fe4c9a9bad..26748e82268c19e5b8899a572397ec25d2962ae5 100644 (file)
   category: cargoproduct-category-name-armory
   group: market
 
+- type: cargoProduct
+  id: SecurityRiot
+  icon:
+    sprite: Clothing/OuterClothing/Armor/riot.rsi
+    state: icon
+  product: CrateSecurityRiot
+  cost: 7500
+  category: cargoproduct-category-name-armory
+  group: market
+
 - type: cargoProduct
   id: TrackingImplant
   icon:
index a5d4e5f70a17f348658e154770c3d73ddb9e7a26..3fa03ea2e3998afdebb49be3174b0a55111e3457 100644 (file)
   category: cargoproduct-category-name-security
   group: market
 
-- type: cargoProduct
-  id: SecurityRiot
-  icon:
-    sprite: Clothing/OuterClothing/Armor/riot.rsi
-    state: icon
-  product: CrateSecurityRiot
-  cost: 7500
-  category: cargoproduct-category-name-security
-  group: market
-
 - type: cargoProduct
   id: SecuritySupplies
   icon:
index bc5377fe81f27af1e5389447d259344533f82a43..fadaf2f01edfd5632daa3b5dba9b764b06b7d804 100644 (file)
       amount: 2
     - id: MagazinePistol
       amount: 4
+
+- type: entity
+  id: CrateSecurityRiot
+  parent: [ CrateWeaponSecure, BaseRestrictedContraband ]
+  name: swat crate
+  description: Contains two sets of riot armor, helmets, shields, and enforcers loaded with beanbags. Extra ammo is included. Requires Armory access to open.
+  components:
+  - type: StorageFill
+    contents:
+    - id: ClothingOuterArmorRiot
+      amount: 2
+    - id: ClothingHeadHelmetRiot
+      amount: 2
+    - id: WeaponShotgunEnforcerRubber
+      amount: 2
+    - id: BoxBeanbag
+      amount: 2
+    - id: RiotShield
+      amount: 2
index 38597adb1eebd7745d50a2b6453e981ba0ae7c84..a0351968498e5de55ccdf22dbef295dfb9904b83 100644 (file)
 #      - Pepperspray
 #      - GrenadeTeargas
 
-- type: entity
-  id: CrateSecurityRiot
-  parent: CrateSecgear
-  name: swat crate
-  description: Contains two sets of riot armor, helmets, shields, and enforcers loaded with beanbags. Extra ammo is included. Requires Armory access to open.
-  components:
-  - type: StorageFill
-    contents:
-      - id: ClothingOuterArmorRiot
-        amount: 2
-      - id: ClothingHeadHelmetRiot
-        amount: 2
-      - id: WeaponShotgunEnforcerRubber
-        amount: 2
-      - id: BoxBeanbag
-        amount: 2
-      - id: RiotShield
-        amount: 2
-#      - SecGasmask
-
 - type: entity
   id: CrateSecuritySupplies
   parent: CrateSecgear