From 2b29e5882350e31ecda7afe17bf45272e16f039e Mon Sep 17 00:00:00 2001 From: LankLTE <135308300+LankLTE@users.noreply.github.com> Date: Tue, 11 Jul 2023 17:45:43 -0700 Subject: [PATCH] Sawn-off shotgun are now empty when made (#17971) * New nonlethal sawnoff * Empty guns now * removed duplicate construct --- .../Objects/Weapons/Guns/Shotguns/shotguns.yml | 14 ++++++++++++++ .../Construction/Graphs/weapons/shotgunsawn.yml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Shotguns/shotguns.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Shotguns/shotguns.yml index a9124c49ae..128898675c 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/Shotguns/shotguns.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/Shotguns/shotguns.yml @@ -172,6 +172,20 @@ node: shotgunsawn deconstructionTarget: null +- type: entity + name: sawn-off shogun + parent: WeaponShotgunSawn + id: WeaponShotgunSawnEmpty + description: Groovy! Uses .50 shotgun shells. + suffix: Empty + components: + - type: BallisticAmmoProvider + proto: null + - type: Construction + graph: ShotgunSawn + node: shotgunsawn + deconstructionTarget: null + - type: entity name: handmade pistol parent: BaseWeaponShotgun diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/weapons/shotgunsawn.yml b/Resources/Prototypes/Recipes/Construction/Graphs/weapons/shotgunsawn.yml index 80e1164a63..0295a8b881 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/weapons/shotgunsawn.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/weapons/shotgunsawn.yml @@ -9,4 +9,4 @@ - tool: Sawing doAfter: 2 - node: shotgunsawn - entity: WeaponShotgunSawn + entity: WeaponShotgunSawnEmpty # Makes the sawn-off spawn empty. At max they're losing 2 shells. \ No newline at end of file