Minor GMCP updates

Author:Dáin
Date:Tue Apr 11 08:48:27 2023
Id:2714
  • There is a new GMCP module Event which, when enabled, will send a few commands:

    • Event.Moved is sent as you move, similar to the XML <movement> tags.
    • Event.Darkness, Event.Moon and Event.Sun are sent when you observe a change in the Necromancer's Darkness, the position of the Moon, or the Sun. The messages have a what field, describing what happened.
  • In GMCP Char.Vitals, there are new fields hp-string, mana-string, and mp-string that are set to strings such as "healthy" and "fine" to indicate that the corresponding value (in hp, mana, or mp) is approximate.
Thanks Grimwine for GMCP improvement ideas.