mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* 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>
7 lines
238 B
C#
7 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);
|