ninja hotfixes (#20032)
* check that slot is power cell slot * add BatteryChangedEvent * use BatteryChangedEvent when enabling gloves and replacing battery * sort gloves dependencies * increase stun duration and cooldown * play sound when stunning people * remove dirty for non networked field * NinjaBatteryChangedEvent * real * fake --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
7
Content.Server/Ninja/Events/BatteryChangedEvent.cs
Normal file
7
Content.Server/Ninja/Events/BatteryChangedEvent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Content.Server.Ninja.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised on the ninja when the suit has its powercell changed.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct NinjaBatteryChangedEvent(EntityUid Battery, EntityUid BatteryHolder);
|
||||
Reference in New Issue
Block a user