HttT [else][if] s/b [elseif]; [if] requires conditional

This commit is contained in:
Gregory A Lundberg 2016-08-06 13:00:00 -05:00
parent a2811dd620
commit 2cf5c075ca
3 changed files with 180 additions and 188 deletions

View file

@ -266,8 +266,7 @@
message= _ "With these gryphon eggs we should be able to breed gryphons that will serve us. When they are large enough to carry mounts, we can hire gryphon riders!"
[/message]
[/then]
[else]
[if]
[elseif]
[and]
[variable]
name=gryphon_disposition
@ -400,6 +399,7 @@
message= _ "I do not know. Come now, the show is over."
[/message]
[/then]
[/elseif]
[else]
[message]
speaker=Konrad
@ -407,8 +407,6 @@
[/message]
[/else]
[/if]
[/else]
[/if]
[message]
speaker=Delfador
message= _ "Let us continue onward!"

View file

@ -306,8 +306,14 @@
name=dk_kill_count
numerical_equals=4
[/variable]
[else]
[if]
[then]
[message]
speaker=narrator
image="wesnoth-icon.png"
message= _ "A final blow destroys the lich, releasing a small shock wave of energy outwards. A giant cloud of dust billows out as the remnants of the lichs once-mortal body disintegrate for the last time."
[/message]
[/then]
[elseif]
[variable]
name=dk_kill_count
numerical_equals=3
@ -319,6 +325,7 @@
message= _ "A final blow destroys the lich, releasing a small shock wave of energy outwards. The last of his minions silently falls like a puppet with its strings cut. A cloud of dust billows outwards as the remnants of the lichs once-mortal body disintegrate for the last time."
[/message]
[/then]
[/elseif]
[else]
[message]
speaker=narrator
@ -327,15 +334,6 @@
[/message]
[/else]
[/if]
[/else]
[then]
[message]
speaker=narrator
image="wesnoth-icon.png"
message= _ "A final blow destroys the lich, releasing a small shock wave of energy outwards. A giant cloud of dust billows out as the remnants of the lichs once-mortal body disintegrate for the last time."
[/message]
[/then]
[/if]
[message]
speaker=Delfador
message= _ "Aimucasurs lordship over this cursed ground is broken."

View file

@ -609,8 +609,6 @@ Soooo... It is you who sent your subordinates to attack us. Now when weve des
[/then]
[else]
[if]
[then]
#ifdef EASY
{VARIABLE_OP spawn_level rand "1,2"}
#else
@ -649,8 +647,6 @@ Soooo... It is you who sent your subordinates to attack us. Now when weve des
[/case]
[/switch]
{CLEAR_VARIABLE spawn_level}
[/then]
[/if]
[/else]
[/if]
[/then]