light ciggies with fire structures (#23196)
the pro ops Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
19
Content.Shared/Temperature/Systems/AlwaysHotSystem.cs
Normal file
19
Content.Shared/Temperature/Systems/AlwaysHotSystem.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Content.Shared.Temperature;
|
||||
using Content.Shared.Temperature.Components;
|
||||
|
||||
namespace Content.Shared.Temperature.Systems;
|
||||
|
||||
public sealed class AlwaysHotSystem : EntitySystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
|
||||
SubscribeLocalEvent<AlwaysHotComponent, IsHotEvent>(OnIsHot);
|
||||
}
|
||||
|
||||
private void OnIsHot(Entity<AlwaysHotComponent> ent, ref IsHotEvent args)
|
||||
{
|
||||
args.IsHot = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user