]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Nonlethal throwables crate (#35808)
authorK-Dynamic <20566341+K-Dynamic@users.noreply.github.com>
Sun, 20 Apr 2025 14:08:02 +0000 (02:08 +1200)
committerGitHub <noreply@github.com>
Sun, 20 Apr 2025 14:08:02 +0000 (07:08 -0700)
Resources/Prototypes/Catalog/Cargo/cargo_security.yml
Resources/Prototypes/Catalog/Fills/Crates/security.yml
Resources/Prototypes/GameRules/cargo_gifts.yml

index 93b55fbb24edd83f830ee4d40a3096c08af5fd9d..36f4b472ba55919ffe8e0a2d1da4c5ae61f76851 100644 (file)
   cost: 1000
   category: cargoproduct-category-name-security
   group: market
+
+- type: cargoProduct
+  id: SecurityNonlethalThrowables
+  icon:
+    sprite: Objects/Weapons/Grenades/stingergrenade.rsi
+    state: icon
+  product: CrateSecNonlethalThrowables
+  cost: 2500
+  category: cargoproduct-category-name-security
+  group: market
index 4726df16cf270b061e641065442304623ce58a2a..0af4fe338f638b545d93ef6c567035cbc88bc0c6 100644 (file)
       - id: TrackingImplanter
         amount: 4
 
-# Cosmetic Crates
+- type: entity
+  parent: CrateSecgear
+  id: CrateSecNonlethalThrowables
+  name: nonlethal throwables crate
+  description: Contains one box each of flashbangs, stingers, tear gas grenades, and four bolas. Requires Security access to open.
+  components:
+  - type: StorageFill
+    contents:
+    - id: BoxFlashbang
+      amount: 1
+    - id: BoxStinger
+      amount: 1
+    - id: BoxTearGas
+      amount: 1
+    - id: Bola # replace with 4 e-bolas when added
+      amount: 4
index f4e4a5bf8fc603280c64519a490aa2aa702a89fb..8b687dd88c72da245030e138dc83ee06e3960758 100644 (file)
@@ -16,7 +16,7 @@
     - id: GiftsVendingRestock
 
 # Game Rules
-    
+
 - type: entity
   id: CargoGiftsBase
   parent: BaseGameRule
       SecurityRiot: 2
       SecurityRestraints: 2
       SecurityNonLethal: 2
+      SecurityNonlethalThrowables: 1