<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39443 >

To help modpack authors, we should add "Custom1" etc unitflags to
freeciv;  with effects there is nothing special that neccessarily has to
be coded to make a new unitflag meaningful. It can be useful to add 1-5
custom unitflags so that modpack authors have full freedom to introduce
new categories of units and effects that apply to them. (Difference to
UnitClass is that flags are not exclusive)

Suggested design:
Add unitflags "Custom1" and "Custom2" to the code (at least two should
be available).
Include in the units.ruleset header with helptext
"Not used in default ruleset. Available for custom rulesets"

These items should always be kept last.

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to