Reagent interactivity (pt. 1) (#15130)

* Puddle slippy

* spillable melee

* splash spilling!

* splat melee sound

* p
This commit is contained in:
Kara
2023-04-06 14:20:48 -07:00
committed by GitHub
parent a879b049da
commit e7e9be0073
17 changed files with 219 additions and 18 deletions

View File

@@ -31,12 +31,12 @@ namespace Content.Server.Destructible.Thresholds.Behaviors
solutionContainerSystem.TryGetSolution(owner, spillableComponent.SolutionName,
out var compSolution))
{
spillableSystem.SpillAt(compSolution, coordinates, "PuddleSmear", false);
spillableSystem.SplashSpillAt(owner, compSolution, coordinates, "PuddleSmear", false, user: cause);
}
else if (Solution != null &&
solutionContainerSystem.TryGetSolution(owner, Solution, out var behaviorSolution))
{
spillableSystem.SpillAt(behaviorSolution, coordinates, "PuddleSmear");
spillableSystem.SplashSpillAt(owner, behaviorSolution, coordinates, "PuddleSmear", user: cause);
}
}
}