]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Allow Flares to light cigarettes (#29476)
authorCojoke <83733158+Cojoke-dot@users.noreply.github.com>
Mon, 1 Jul 2024 21:14:38 +0000 (16:14 -0500)
committerGitHub <noreply@github.com>
Mon, 1 Jul 2024 21:14:38 +0000 (14:14 -0700)
commitfe7dbb42b3a6a94bcf1a9c90396eb4e4ed5eb492
tree984c01060d44397103409d22fb8a286cd8c251a8
parented2789a0e405a99095da17be196d550c14be734e
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>
Content.Server/IgnitionSource/IgnitionEvent.cs [new file with mode: 0644]
Content.Server/IgnitionSource/IgnitionSourceSystem.cs
Content.Server/Light/EntitySystems/ExpendableLightSystem.cs
Resources/Prototypes/Entities/Objects/Tools/flare.yml