]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Mark explosives as a contraband (#31508)
authorWinkarst <74284083+Winkarst-cpu@users.noreply.github.com>
Tue, 27 Aug 2024 11:37:20 +0000 (14:37 +0300)
committerGitHub <noreply@github.com>
Tue, 27 Aug 2024 11:37:20 +0000 (13:37 +0200)
Resources/Prototypes/Entities/Objects/Weapons/Guns/Ammunition/explosives.yml

index 04d405e88159255440f4bbe175e20706c0082af8..42bd054ac7174e082bdeef8ea394dc002a9b55f6 100644 (file)
@@ -3,7 +3,7 @@
 - type: entity
   id: CartridgeRocket
   name: PG-7VL grenade
-  parent: BaseItem
+  parent: [BaseItem, BaseMajorContraband]
   description: A 1.5 warhead designed for the RPG-7 launcher. Has tubular shape.
   components:
   - type: Tag
@@ -23,7 +23,7 @@
 - type: entity
   id: CartridgeRocketSlow
   name: PG-7VL grenade "Snail-Rocket"
-  parent: BaseItem
+  parent: [BaseItem, BaseMajorContraband]
   description: A 1.5 warhead designed for the RPG-7 launcher. It's unusually slow.
   components:
     - type: Tag
@@ -45,7 +45,7 @@
 - type: entity
   id: BaseGrenade
   name: base grenade
-  parent: BaseItem
+  parent: [BaseItem, BaseMajorContraband]
   abstract: true
   components:
   - type: Tag
   - type: SpentAmmoVisuals
     state: frag
     suffix: false
-    
+
 - type: entity
   id: GrenadeEMP
   name: EMP grenade
 - type: entity
   id: BaseCannonBall
   name: base cannon ball
-  parent: BaseItem
+  parent: [BaseItem, BaseMajorContraband]
   abstract: true
   components:
   - type: Tag
   - type: Item
     size: Small
   - type: Sprite
-  
+
 - type: entity
   id: CannonBall
   name: cannonball