mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +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)
27 lines
734 B
C#
27 lines
734 B
C#
namespace Content.Shared._Shitmed.Targeting;
|
|
public abstract class SharedTargetingSystem : EntitySystem
|
|
{
|
|
/// <summary>
|
|
/// Returns all Valid target body parts as an array.
|
|
/// </summary>
|
|
public static TargetBodyPart[] GetValidParts()
|
|
{
|
|
var parts = new[]
|
|
{
|
|
TargetBodyPart.Head,
|
|
TargetBodyPart.Torso,
|
|
//TargetBodyPart.Groin,
|
|
TargetBodyPart.LeftArm,
|
|
TargetBodyPart.LeftHand,
|
|
TargetBodyPart.LeftLeg,
|
|
TargetBodyPart.LeftFoot,
|
|
TargetBodyPart.RightArm,
|
|
TargetBodyPart.RightHand,
|
|
TargetBodyPart.RightLeg,
|
|
TargetBodyPart.RightFoot,
|
|
};
|
|
|
|
return parts;
|
|
}
|
|
}
|