mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 14:07:53 +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)
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using Content.Shared.Humanoid;
|
|
using Content.Shared.Body.Part;
|
|
|
|
namespace Content.Shared._Shitmed.Body.Events;
|
|
|
|
/// <summary>
|
|
/// Raised on an entity when attempting to remove a body part.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public readonly record struct AmputateAttemptEvent(EntityUid Part);
|
|
|
|
// Kind of a clone of BodyPartAddedEvent for surgical reattachment specifically.
|
|
[ByRefEvent]
|
|
public readonly record struct BodyPartAttachedEvent(Entity<BodyPartComponent> Part);
|
|
|
|
// Kind of a clone of BodyPartRemovedEvent for any instances where we call DropPart(), reasoning being that RemovedEvent fires off
|
|
// a lot more often than what I'd like due to PVS.
|
|
[ByRefEvent]
|
|
public readonly record struct BodyPartDroppedEvent(Entity<BodyPartComponent> Part);
|
|
|
|
[ByRefEvent]
|
|
public readonly record struct BodyPartEnableChangedEvent(bool Enabled);
|
|
|
|
[ByRefEvent]
|
|
public readonly record struct BodyPartEnabledEvent(Entity<BodyPartComponent> Part);
|
|
|
|
[ByRefEvent]
|
|
public readonly record struct BodyPartDisabledEvent(Entity<BodyPartComponent> Part);
|
|
|
|
public readonly record struct BodyPartComponentsModifyEvent(EntityUid Body, bool Add);
|