From 02027cdd07d2b5eb05ec900a034d8f71e6e21977 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Fri, 5 May 2023 00:06:01 +1000 Subject: [PATCH] Remove non-lethal vector variant (#16076) --- .../Objects/Weapons/Guns/SMGs/smgs.yml | 38 +++++++++++++------ Resources/migration.yml | 1 + 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml index 47c77d6f77..7974785e9b 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml @@ -141,10 +141,6 @@ whitelist: tags: - CartridgePistol - - type: ContainerContainer - containers: - gun_magazine: !type:ContainerSlot - gun_chamber: !type:ContainerSlot - type: MagazineVisuals magState: mag steps: 1 @@ -192,10 +188,6 @@ whitelist: tags: - CartridgeMagnum - - type: ContainerContainer - containers: - gun_magazine: !type:ContainerSlot - gun_chamber: !type:ContainerSlot - type: MagazineVisuals magState: mag steps: 1 @@ -252,6 +244,32 @@ zeroVisible: true - type: Appearance +# Rubber +- type: entity + name: Drozd + parent: WeaponSubMachineGunDrozd + id: WeaponSubMachineGunDrozdRubber + suffix: Non-Lethal + components: + - type: ItemSlots + slots: + gun_magazine: + name: Magazine + startingItem: MagazinePistolSubMachineGunRubber + insertSound: /Audio/Weapons/Guns/MagIn/smg_magin.ogg + ejectSound: /Audio/Weapons/Guns/MagOut/smg_magout.ogg + priority: 2 + whitelist: + tags: + - MagazinePistolSubMachineGun + gun_chamber: + name: Chamber + startingItem: CartridgePistolRubber + priority: 1 + whitelist: + tags: + - CartridgePistol + - type: entity name: Vector parent: WeaponSubMachineGunVector @@ -277,7 +295,3 @@ whitelist: tags: - CartridgeMagnum - - type: ContainerContainer - containers: - gun_magazine: !type:ContainerSlot - gun_chamber: !type:ContainerSlot diff --git a/Resources/migration.yml b/Resources/migration.yml index 2e3b0bef12..ec7ece6730 100644 --- a/Resources/migration.yml +++ b/Resources/migration.yml @@ -42,6 +42,7 @@ MagazineMagnumSubMachineGunHighVelocity: MagazinePistolSubMachineGunHighVelocity MagazineMagnumSubMachineGunPractice: MagazinePistolSubMachineGunPractice MagazineMagnumSubMachineGunRubber: MagazinePistolSubMachineGunRubber WeaponSubMachineGunVector: WeaponSubMachineGunDrozd +WeaponSubMachineGunVectorRubber: WeaponSubMachineGunDrozdRubber MagazineBoxAntiMaterial: MagazineBoxAntiMateriel CartridgeAntiMaterial: CartridgeAntiMateriel -- 2.51.2