Skip to content

Commit

Permalink
This is the closest we have so far
Browse files Browse the repository at this point in the history
And it still doesn't work right
  • Loading branch information
VMSolidus committed Dec 24, 2023
1 parent 9baeb8d commit 9ae69e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Content.Server/Nyanotrasen/Lamiae/LamiaSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,15 @@ private void OnSegmentSpawned(EntityUid uid, LamiaSegmentComponent component, Se

if (TryComp<HumanoidAppearanceComponent>(args.Lamia, out var humanoid))
{
foreach (var marking in humanoid.MarkingSet.GetForwardEnumerator())
foreach (var Marking in humanoid.MarkingSet.GetForwardEnumerator())
{
if (!(humanoid.MarkingSet.TryGetCategory(MarkingCategories.Tail, out var tailMarkings)))
continue;

string segmentmarking = $"{marking}-{segmentId}";
_humanoid.SetMarkingId(uid, MarkingCategories.Tail, 0, segmentmarking);
var markingId = Marking.MarkingId;
string segmentmarking = $"{markingId}-{segmentId}";
var color = Marking.MarkingColors[0];
_humanoid.AddMarking(uid, segmentmarking, color);
}
}
}
Expand Down

0 comments on commit 9ae69e8

Please sign in to comment.