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:
parent
063c35251d
commit
7f60c43424
5 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -298,6 +298,11 @@
|
|||
id=$ally_name
|
||||
[/recall]
|
||||
|
||||
# wmllint: recognize Grog
|
||||
# wmllint: recognize Nog
|
||||
# wmllint: recognize Rogrimir
|
||||
# wmllint: recognize Jarl
|
||||
|
||||
#recall merfolk
|
||||
|
||||
[recall]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue