From efb35d7953727cd49e9877d22b7d34da2111f0f5 Mon Sep 17 00:00:00 2001 From: Preston Smith <92108534+thetolbean@users.noreply.github.com> Date: Sat, 30 Nov 2024 13:31:40 -0600 Subject: [PATCH] Require Wield To Activate Double-bladed ESword (#32869) * Add MeleeRequiresWield component * Prevent world activation --- Resources/Prototypes/Entities/Objects/Weapons/Melee/e_sword.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Melee/e_sword.yml b/Resources/Prototypes/Entities/Objects/Weapons/Melee/e_sword.yml index 0b0719e77f8b1f..59a27ccf0cc87d 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Melee/e_sword.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Melee/e_sword.yml @@ -274,6 +274,7 @@ components: - type: ItemToggle onUse: false # wielding events control it instead + onActivate: false # prevents the weapon from being able to be turned on when it is on the ground soundActivate: path: /Audio/Weapons/ebladeon.ogg params: