Modular Grenades now fit in security belts/carriers (#34169)

* Added PayloadCase component to secbelt whitelist

* Replaced PayloadCase type whitelist with a tag

* fucking hell

* Add HandGrenade tag to all grenades
Grenades are so unbelievably cooked right now. I've counted about 4 separate baseitems that they inherit from whenever they feel like it. Why? They're all the same.

---------

Co-authored-by: Milon <milonpl.git@proton.me>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
This commit is contained in:
OneZerooo0 2025-04-18 20:04:44 -04:00 • committed by GitHub
parent 297a9a8762
commit 37f16c3abd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 17 additions and 0 deletions

View file

@ -481,6 +481,7 @@
- MagazineMagnum
- CombatKnife
- Truncheon
- HandGrenade
components:
- Stunbaton
- FlashOnTrigger

View file

@ -35,6 +35,9 @@
enum.ConstructionVisuals.Layer:
Primed: { state: primed }
Unprimed: { state: icon }
- type: Tag
tags:
- HandGrenade
- type: entity
name: explosive grenade
@ -83,6 +86,7 @@
- Antagonists
- type: Tag
tags:
- HandGrenade
- GrenadeFlashBang
- type: entity
@ -312,6 +316,9 @@
map: [ "enum.ConstructionVisuals.Layer" ]
- type: Item
size: Small
- type: Tag
tags:
- HandGrenade
- type: PayloadCase
- type: Construction
graph: ModularGrenadeGraph

View file

@ -25,6 +25,9 @@
enum.ConstructionVisuals.Layer:
Primed: { state: primed }
Unprimed: { state: icon }
- type: Tag
tags:
- HandGrenade
- type: entity
parent: [ProjectileGrenadeBase, BaseSecurityContraband]

View file

@ -18,6 +18,9 @@
behaviors:
- !type:TriggerBehavior
- type: ScatteringGrenade
- type: Tag
tags:
- HandGrenade
- type: entity
parent: [ScatteringGrenadeBase, BaseSecurityContraband]

View file

@ -641,6 +641,9 @@
- type: Tag
id: Handcuffs
- type: Tag
id: HandGrenade
- type: Tag
id: HappyHonk