Backported 2008-09-02T04:23:49Z!shadowm@wesnoth.org
Optimized implicit units/ image paths
This commit is contained in:
parent
acdaa4e9ad
commit
f0bc7fd585
1 changed files with 15 additions and 9 deletions
|
@ -126,10 +126,10 @@
|
|||
[/objectives]
|
||||
|
||||
#ifdef EASY
|
||||
[variable]
|
||||
[set_variable]
|
||||
name=leader_attacked
|
||||
value=false
|
||||
[/variable]
|
||||
[/set_variable]
|
||||
#endif
|
||||
|
||||
# Add a useful village on 'trivial' difficulty'.
|
||||
|
@ -326,12 +326,12 @@
|
|||
[/message]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="human-loyalists/bowman-ranged-7.png~RC(magenta>red)"
|
||||
image="units/human-loyalists/bowman-ranged-7.png~RC(magenta>red)"
|
||||
message= _ "Bowmen have a strong ranged attack, and are very effective against units that lack a ranged attack, like Thieves and Thugs. They also carry a sword and can defend themselves against melee attacks."
|
||||
[/message]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="human-loyalists/spearman-defend.png~RC(magenta>red)"
|
||||
image="units/human-loyalists/spearman-defend.png~RC(magenta>red)"
|
||||
message= _ "Spearmen have a strong melee attack, and are effective against most units. They also have a weak ranged attack. They form the backbone of the South Guard."
|
||||
[/message]
|
||||
[message]
|
||||
|
@ -458,7 +458,7 @@
|
|||
#ifdef EASY
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="merfolk/hunter-defend.png~RC(magenta>red)"
|
||||
image="units/merfolk/hunter-defend.png~RC(magenta>red)"
|
||||
message= _ "You may now recruit Merman Hunters. Mermen are aquatic creatures. Keep them in rivers and swamps and they will fight well! Put them on dry land and they're in trouble!"
|
||||
[/message]
|
||||
#endif
|
||||
|
@ -598,10 +598,10 @@
|
|||
[filter_second]
|
||||
description=Urza Mathin
|
||||
[/filter_second]
|
||||
[variable]
|
||||
[set_variable]
|
||||
name=leader_attacked
|
||||
value=true
|
||||
[/variable]
|
||||
[/set_variable]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
@ -609,7 +609,9 @@
|
|||
[if]
|
||||
[variable]
|
||||
name=leader_attacked
|
||||
not_equals=true
|
||||
[not]
|
||||
boolean_equals=true
|
||||
[/not]
|
||||
[/variable]
|
||||
[then]
|
||||
[scroll_to_unit]
|
||||
|
@ -617,7 +619,7 @@
|
|||
[/scroll_to_unit]
|
||||
[message]
|
||||
speaker=narrator
|
||||
image="human-outlaws/bandit.png~RC(magenta>red)"
|
||||
image="units/human-outlaws/bandit.png~RC(magenta>red)"
|
||||
message= _ "Remember, your job is to defeat Urza Mathin. He should be your main target. Archers will be especially effective against him, because he has no ranged attack. Surround him, and kill him!"
|
||||
[/message]
|
||||
[/then]
|
||||
|
@ -659,5 +661,9 @@
|
|||
image=portraits/deoran-sad.png
|
||||
message= _ "This is worse than even my darkest fears. We must ride to Westin at once, and hope that Sir Loris is there and well! Come men! Ride for Westin!"
|
||||
[/message]
|
||||
|
||||
[clear_variable]
|
||||
name=leader_attacked
|
||||
[/clear_variable]
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
Loading…
Add table
Reference in a new issue