Repurposed my GMCP aff capture from Achaea to work for Starmourn. I tested this lightly, so can't guarantee that it works in all cases, but it works for me on a fresh profile on the basic afflictions that I have access to right now.
This is purely a table of Afflictions and Defenses populated by GMCP. You can then reference aff or def conditions with Aff.whatever and Def.whatever.
Link:
https://www.dropbox.com/s/0jhktwg9ev7yr5d/GMCP Afflictions.zip?dl=0Note: This is for Mudlet only, if someone wants to swap it over to javascript for Nexus, no problem here
Comments
gmcp.Char.Defences.List
capitalises the names of defs.
While gmcp.Char.Defences.Add
has them in lower case. (Also .Remove)
Not sure yet whether the same is true for afflictions.
Anyway, it means that defs don't get removed IF they were added via list and not add, if that makes sense.
eg:
the fix is the :lower() in:
It may be necessary to do the same for affs as well.