From: OneZerooo0 <172208291+OneZerooo0@users.noreply.github.com> Date: Sat, 19 Apr 2025 00:04:44 +0000 (-0400) Subject: Modular Grenades now fit in security belts/carriers (#34169) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=37f16c3abdcfa79e2952df4ef5b9bc0bd9fe2f50;p=space-station-14.git 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 Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com> --- diff --git a/Resources/Prototypes/Entities/Clothing/Belt/belts.yml b/Resources/Prototypes/Entities/Clothing/Belt/belts.yml index efae094765..27cd2921b8 100644 --- a/Resources/Prototypes/Entities/Clothing/Belt/belts.yml +++ b/Resources/Prototypes/Entities/Clothing/Belt/belts.yml @@ -481,6 +481,7 @@ - MagazineMagnum - CombatKnife - Truncheon + - HandGrenade components: - Stunbaton - FlashOnTrigger diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Throwable/grenades.yml b/Resources/Prototypes/Entities/Objects/Weapons/Throwable/grenades.yml index 8be5b5f8aa..ebfdf184f7 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Throwable/grenades.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Throwable/grenades.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Throwable/projectile_grenades.yml b/Resources/Prototypes/Entities/Objects/Weapons/Throwable/projectile_grenades.yml index 6a111ef1c8..41fad224c4 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Throwable/projectile_grenades.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Throwable/projectile_grenades.yml @@ -25,6 +25,9 @@ enum.ConstructionVisuals.Layer: Primed: { state: primed } Unprimed: { state: icon } + - type: Tag + tags: + - HandGrenade - type: entity parent: [ProjectileGrenadeBase, BaseSecurityContraband] diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Throwable/scattering_grenades.yml b/Resources/Prototypes/Entities/Objects/Weapons/Throwable/scattering_grenades.yml index 38fde5c540..a3087f1f9e 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Throwable/scattering_grenades.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Throwable/scattering_grenades.yml @@ -18,6 +18,9 @@ behaviors: - !type:TriggerBehavior - type: ScatteringGrenade + - type: Tag + tags: + - HandGrenade - type: entity parent: [ScatteringGrenadeBase, BaseSecurityContraband] diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index bd3644d53c..910c24b303 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -641,6 +641,9 @@ - type: Tag id: Handcuffs +- type: Tag + id: HandGrenade + - type: Tag id: HappyHonk