This is a limb counter for Mudlet. I've written this to be easy to install, easy to maintain, and easy for users to combine with existing systems.
Download and README: https://github.com/27theo/limb. Setup is described here.
This should run out of the box!
It comes with triggers to capture limb damage from the new lines ("you perceive that you have dealt"...) gated under a queue run message for anti-illusion*. It handles salves and the 3 minute decay in a straight-forward fashion.
Hits are stored in the limb namespace, under limb["Name"].hits.limb, (e.g. limb.Romaen.hits["right leg"] or limb["Romaen"].hits.head), in a percentage format.
The package comes with a primitive limb prompt - head, torso, left arm, right arm, left leg, right leg. You can change the order in the limb prompt script.
^ Result of a prompt trigger running cecho(limb.prompt())
I've not got an "isPrepped" function, but those of you who want to automate using one can likely make one yourselves! I opted out from this because I wanted to keep this elementary.
I'll keep the release and brief documentation updated on my GitHub.
If you find bugs, or I've missed out some crucial element of a limb counter (totally could have done this) please comment here or find me on discord or in game, with an OOC message.
*See the note in the README on my GitHub.