Allow Flares to light cigarettes (#29476)
* Allow Flares to light cigarettes * !IsHot check * nicer looking(and I think the right way to do that...) * heh, whoops * Adds IgnitionEvent, IgnitionSource now functions as IsHot when Ignited * Fixes + remove redundancy * Hows this? * press enter Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com> * Flare is not forever hot anymore * Formatting fixes * Make IgnitionEvent readonly --------- Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
This commit is contained in:
7
Content.Server/IgnitionSource/IgnitionEvent.cs
Normal file
7
Content.Server/IgnitionSource/IgnitionEvent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Content.Server.IgnitionSource;
|
||||
|
||||
/// <summary>
|
||||
/// Raised in order to toggle the ignitionSourceComponent on an entity on or off
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public readonly record struct IgnitionEvent(bool Ignite = false);
|
||||
Reference in New Issue
Block a user