From 9ae69e89d99e139e1ae8f965b21926fab2a612ee Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Sun, 24 Dec 2023 01:04:42 -0500 Subject: [PATCH] This is the closest we have so far And it still doesn't work right --- Content.Server/Nyanotrasen/Lamiae/LamiaSystem.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Content.Server/Nyanotrasen/Lamiae/LamiaSystem.cs b/Content.Server/Nyanotrasen/Lamiae/LamiaSystem.cs index 4177dc48af7..aee4092dbb2 100644 --- a/Content.Server/Nyanotrasen/Lamiae/LamiaSystem.cs +++ b/Content.Server/Nyanotrasen/Lamiae/LamiaSystem.cs @@ -81,13 +81,15 @@ private void OnSegmentSpawned(EntityUid uid, LamiaSegmentComponent component, Se if (TryComp(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); } } }