Document why the Fog Clearer's traits show in help

Not mentioned here, but turning on debug mode also affects which units,
and therefore which units' traits, are shown in help.

Having looked back into the history while wondering why it was done this way
in e9603e6e01, back then we needed a fix that could be backported to 1.14,
so couldn't add a new attribute to [unit_type].
This commit is contained in:
Steve Cotton 2024-04-03 06:58:03 +02:00 committed by Steve Cotton
parent 83288dc6f9
commit 63638278b3

View file

@ -16,6 +16,9 @@
# These traits don't occur elsewhere in mainline races or units and are added here
# so they will appear in the traits section in help. The Fog Clearer doesn't receive
# traits because it is a monster, so these shouldn't affect umc use.
#
# This will not work in any other unit that has hide_help=yes, special treatment of
# the Fog Clearer is hardcoded into the C++ code (HIDDEN_BUT_SHOW_MACROS).
{TRAIT_LOYAL}
{TRAIT_AGED}
hitpoints=1