Files
tbd-station-14/Content.Shared/Weapons/Ranged/Events/OnEmptyGunShotEvent.cs
Arendian 4cd70b241c Disposable turret explodes when empty (#18175)
* turret go boom

* fix ammo

* universal function name

* Also explodes when destroyed

* comment added

* Triggerwhenemptycomponent added

* comment adjusted

* Updated uplink description

* Moved to own event file

* file namespace

* rerun tests

---------

Co-authored-by: Slava0135 <super.novalskiy_0135@inbox.ru>
2023-08-01 15:38:22 -04:00

8 lines
230 B
C#

namespace Content.Shared.Weapons.Ranged.Events;
/// <summary>
/// Raised directed on the gun when trying to fire it while it's out of ammo
/// </summary>
[ByRefEvent]
public record struct OnEmptyGunShotEvent(EntityUid EmptyGun);