* PROJECT 0 WARNINGS: Resolve `'EntitySystem.Get<T>()' is obsolete` in content * pass entman * dog ass test * webeditor
25 lines
648 B
C#
25 lines
648 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,
|
|
IEntityManager entityManager)
|
|
{
|
|
var sys = entityManager.System<TileSystem>();
|
|
sys.PryTile(tile);
|
|
return reactVolume;
|
|
}
|
|
}
|