UtBS: Add wmllint: recognize directives for dwarf/troll allies in S8 onwards

wmllint doesn't know what $ally_name means in the context of the
prestart [recall], so it complains about references to Grog/Nog and
Rogrimir/Jarl in these scenarios as a result. Since at this time wmllint
can only be taught to recognize character macros, use the "recognize"
command instead.
This commit is contained in:
Ignacio R. Morelle 2014-02-20 05:27:20 -03:00
parent 063c35251d
commit 7f60c43424
5 changed files with 24 additions and 0 deletions

View file

@ -323,6 +323,11 @@
x,y=51,43
[/recall]
# wmllint: recognize Grog
# wmllint: recognize Nog
# wmllint: recognize Rogrimir
# wmllint: recognize Jarl
# put hero icon on troll/dwarf ally
[unit_overlay]
id=$ally_name

View file

@ -287,6 +287,10 @@
[recall]
id=$ally_name
[/recall]
# wmllint: recognize Grog
# wmllint: recognize Nog
# wmllint: recognize Rogrimir
# wmllint: recognize Jarl
[recall]
id=Esanoo
x,y=46,42

View file

@ -79,6 +79,11 @@
x,y=13,15
[/recall]
# wmllint: recognize Grog
# wmllint: recognize Nog
# wmllint: recognize Rogrimir
# wmllint: recognize Jarl
# create 6 merfolk guards to protect the seer
[unit]
type=Merman Warrior

View file

@ -298,6 +298,11 @@
id=$ally_name
[/recall]
# wmllint: recognize Grog
# wmllint: recognize Nog
# wmllint: recognize Rogrimir
# wmllint: recognize Jarl
#recall merfolk
[recall]

View file

@ -228,6 +228,11 @@
x,y=9,17
[/recall]
# wmllint: recognize Grog
# wmllint: recognize Nog
# wmllint: recognize Rogrimir
# wmllint: recognize Jarl
# store/remove kaleh
[store_unit]