Adds atmos helpers, welding tool now lights up fires

This commit is contained in:
Víctor Aguilera Puerto
2020-08-11 22:34:37 +02:00
parent 6fe95d635d
commit 32e4c24342
2 changed files with 32 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
#nullable enable
using System;
using Content.Server.Atmos;
using Content.Server.GameObjects.Components.Chemistry;
using Content.Server.GameObjects.EntitySystems;
using Content.Server.GameObjects.EntitySystems.Click;
using Content.Server.Interfaces.GameObjects.Components.Interaction;
using Content.Server.Interfaces;
@@ -19,6 +21,7 @@ using Robust.Shared.Utility;
using Robust.Shared.ViewVariables;
using Robust.Shared.Serialization;
using Content.Shared.GameObjects.EntitySystems;
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.Components.Interactable
{
@@ -179,6 +182,10 @@ namespace Content.Server.GameObjects.Components.Interactable
PlaySoundCollection("WelderOn", -5);
_welderSystem.Subscribe(this);
Owner.Transform.GridPosition
.GetTileAtmosphere()?.HotspotExpose(700f, 50f, true);
return true;
}