2023-01-07 04:24:50 -06:00
|
|
|
|
using Content.Server.Maps;
|
|
|
|
|
|
using Content.Shared.Chemistry.Reaction;
|
2021-11-28 19:25:51 -07:00
|
|
|
|
using Content.Shared.Chemistry.Reagent;
|
|
|
|
|
|
using Content.Shared.FixedPoint;
|
|
|
|
|
|
using Content.Shared.Maps;
|
|
|
|
|
|
using JetBrains.Annotations;
|
|
|
|
|
|
using Robust.Shared.Map;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Chemistry.TileReactions;
|
|
|
|
|
|
|
|
|
|
|
|
[UsedImplicitly]
|
|
|
|
|
|
[DataDefinition]
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed class PryTileReaction : ITileReaction
|
2021-11-28 19:25:51 -07:00
|
|
|
|
{
|
|
|
|
|
|
public FixedPoint2 TileReact(TileRef tile, ReagentPrototype reagent, FixedPoint2 reactVolume)
|
|
|
|
|
|
{
|
2023-01-07 04:24:50 -06:00
|
|
|
|
var sys = IoCManager.Resolve<IEntityManager>().System<TileSystem>();
|
|
|
|
|
|
sys.PryTile(tile);
|
2021-11-28 19:25:51 -07:00
|
|
|
|
return reactVolume;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|