succumb to american spelling

develop
Myk Taylor 2023-10-07 19:12:53 -07:00
parent c4b31176a9
commit f8a95667ee
No known key found for this signature in database
3 changed files with 7 additions and 0 deletions

@ -67,6 +67,7 @@ Template for new versions:
## API ## API
## Lua ## Lua
- added ``GRAY`` color aliases for ``GREY`` colors
## Removed ## Removed

@ -3081,6 +3081,9 @@ environment by the mandatory init file dfhack.lua:
COLOR_LIGHTBLUE, COLOR_LIGHTGREEN, COLOR_LIGHTCYAN, COLOR_LIGHTRED, COLOR_LIGHTBLUE, COLOR_LIGHTGREEN, COLOR_LIGHTCYAN, COLOR_LIGHTRED,
COLOR_LIGHTMAGENTA, COLOR_YELLOW, COLOR_WHITE COLOR_LIGHTMAGENTA, COLOR_YELLOW, COLOR_WHITE
``COLOR_GREY`` and ``COLOR_DARKGREY`` can also be spelled ``COLOR_GRAY`` and
``COLOR_DARKGRAY``.
* State change event codes, used by ``dfhack.onStateChange`` * State change event codes, used by ``dfhack.onStateChange``
Available only in the `core context <lua-core-context>`, as is the event itself: Available only in the `core context <lua-core-context>`, as is the event itself:

@ -38,6 +38,9 @@ COLOR_LIGHTMAGENTA = 13
COLOR_YELLOW = 14 COLOR_YELLOW = 14
COLOR_WHITE = 15 COLOR_WHITE = 15
COLOR_GRAY = COLOR_GREY
COLOR_DARKGRAY = COLOR_DARKGREY
-- Events -- Events
if dfhack.is_core_context then if dfhack.is_core_context then