mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +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)
45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
using Content.Shared._Shitmed.Targeting;
|
|
|
|
namespace Content.Shared.Projectiles;
|
|
|
|
/// <summary>
|
|
/// Raised directed on an entity when it embeds in another entity.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public readonly record struct EmbedEvent(EntityUid? Shooter, EntityUid Embedded, TargetBodyPart? BodyPart)
|
|
{
|
|
public readonly EntityUid? Shooter = Shooter;
|
|
|
|
/// <summary>
|
|
/// Entity that is embedded in.
|
|
/// </summary>
|
|
public readonly EntityUid Embedded = Embedded;
|
|
|
|
/// <summary>
|
|
/// Body part that has the embedded entity.
|
|
/// </summary>
|
|
public readonly TargetBodyPart? BodyPart = BodyPart;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Raised on an entity when it stops embedding in another entity.
|
|
/// </summary>
|
|
[ByRefEvent]
|
|
public readonly record struct RemoveEmbedEvent(EntityUid? Remover)
|
|
{
|
|
public readonly EntityUid? Remover = Remover;
|
|
}
|
|
|
|
// WD EDIT START
|
|
[ByRefEvent]
|
|
public readonly record struct AttemptEmbedEvent(EntityUid? Shooter, EntityUid Embedded)
|
|
{
|
|
public readonly EntityUid? Shooter = Shooter;
|
|
|
|
/// <summary>
|
|
/// Entity that is embedded in.
|
|
/// </summary>
|
|
public readonly EntityUid Embedded = Embedded;
|
|
}
|
|
// WD EDIT END
|