]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Missing contraband tags on explosives (#37521)
authorArchee <archee3@hotmail.co.uk>
Mon, 9 Jun 2025 01:05:22 +0000 (02:05 +0100)
committerGitHub <noreply@github.com>
Mon, 9 Jun 2025 01:05:22 +0000 (18:05 -0700)
* Firebombs as minor contraband

* Pipebombs as minor contraband

* Seismic charge as cargo/sec contra (like crushers)

* Modular payloads

Resources/Prototypes/Entities/Objects/Devices/payload.yml
Resources/Prototypes/Entities/Objects/Weapons/Bombs/firebomb.yml
Resources/Prototypes/Entities/Objects/Weapons/Bombs/pipebomb.yml
Resources/Prototypes/Entities/Objects/Weapons/Bombs/plastic.yml

index 160f0c58e79911c72e130579fa896d62cb511b27..69be5605e977ce1c4d656e40201b74c5c2fc0ba2 100644 (file)
@@ -21,7 +21,7 @@
 
 - type: entity
   name: explosive payload
-  parent: BasePayload
+  parent: [ BasePayload, BaseSecurityContraband ]
   id: ExplosivePayload
   components:
   - type: Sprite
@@ -51,7 +51,7 @@
 
 - type: entity
   name: chemical payload
-  parent: BasePayload
+  parent: [ BasePayload, BaseMedicalScienceContraband ]
   id: ChemicalPayload
   description: A chemical payload. Has space to store two beakers. In combination with a trigger and a case, this can be used to initiate chemical reactions.
   components:
@@ -87,7 +87,7 @@
 
 - type: entity
   name: flash payload
-  parent: BasePayload
+  parent: [ BasePayload, BaseSecurityScienceCommandContraband ]
   id: FlashPayload
   description: A single-use flash payload.
   components:
index 564f136c0b3fcf3a6c9c22dfc10131ec4e8efce0..23f5cc436260a84cf6d52886701e20927adfedd5 100644 (file)
@@ -55,7 +55,7 @@
 
 # has igniter but no fuel or wires
 - type: entity
-  parent: DrinkColaCanEmpty
+  parent: [ DrinkColaCanEmpty, BaseMinorContraband ]
   id: FireBombEmpty
   name: fire bomb
   suffix: empty
index 70661667cc14e4715a180566d3ea297f0bc6de36..a39a1de6719ceb9ba3e5b3670539cb9402991816 100644 (file)
@@ -32,7 +32,7 @@
     node: pipebomb
 
 - type: entity
-  parent: BaseItem
+  parent: [ BaseItem, BaseMinorContraband ]
   id: PipeBombGunpowder
   name: pipe bomb
   description: An improvised explosive made from a pipe. This one has no gunpowder.
@@ -47,7 +47,7 @@
     defaultTarget: pipebomb
 
 - type: entity
-  parent: BaseItem
+  parent: [ BaseItem, BaseMinorContraband ]
   id: PipeBombCable
   name: pipe bomb
   description: An improvised explosive made from a pipe. This one has no cable.
index 7566c00de8b36c5807765f6d3c22407426acd1bc..3f1ca9a1a7f3815b02b02734a88a03d2cdb1bb27 100644 (file)
@@ -85,7 +85,7 @@
 - type: entity
   name: seismic charge
   description: Concussion based explosive designed to destroy large amounts of rock.
-  parent: BasePlasticExplosive
+  parent: [ BasePlasticExplosive, BaseSecurityCargoContraband ]
   id: SeismicCharge
   components:
   - type: Sprite