Medibot doAfter and some other improvements (#32932)

* Medibot doAfter and some other improvements

* Clean-up

* Review fixes

* the army of medibots chasing someone is really funny

* misc cleanup

---------

Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
This commit is contained in:
osjarw
2026-06-29 12:43:36 +02:00
committed by Coryler
co-authored by SlamBamActionman ArtisticRoomba
parent 12a7a2de67
commit 70874e4cae
9 changed files with 202 additions and 64 deletions
@@ -602,4 +602,12 @@ public readonly record struct UtilityResult(Dictionary<EntityUid, float> Entitie
return Entities.MinBy(x => x.Value).Key;
}
/// <summary>
/// Returns a GetEnumerable sorted in descending score.
/// </summary>
public IEnumerable<KeyValuePair<EntityUid, float>> GetEnumerable()
{
return Entities.OrderByDescending(x => x.Value);
}
}