mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 22:18:52 +03:00
Lots of stuff. Also moved everything I could to the _Shitmed namespace
as I do in Goob. Will make future ports way faster
# Changelog
🆑 Mocho
- add: Added some fun organs and other thingies, check out the Goob PRs
if you want more details.
- fix: Fixed tons of issues with shitmed. Too many for the changelog in
fact.
(cherry picked from commit 3c9db94102cb25b28a83d51ac8d659fa31fe7d12)
24 lines
704 B
C#
24 lines
704 B
C#
using Robust.Shared.Audio;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared._Shitmed.Medical.Surgery.Tools;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class SurgeryToolComponent : Component
|
|
{
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public SoundSpecifier? StartSound;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public SoundSpecifier? EndSound;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Raised on a tool to see if it can be used in a surgery step.
|
|
/// If this is cancelled the step can't be completed.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public record struct SurgeryToolUsedEvent(EntityUid User, EntityUid Target, bool Cancelled = false);
|