From 75428f625fc0ee6068db47c0fb186c8baeabb651 Mon Sep 17 00:00:00 2001 From: BlitzTheSquishy <73762869+BlitzTheSquishy@users.noreply.github.com> Date: Thu, 9 Jan 2025 10:40:06 +1100 Subject: [PATCH] Added rubber versions to SLP57 and Pollock and exchanging them with the loadouts to reflect how it was prior to sec sidearm loadouts (Revolvers unchanged) --- .../Objects/Weapons/Guns/Pistols/pistols.yml | 48 +++++++++++++++++++ .../Jobs/Security/security_officer.yml | 6 +-- 2 files changed, 51 insertions(+), 3 deletions(-) diff --git a/Resources/Prototypes/_DV/Entities/Objects/Weapons/Guns/Pistols/pistols.yml b/Resources/Prototypes/_DV/Entities/Objects/Weapons/Guns/Pistols/pistols.yml index 0ae6009f0cd..64a3df19e3a 100644 --- a/Resources/Prototypes/_DV/Entities/Objects/Weapons/Guns/Pistols/pistols.yml +++ b/Resources/Prototypes/_DV/Entities/Objects/Weapons/Guns/Pistols/pistols.yml @@ -212,3 +212,51 @@ - type: GuideHelp guides: - Cargo + +- type: entity + id: WeaponPistolPollockNonlethal + parent: WeaponPistolPollock + suffix: Non-lethal + components: + - type: ItemSlots + slots: + gun_magazine: + name: Magazine + startingItem: MagazinePistolRubber + insertSound: /Audio/Weapons/Guns/MagIn/pistol_magin.ogg + ejectSound: /Audio/Weapons/Guns/MagOut/pistol_magout.ogg + priority: 2 + whitelist: + tags: + - MagazinePistol + gun_chamber: + name: Chamber + startingItem: CartridgePistolRubber + priority: 1 + whitelist: + tags: + - CartridgePistol + +- type: entity + id: WeaponPistolSLP57Nonlethal + parent: WeaponPistolSLP57 + suffix: Non-lethal + components: + - type: ItemSlots + slots: + gun_magazine: + name: Magazine + startingItem: MagazinePistolRubber + insertSound: /Audio/Weapons/Guns/MagIn/pistol_magin.ogg + ejectSound: /Audio/Weapons/Guns/MagOut/pistol_magout.ogg + priority: 2 + whitelist: + tags: + - MagazinePistol + gun_chamber: + name: Chamber + startingItem: CartridgePistolRubber + priority: 1 + whitelist: + tags: + - CartridgePistol diff --git a/Resources/Prototypes/_DV/Loadouts/Jobs/Security/security_officer.yml b/Resources/Prototypes/_DV/Loadouts/Jobs/Security/security_officer.yml index 00b5ff1dd97..f35dcfc191c 100644 --- a/Resources/Prototypes/_DV/Loadouts/Jobs/Security/security_officer.yml +++ b/Resources/Prototypes/_DV/Loadouts/Jobs/Security/security_officer.yml @@ -1,17 +1,17 @@ - type: loadout id: SecurityFirearmWeaponPistolPollock equipment: - pocket1: WeaponPistolPollock + pocket1: WeaponPistolPollockNonlethal - type: loadout id: SecurityFirearmWeaponPistolSLP57 equipment: - pocket1: WeaponPistolSLP57 + pocket1: WeaponPistolSLP57Nonlethal - type: loadout id: SecurityFirearmWeaponPistolMk58 equipment: - pocket1: WeaponPistolMk58 + pocket1: WeaponPistolMk58Nonlethal - type: loadout id: SecurityFirearmWeaponDisabler