Two more tweaks to pacify wmllint.

This commit is contained in:
Eric S. Raymond 2009-09-03 01:03:34 +00:00
parent eee3d640f1
commit 26745833e2
2 changed files with 48 additions and 39 deletions

View file

@ -180,6 +180,48 @@
[/if]
[/event]
# new objectives, find the book
[event]
name=new-objectives
[message]
id=Delfador
message= _ "The guards are slain. Now we must look for the book."
[/message]
[objectives]
side=1
[objective]
description= _ " New Objective: Find the secret door. Explore the manor."
condition=win
[/objective]
[/objectives]
# Create some new events for when we move to the right spot.
[event]
name=moveto
[filter]
side=1
x,y=33,11
[/filter]
[music]
name=northerners.ogg
play_once=yes
[/music]
[message]
id=unit
message= _ "This looks like a secret door. Let's see where it leads..."
[/message]
[terrain]
x=34
y=10
terrain=Uu
[/terrain]
[endlevel]
result=victory
[/endlevel]
[/event]
[/event]
[event]
name=die
first_time_only=no
@ -189,45 +231,12 @@
side=2
[/have_unit]
[/not]
[fire-event]
# Factored like this so the inner events
# won't trigger a false postive from wmllint.
name=new-objectives
[/fire-event]
[then]
# new objectives, find the book
[message]
id=Delfador
message= _ "The guards are slain. Now we must look for the book."
[/message]
[objectives]
side=1
[objective]
description= _ " New Objective: Find the secret door. Explore the manor."
condition=win
[/objective]
[/objectives]
[event]
name=moveto
[filter]
side=1
x,y=33,11
[/filter]
[music]
name=northerners.ogg
play_once=yes
[/music]
[message]
id=unit
message= _ "This looks like a secret door. Let's see where it leads..."
[/message]
[terrain]
x=34
y=10
terrain=Uu
[/terrain]
[endlevel]
result=victory
[/endlevel]
[/event]
[/then]
[/if]
[/event]

View file

@ -636,7 +636,7 @@
# Event 1: The Death of Eloh and the revealing of the true monster
[event]
name=die
name=last breath
[filter]
id=Eloh