* 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>
8 lines
238 B
C#
8 lines
238 B
C#
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);
|