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)
41 lines
1.5 KiB
C#
41 lines
1.5 KiB
C#
using Content.Shared._Shitmed.Targeting; // Shitmed Change
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.MedicalScanner;
|
|
|
|
/// <summary>
|
|
/// On interacting with an entity retrieves the entity UID for use with getting the current damage of the mob.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class HealthAnalyzerScannedUserMessage : BoundUserInterfaceMessage
|
|
{
|
|
public readonly NetEntity? TargetEntity;
|
|
public float Temperature;
|
|
public float BloodLevel;
|
|
public bool? ScanMode;
|
|
public bool? Bleeding;
|
|
public bool? Unrevivable;
|
|
public Dictionary<TargetBodyPart, TargetIntegrity>? Body; // Shitmed Change
|
|
public NetEntity? Part; // Shitmed Change
|
|
public HealthAnalyzerScannedUserMessage(NetEntity? targetEntity, float temperature, float bloodLevel, bool? scanMode, bool? bleeding, bool? unrevivable, Dictionary<TargetBodyPart, TargetIntegrity>? body, NetEntity? part = null) // Shitmed Change
|
|
{
|
|
TargetEntity = targetEntity;
|
|
Temperature = temperature;
|
|
BloodLevel = bloodLevel;
|
|
ScanMode = scanMode;
|
|
Bleeding = bleeding;
|
|
Body = body; // Shitmed Change
|
|
Part = part; // Shitmed Change
|
|
Unrevivable = unrevivable;
|
|
}
|
|
}
|
|
|
|
// Shitmed Change Start
|
|
[Serializable, NetSerializable]
|
|
public sealed class HealthAnalyzerPartMessage(NetEntity? owner, TargetBodyPart? bodyPart) : BoundUserInterfaceMessage
|
|
{
|
|
public readonly NetEntity? Owner = owner;
|
|
public readonly TargetBodyPart? BodyPart = bodyPart;
|
|
|
|
}
|
|
// Shitmed Change End |