From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Thu, 4 May 2023 14:06:01 +0000 (+1000) Subject: Remove non-lethal vector variant (#16076) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=02027cdd07d2b5eb05ec900a034d8f71e6e21977;p=space-station-14.git Remove non-lethal vector variant (#16076) --- 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