22 lines
617 B
C#
22 lines
617 B
C#
using Content.Server.Maps;
|
|
using Content.Shared.Chemistry.Reaction;
|
|
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]
|
|
public sealed partial class PryTileReaction : ITileReaction
|
|
{
|
|
public FixedPoint2 TileReact(TileRef tile, ReagentPrototype reagent, FixedPoint2 reactVolume)
|
|
{
|
|
var sys = IoCManager.Resolve<IEntityManager>().System<TileSystem>();
|
|
sys.PryTile(tile);
|
|
return reactVolume;
|
|
}
|
|
}
|