diff --git a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs index 9e5ee2d8c3..878b6cbc3a 100644 --- a/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs +++ b/Content.Shared/Weapons/Ranged/Systems/SharedGunSystem.cs @@ -554,6 +554,12 @@ public abstract partial class SharedGunSystem : EntitySystem Dirty(gun); } // WD EDIT + public void SetFireMode(GunComponent gun, SelectiveFire available, SelectiveFire selected) + { + gun.AvailableModes = available; + gun.SelectedMode = selected; + } + public void SetUseKey(GunComponent gun, bool useKey) { gun.UseKey = useKey; diff --git a/Content.Shared/_White/Wizard/SpellBlade/SharedSpellBladeSystem.cs b/Content.Shared/_White/Wizard/SpellBlade/SharedSpellBladeSystem.cs index c940d36507..918c0df502 100644 --- a/Content.Shared/_White/Wizard/SpellBlade/SharedSpellBladeSystem.cs +++ b/Content.Shared/_White/Wizard/SpellBlade/SharedSpellBladeSystem.cs @@ -103,6 +103,7 @@ public abstract class SharedSpellBladeSystem : EntitySystem var gun = EnsureComp(uid); _gun.SetUseKey(gun, false); _gun.SetClumsyProof(gun, true); + _gun.SetFireMode(gun, SelectiveFire.FullAuto, SelectiveFire.FullAuto); _gun.SetSound(uid, new SoundPathSpecifier("/Audio/Weapons/Guns/Gunshots/Magic/staff_healing.ogg")); _gun.SetFireRate(uid, 1.2f); var ammoProvider = EnsureComp(uid); diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml b/Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml index a92b38e27d..0d59037069 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Melee/mining.yml @@ -34,6 +34,9 @@ soundGunshot: /Audio/Weapons/plasma_cutter.ogg fireRate: 1 useKey: false + selectedMode: FullAuto + availableModes: + - FullAuto - type: RechargeBasicEntityAmmo rechargeCooldown: 0.5 rechargeSound: @@ -95,8 +98,6 @@ components: - type: Sprite sprite: Objects/Weapons/Melee/crusher_glaive.rsi - - type: UseDelay - delay: 1.9 - type: LeechOnMarker leech: groups: