LoW::1,16,17

Replaced the Landar speech hack with another hack.
This commit is contained in:
Fabian Müller 2012-01-16 05:52:40 +00:00
parent b440c9852f
commit ac59f2375a
4 changed files with 15 additions and 43 deletions

View file

@ -33,8 +33,6 @@
{DEFAULT_SCHEDULE}
{STARTING_VILLAGES 2 50}
# {LOW_PRESTART}
victory_when_enemies_defeated=no
[story]
@ -135,11 +133,6 @@ This is the story of Kalenz, Landar, and of the Elves in the first days of the h
[/unit]
[/side]
#TODO I have seen better solutions in NR
[event]
name=prestart
{INIT_LANDAR}
[/event]
[event]
name=last breath
[filter_second]

View file

@ -33,8 +33,6 @@
{DAWN}
next_scenario=17_Breaking_the_Siege
# {LOW_PRESTART}
[story]
[part]
title= _ "Chapter three\nPart one"
@ -327,7 +325,6 @@
[scroll_to_unit]
id=Kalenz
[/scroll_to_unit]
{LANDAR_QUAFFS_POTION}
[/event]
[event]

View file

@ -1,4 +1,8 @@
#textdomain wesnoth-low
#define LANDAR_SPOILED
#enddef
#ifdef MULTIPLAYER
[multiplayer]
random_start_time=no
@ -27,7 +31,6 @@
{EXTRA_SCENARIO_MUSIC northerners.ogg}
{EXTRA_SCENARIO_MUSIC legends_of_the_north.ogg}
# {LOW_PRESTART}
{campaigns/Legend_of_Wesmere/scenarios/North_elves_utils.cfg}
[story]

View file

@ -14,43 +14,22 @@
[/endlevel]
[/event]
#define INIT_LANDAR
[set_variable]
name=landar_quaffed_potion
value=false
[/set_variable]
#enddef
#define LANDAR_QUAFFS_POTION
[set_variable]
name=landar_quaffed_potion
value=true
[/set_variable]
#enddef
[event]
name=last breath
[filter]
id=Landar
[/filter]
[if]
[variable]
name=landar_quaffed_potion
boolean_equals=true
[/variable]
[then]
[message]
speaker=unit
message= _ "It is finished! I can finally rest!"
[/message]
[/then]
[else]
[message]
speaker=unit
message= _ "Farewell, Kalenz!"
[/message]
[/else]
[/if]
#ifdef LANDAR_SPOILED
[message]
speaker=unit
message= _ "It is finished! I can finally rest!"
[/message]
#else
[message]
speaker=unit
message= _ "Farewell, Kalenz!"
[/message]
#endif
[message]
id=Kalenz
message= _ "Nooo! We cannot continue without Landar!"