Fixed some bugs reported by wmllint.
This commit is contained in:
parent
074277c8be
commit
471de07154
2 changed files with 8 additions and 12 deletions
|
@ -32,11 +32,9 @@
|
|||
#Olurf's side
|
||||
[side]
|
||||
{OLURF}
|
||||
# wmllint: recognize Olurf
|
||||
side=2
|
||||
canrecruit=yes
|
||||
persistent=yes
|
||||
#Olurf's controller is human to trigger the persistence.
|
||||
controller=human
|
||||
{GOLD 120 160 200}
|
||||
{INCOME 4 8 12}
|
||||
team_name=kalenz
|
||||
|
|
|
@ -440,25 +440,23 @@
|
|||
name=olurf
|
||||
|
||||
{FOREACH olurf_party dwarf}
|
||||
{VARIABLE olurf_party[dwarf].side 1}
|
||||
{VARIABLE olurf_party[dwarf].x 3}
|
||||
{VARIABLE olurf_party[dwarf].y 2}
|
||||
[message]
|
||||
message=a dwarvish dwarf
|
||||
[/message]
|
||||
{VARIABLE olurf_party[$dwarf].side 1}
|
||||
{VARIABLE olurf_party[$dwarf].x 3}
|
||||
{VARIABLE olurf_party[$dwarf].y 2}
|
||||
|
||||
[unstore_unit]
|
||||
variable=olurf_party[dwarf]
|
||||
variable=olurf_party[$dwarf]
|
||||
find_vacant=yes
|
||||
text=unstored
|
||||
[/unstore_unit]
|
||||
{NEXT dwarf}
|
||||
|
||||
|
||||
#wmllint: recognize Olurf
|
||||
{MODIFY_UNIT (id=Olurf) canrecruit no}
|
||||
{MAKE_HERO Olurf}
|
||||
|
||||
#{OLURF_PARTY}
|
||||
{OLURF_SPEAK}
|
||||
#wml
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
|
Loading…
Add table
Reference in a new issue