mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 18:09:28 +00:00
T S2: WIP. Refactor/rewrite part 2
This commit is contained in:
parent
435ee2554e
commit
ea32d33833
@ -1,31 +1,28 @@
|
||||
border_size=1
|
||||
usage=map
|
||||
|
||||
Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp
|
||||
Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gll^Fp , Gs^Fms , Gll^Fp , Gll^Fp , Gll^Fp
|
||||
Gll^Fp , Gll^Fp , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fds , Gs^Fds , Gs^Fds , Gg^Ve , Cv , Gs^Fds , Kv , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gs^Fms , Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp
|
||||
Gll^Fp , Gll^Fp , Gll^Fp , Gs^Fms , Gll^Fp , Gs^Fms , Gs^Fms , Gs^Fds , Gs^Fds , Cv , 1 Kv , Cv , Cv , Gg^Ve , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp
|
||||
Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp , Gs^Fms , Gs^Fds , Gg^Ve , Gs^Fds , Cv , Rp , Gs^Fds , Gg , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp
|
||||
Gs^Fms , Gll^Fp , Gs^Fms , Gll^Fp , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fds , Gs^Fds , Gs^Fds , Rp , Gs^Fds , Gg , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gll^Fp , Gll^Fp , Gg^Ve , Gll^Fp , Gll^Fp
|
||||
Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fp , Gs^Fp , Gs^Fms , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Rp , Gg , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fp
|
||||
Gs^Fds , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fds , Gs^Fds , Gs^Fds , Rp , Rp , Gg^Efm , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gll^Fp , Gs^Fms , Gll^Fp , Gll^Fp , Gll^Fp
|
||||
Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fds , Gs^Fds , Gs^Fds , Ww , Gs^Fds , Gg^Fet , Gg^Efm , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fms , Gll^Fp
|
||||
Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Ss , Gs^Fds , Rp , Ss , Gs^Fds , Gg , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gs^Fms , Gs^Fms , Gll^Fp
|
||||
Gs^Fds , Gs^Fds , Gs^Fds , Ss , Gs^Fds , Gs^Fds , Gg^Ve , Gs^Fds , Ww , Ww^Bw| , Ww , Gg^Ve , Gs^Fds , Gs^Fds , Ww , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fms , Gs^Fms , Gll^Fp
|
||||
Ww , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Ww^Bw| , Wo , Ww , Ww , Ww , Gg , Ss , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fms , Gs^Fds , Gs^Fds
|
||||
Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Ww , Wo , Wo , Wo , Ww , Ww^Bw| , Ww , Wo , Wo , Ww , Ww , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds
|
||||
Ww , Ww , Ww , Ww , Wo , Wo , Ww , Wo , Gs^Fds , Ww^Bw| , Gg , Ww , Wo , Wo , Wo , Ww , Wo , Wo , Gg^Ve , Gs^Fds , Gs^Fds , Gs^Fds
|
||||
Wo , Wo , Wo , Wo , Wo , Wo , Wo , Gs^Fds , Ww , Gg , Gs^Fds , Gg^Ve , Wo , Wo , Wo , Wo , Wo , Ww , Ww , Gs^Fds , Ww , Ww
|
||||
Wo , Wo , Wo , Wo , Wo , Wo , Wo , Wo , Ww , Ww^Bw| , Ww , Ww , Wo , Wo , Wo , Wo , Wo , Wo , Wo , Ww , Wo , Wo
|
||||
Wo , Wo , Ww , Wo , Ww , Wo , Wo , Wo , Ww , Ww^Bw| , Ww , Ww , Wo , Wo , Wo , Wo , Wo , Wo , Ww , Ww , Wo , Wo
|
||||
Wo , Wo , Gs^Fds , Gs^Fds , Gs^Fds , Ww , Gs^Fds , Ww , Ww , Ww^Bw| , Ww , Wo , Ww , Wo , Ww , Ww , Ww , Wo , Ww , Wo , Wo , Wo
|
||||
Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Ww^Bw| , Gs^Fds , Ww , Gs^Fds , Ww , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gg , Ww , Ww , Ww
|
||||
Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gg^Ve , Gs^Fds , Gs^Fds , Rp , Rp , Gs^Fds , Gg , Gg , Gs^Fds , Gg^Ve , Gs^Fds , Gs^Fds , Gg , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds
|
||||
Gs^Fds , Gs^Fds , Gs^Fds , Gg , Rp , Gs^Fds , Rp , Rp , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gg , Gg , Gg , Gg , Gg , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds
|
||||
Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gg^Efm , Rp , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gg , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds
|
||||
Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gll^Fms , Rp , Rp , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gg , Gg , Gs^Fds , Gs^Fds , Gs^Fds
|
||||
Gll^Fms , Gll^Fms , Gll^Fms , Gll^Fms , Gll^Fms , Gs^Fds , Rp , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gg , Gs^Fds , Gg , Gs^Fds , Gg , Gs^Fds , Ce , Gg^Ve , Gs^Fds , Gs^Fds
|
||||
Gll^Fms , Gll^Fms , Gll^Fp , Gll^Fms , Gll^Fms , Gs^Fds , Gs^Fds , Rp , Rp , Gs^Fds , Gg , Gg , Gs^Fds , Gg , Gs^Fds , Gg , Gs^Fds , Ce , 2 Ke , Ce , Gs^Fds , Gs^Fds
|
||||
Gll^Fms , Gll^Fms , Gll^Fp , Gll^Fp , Gll^Fp , Gll^Fms , Gll^Fms , Gs^Fds , Gs^Fds , Rp , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Gs^Fds , Ce , Ce , Gs^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s^Fds, Gg, Gg, Gs^Fds, Gg, Gs^Fds, Gg, Gs^Fds, Ce, 2 Ke, Ce, Gs^Fds, Gs^Fds
|
||||
Gll^Fms, Gll^Fms, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fms, Gll^Fms, Gs^Fds, Gs^Fds, Rp, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Ce, Ce, Gs^Fds, Gs^Fds, Gs^Fds
|
||||
Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fms, Gll^Fms, Gll^Fms, Gs^Fds, Gg^Ve, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds
|
||||
Gll^Fp, Gll^Fp, Gll^Fp, Gll^Fp, Gs^Fds, Gll^Fp, Gll^Fp, Gll^Fms, Gs^Fds, Rp, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds, Gs^Fds
|
||||
|
@ -281,9 +281,12 @@
|
||||
|
||||
[side]
|
||||
side=2
|
||||
controller=ai
|
||||
gold=150
|
||||
canrecruit=yes
|
||||
gold=0 # FIXME
|
||||
recruit=Orcish Grunt,Wolf Rider,Orcish Archer
|
||||
team_name=orcs
|
||||
user_team_name= _ "team_name^Orcs"
|
||||
|
||||
type=Orcish Warrior
|
||||
id=Thrag
|
||||
@ -369,9 +372,9 @@
|
||||
{VARIABLE recruit_num 1}
|
||||
{VARIABLE income_exceeded 0}
|
||||
|
||||
#wmllint: local spelling Galdrad
|
||||
[message]
|
||||
speaker=student
|
||||
#wmllint: local spelling Galdrad
|
||||
message= _ "Ho, Galdrad! Has Delfador conjured something else to beat me with? A flock of scarecrows, perhaps?"
|
||||
[/message]
|
||||
|
||||
@ -452,10 +455,10 @@
|
||||
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _"You also have two new types of units to recruit this scenario: Elvish Archers and Elvish Shamans. I'll tell you more about them when you recruit them."
|
||||
message= _"You also have two new types of units to recruit this scenario: Elvish Archers and Elvish Shamans. I’ll tell you more about them when you recruit them."
|
||||
[/message]
|
||||
|
||||
{PRINT ( _ "Recruit and recall your troops")}
|
||||
{PRINT ( _ "Recruit or recall your troops")}
|
||||
[/event]
|
||||
|
||||
# Explaining the Shaman
|
||||
@ -484,11 +487,11 @@
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
# TODO: image?
|
||||
message= _"Unlike the Elvish Fighter, which has strong melee attacks, the Elvish Archer has strong ranged attacks. It's useful to attack enemy units with strong attacks of a type with units specializing in attacks of the opposite types, so you take less damage."
|
||||
message= _"Unlike the Elvish Fighter, which has strong melee attacks, the Elvish Archer has strong ranged attacks. It’s useful to attack enemy units with strong melee attacks with atrong ranged attacks, and vice versa. This allows your units to take less damage when your enemy counterattacks."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
# Mention upkeep
|
||||
# Mention upkeep and income
|
||||
[event]
|
||||
name=recruit,recall
|
||||
[filter]
|
||||
@ -498,209 +501,146 @@
|
||||
[have_unit]
|
||||
side=1
|
||||
race=elf
|
||||
count=6
|
||||
count=5
|
||||
[/have_unit]
|
||||
[/filter_condition]
|
||||
|
||||
{CLEAR_PRINT}
|
||||
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
# TODO: FIXME
|
||||
message= _"While none of your recruited units can move, you still can. Your five units cost you 5 gold in upkeep, leaving you 3 gold poorer per turn. You need more income."
|
||||
message= _ "While none of your recruited units can move yet, you still can. You need more income; there are some villages near the keep you can capture."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=capture
|
||||
first_time_only=no
|
||||
[filter]
|
||||
x=7,9,13
|
||||
y=4,2,3
|
||||
id=student
|
||||
[/filter]
|
||||
|
||||
[allow_undo][/allow_undo]
|
||||
# FIXME: If they somehow capture a village near keep, count could be wrong.
|
||||
{VARIABLE_OP villages_around_keep add 1}
|
||||
[if]
|
||||
{NUMEQ villages_around_keep 1}
|
||||
[then]
|
||||
# wmlindent: start ignoring
|
||||
# FIXME: Level 2 units change costs.
|
||||
{GENDER ({TEACHER (_"You’ve learned well, Konrad! " +
|
||||
_"The village supports one unit and pays 1 gold per turn. You’re only losing 1 gold per turn now.")})
|
||||
({TEACHER (_"You’ve learned well, Li’sar! " +
|
||||
_"The village supports one unit and pays 1 gold per turn. You’re only losing 1 gold per turn now.")})}
|
||||
# wmlindent: stop ignoring
|
||||
{PRINT (_"End your turn")}
|
||||
[/then]
|
||||
[/if]
|
||||
[if]
|
||||
{NUMEQ villages_around_keep 3}
|
||||
[then]
|
||||
{TEACHER (_"You’ve captured all the villages around the keep, but stay near so you can recruit more units.")}
|
||||
[/then]
|
||||
[/if]
|
||||
{PRINT ( _ "Capture a village")}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=capture
|
||||
[filter]
|
||||
side=1
|
||||
x=7,9,13
|
||||
y=4,2,3
|
||||
[not]
|
||||
id=student
|
||||
[/not]
|
||||
# x=7,9,13
|
||||
# y=4,2,3
|
||||
[/filter]
|
||||
|
||||
{GENDER ({TEACHER (_"You should leave the villages near your keep for Konrad to capture. He needs to stay nearby to recruit more units anyway.")})
|
||||
({TEACHER (_"You should leave the villages near your keep for Li’sar to capture. She needs to stay nearby to recruit more units anyway.")})}
|
||||
{UNDO_REMINDER}
|
||||
{CLEAR_PRINT}
|
||||
|
||||
# NOTE: give live income stats?
|
||||
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _ "Excellent! As Delfador mentioned earlier, each captured village will support one unit provide you with 1 extra gold per turn."
|
||||
[/message]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _ "Income and Upkeep"
|
||||
image=wesnoth-icon.png
|
||||
message= _ "Each turn, you will gain 2 gold pus one for each village you own. However, <i>upkeep</i> is subtracted for that. You can support as many levels worth of units as the number of villages you own; beyond that, you must pay 1 gold per turn. Be careful, as owning too many units can cause you to have negative income and lose gold per turn!"
|
||||
[/message]
|
||||
|
||||
{PRINT (_"End your turn")}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=turn 2
|
||||
{TALK_ABOUT Dumbo (_"Orcish Grunts have no ranged attacks, so use your archers against them.")}
|
||||
|
||||
{PRINT (_"Attack the orc with an Archer")}
|
||||
{NARRATOR _"Unit Summaries" _"To review the capabilities of any unit—including an enemy—hover the mouse over it, and you will see a unit summary on the right of the screen"}
|
||||
{CLEAR_PRINT}
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x=8,10
|
||||
y=8,8
|
||||
[/filter]
|
||||
{TEACHER (_"Excellent. Elves are well-protected in the forest. There’s only a 30% chance of hitting an Elvish Archer in that tile.")}
|
||||
[/event]
|
||||
{GENDER (
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _ "Now, young man, it is time to discuss strategy. Your units are ready to attack, and the orcish leader has begun gathering his own troops."
|
||||
[/message]
|
||||
) (
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _ "Now, young lady, it is time to discuss strategy. Your units are ready to attack, and the orcish leader has begun gathering his own troops."
|
||||
[/message]
|
||||
)}
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=9,8
|
||||
side=1
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=student
|
||||
message= _ "Galdrad, if I go by the ford, I could sneak up near his keep and dispatch him quickly!"
|
||||
[/message]
|
||||
|
||||
{TEACHER (_"It’s very dangerous to stand in water when there are enemies about! Your unit will have an 80% chance of being hit when the enemy counter-attacks! Get back!")}
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _ "You could. However, elves (and orcs) have bad <i>defense</i> in water. You’ll be more vulnerable as you try to wade slowly across the ford; the enemy will have an 80% chance to hit you. Since elves have good defense in the forest, I would advise you keep to the trees and attack the orcs from there; you’ll only have a 30% chance of being hit in return."
|
||||
[/message]
|
||||
|
||||
[allow_undo][/allow_undo]
|
||||
{UNDO_REMINDER}
|
||||
[/event]
|
||||
[message]
|
||||
speaker=student
|
||||
message= _ "Alright. The bridge it is, then!"
|
||||
[/message]
|
||||
|
||||
[event]
|
||||
name=attack_end
|
||||
{PRINT (_"Attack the orc with the other Archer")}
|
||||
[scroll_to_unit]
|
||||
id=Dumbo
|
||||
[/scroll_to_unit]
|
||||
|
||||
# FIXME: Can't nest events of same type: they both fire 8(
|
||||
# So set up this event on next attack.
|
||||
[event]
|
||||
name=attack
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
scroll=no
|
||||
message= _ "An Orcish Grunt appears to be blocking our path. He has no ranged attacks, so your archers should be able to engage him with little risk."
|
||||
[/message]
|
||||
|
||||
[event]
|
||||
name=attack_end
|
||||
# TODO: split this section into turn three, or an attack event?
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _ "Your units cannot reach the him this turn, but you should not let them languish! Move them into position so they can attack next turn. There are also other villages on this side of the river. You should secure them for income and healing."
|
||||
[/message]
|
||||
|
||||
{CLEAR_PRINT}
|
||||
{UNLABEL 14,3}
|
||||
{LABEL (_"Fighter to HERE") 19,5}
|
||||
{TALK_ABOUT_LOC 19,5 (_"Your other units cannot reach the orc this turn. Send a Fighter to the village in the far east of the map. It will take two turns to reach it.")}
|
||||
{NARRATOR _"Long-distance Movement" _"You can order a unit to move for multiple turns by selecting the unit and clicking on the destination. A number will indicate how many turns it will take to get there."}
|
||||
{PRINT (_"Tell a Fighter to move to the far east village")}
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _ "Long-distance Movement"
|
||||
image=wesnoth-icon.png
|
||||
message= _ "You can order a unit to move for multiple turns by selecting the unit and clicking on the destination. A number will indicate how many turns it will take to get there."
|
||||
[/message]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x,y=19,5
|
||||
[/filter]
|
||||
{UNLABEL 19,5}
|
||||
[/event]
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x=15-19
|
||||
y=1-6
|
||||
[/filter]
|
||||
[message]
|
||||
speaker=student
|
||||
message= _ "I think I’ll stick around the keep for now, in order to recruit more units."
|
||||
[/message]
|
||||
|
||||
{UNLABEL 19,5}
|
||||
{LABEL (_"Keep") 10,3}
|
||||
{TEACHER (_"Send the other Fighter and the Shaman south so they can attack next turn, then return to the keep to recruit more units!")}
|
||||
{GENDER ({PRINT (_"Move your Fighter and Shaman south, then return Konrad to the keep")})
|
||||
({PRINT (_"Move your Fighter and Shaman south, then return Li’sar to the keep")})}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
side=1
|
||||
x,y=10,3
|
||||
[/filter]
|
||||
{UNLABEL 10,3}
|
||||
{PRINT (_"Recruit another Archer and a Fighter")}
|
||||
{VARIABLE num_recruited 0}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=recruit
|
||||
first_time_only=no
|
||||
[filter]
|
||||
side=1
|
||||
[/filter]
|
||||
{UNLABEL 11,3}
|
||||
{VARIABLE_OP num_recruited add 1}
|
||||
[if]
|
||||
{NUMEQ num_recruited 2}
|
||||
[then]
|
||||
{STUDENT (_"I have no more money to recruit!")}
|
||||
{TEACHER (_"That is often a problem, which is why owning villages is important.")}
|
||||
{GENDER ({PRINT (_"Move Konrad to another (unowned) village")})
|
||||
({PRINT (_"Move Li’sar to another (unowned) village")})}
|
||||
[/then]
|
||||
[/if]
|
||||
[/event]
|
||||
[event]
|
||||
name=moveto
|
||||
[filter]
|
||||
x=7,9,13
|
||||
y=4,2,3
|
||||
id=student
|
||||
[/filter]
|
||||
{PRINT (_"End your turn")}
|
||||
[/event]
|
||||
[/event]
|
||||
[/event]
|
||||
[/event]
|
||||
{GENDER (
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _ "You’ve learned well, Konrad. It is indeed a good idea to keep your leader safe and protected and in range of your keep early in the game. The tide of battle can turn quickly, and you don’t want to find yourself cut off from recruiting reinforcements."
|
||||
[/message]
|
||||
) (
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _ "You’ve learned well, Li’sar. It is indeed a good idea to keep your leader safe and protected and in range of your keep early in the game. The tide of battle can turn quickly, and you don’t want to find yourself cut off from recruiting reinforcements."
|
||||
[/message]
|
||||
)}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=turn 3
|
||||
|
||||
{UNLABEL 11,3}
|
||||
{UNLABEL 12,3}
|
||||
|
||||
# Explain: Zone of Control
|
||||
{TALK_ABOUT Dumbo (_"That Grunt is blocking the bridge! We must occupy that island before the Wolf Riders reach it.")}
|
||||
{STUDENT (_"Can’t our units just move around him?")}
|
||||
|
||||
# All around Dumbo (9,14)
|
||||
{LABEL (_"ZoC") 10,14}
|
||||
{LABEL (_"ZoC") 8,14}
|
||||
{LABEL (_"ZoC") 9,13}
|
||||
{LABEL (_"ZoC") 9,15}
|
||||
{LABEL (_"ZoC") 10,13}
|
||||
{LABEL (_"ZoC") 8,13}
|
||||
[item]
|
||||
image=misc/highlight-hex.png
|
||||
[filter_adjacent]
|
||||
id=Dumbo
|
||||
[/filter_adjacent]
|
||||
[/item]
|
||||
|
||||
# FIXME: Figure out best unit choice.
|
||||
{TALK_ABOUT Dumbo (_"No. Once you move close to an enemy unit, you are in its <i>Zone of Control</i> and cannot move further that turn.
|
||||
To move your troops onto that island without wading slowly through the water, you’ll have to kill the Grunt.")}
|
||||
To move your troops onto that island without wading slowly through the water, you’ll have to kill the Grunt.")}
|
||||
{PRINT (_"Attack the orc with an Archer")}
|
||||
{UNLABEL 10,14}
|
||||
{UNLABEL 8,14}
|
||||
{UNLABEL 9,15}
|
||||
{UNLABEL 9,13}
|
||||
{UNLABEL 10,13}
|
||||
{UNLABEL 8,13}
|
||||
|
||||
[remove_item]
|
||||
image=misc/highlight-hex.png
|
||||
[/remove_item]
|
||||
|
||||
[event]
|
||||
name=attack_end
|
||||
|
||||
[filter_second]
|
||||
id=Dumbo
|
||||
[/filter_second]
|
||||
@ -911,7 +851,7 @@ To move your troops onto that island without wading slowly through the water, yo
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _"Using me to attack is risky! I can slow the opponent with my ranged attack, but I hope you have a plan if I miss!"
|
||||
message= _ "Using me to attack is risky! I can slow the opponent with my ranged attack, but I hope you have a plan if I miss!"
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
@ -975,7 +915,6 @@ To move your troops onto that island without wading slowly through the water, yo
|
||||
first_time_only=no
|
||||
[filter]
|
||||
side=1
|
||||
|
||||
[not]
|
||||
id=student
|
||||
[/not]
|
||||
@ -1074,77 +1013,59 @@ To move your troops onto that island without wading slowly through the water, yo
|
||||
{TALK_ABOUT Thrag (_"Beware of the orc leader: he can do 36 hitpoints of damage at night! Attack with many units at once during the day.")}
|
||||
[/event]
|
||||
|
||||
# What if they level the Shaman?
|
||||
# TODO: Shaman?
|
||||
|
||||
[event]
|
||||
name=post_advance
|
||||
[filter]
|
||||
side=1
|
||||
type=Elvish Marksman
|
||||
[/filter]
|
||||
# FIXME: Abilities.
|
||||
[if]
|
||||
[variable]
|
||||
name=unit.gender
|
||||
equals=male
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _"Advancing a level has fully healed me! I always have a 60% chance of hitting with my <i>Marksman</i> ability, and I deal 9 damage each for 4 attacks. Use me to dislodge hard-to-hit units."
|
||||
[/message]
|
||||
[/then]
|
||||
[else]
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _"female^Advancing a level has fully healed me! I always have a 60% chance of hitting with my <i>Marksman</i> ability, and I deal 9 damage each for 4 attacks. Use me to dislodge hard-to-hit units."
|
||||
[/message]
|
||||
[/else]
|
||||
[/if]
|
||||
|
||||
# FIXME: Abilities
|
||||
[message]
|
||||
speaker=unit
|
||||
message= _"Advancing a level has fully healed me! I always have a 60% chance of hitting with my <i>Marksman</i> ability, and I deal 9 damage each for 4 attacks. Use me to dislodge hard-to-hit units."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
|
||||
[event]
|
||||
name=post_advance
|
||||
[filter]
|
||||
side=1
|
||||
type=Elvish Ranger
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
#wmllint: display on
|
||||
message= _"Advancing a level has fully healed me!
|
||||
I am good with both bow and sword, and I have a special ability: <i>Ambush</i>. I can hide in forests where enemies can only see me if they are right next to me."
|
||||
#wmllint: display off
|
||||
message= _"Advancing a level has fully healed me! I am good with both bow and sword, and I have a special ability: <i>Ambush</i>. I can hide in forests where enemies can only see me if they are right next to me."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
|
||||
[event]
|
||||
name=post_advance
|
||||
[filter]
|
||||
side=1
|
||||
type=Elvish Captain
|
||||
[/filter]
|
||||
|
||||
[message]
|
||||
speaker=unit
|
||||
#wmllint: display on
|
||||
message= _"Advancing a level has fully healed me!
|
||||
I am good with both bow and sword, and I have a special ability: <i>Leadership</i>. First level units around me do 25% more damage, so position me carefully."
|
||||
#wmllint: display off
|
||||
message= _"Advancing a level has fully healed me! I am good with both bow and sword, and I have a special ability: <i>Leadership</i>. First level units around me do 25% more damage, so position me carefully."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
|
||||
[event]
|
||||
name=post_advance
|
||||
[filter]
|
||||
side=1
|
||||
type=Elvish Hero
|
||||
[/filter]
|
||||
|
||||
# FIXME: Abilities
|
||||
[message]
|
||||
speaker=unit
|
||||
#wmllint: display on
|
||||
message= _"Advancing a level has fully healed me!
|
||||
I am particularly good with the sword, dealing 8 damage in 4 attacks."
|
||||
#wmllint: display off
|
||||
message= _"Advancing a level has fully healed me! I am particularly good with the sword, dealing 8 damage in 4 attacks."
|
||||
[/message]
|
||||
[/event]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user