Merge pull request #4679 from Earth-Cake/tutorial-end_turn_disallowing
Tutorial S2 - Capturing village bug-fix, add more instructions about capturing and recruiting
This commit is contained in:
commit
0d6ba9ec9b
1 changed files with 59 additions and 21 deletions
|
@ -388,44 +388,82 @@ A full list of abilities and weapons specials, along with traits, may be found i
|
|||
[/message]
|
||||
|
||||
{PRINT ( _ "Capture a village")}
|
||||
|
||||
[disallow_end_turn]
|
||||
reason=_"You still have to capture a village!"
|
||||
[/disallow_end_turn]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=capture
|
||||
first_time_only=no
|
||||
|
||||
[filter]
|
||||
side=1
|
||||
[/filter]
|
||||
[filter_condition]
|
||||
[variable]
|
||||
name=turn_number
|
||||
numerical_equals=1
|
||||
[/variable]
|
||||
[/filter_condition]
|
||||
|
||||
{CLEAR_PRINT}
|
||||
|
||||
# NOTE: maybe give live income stats?
|
||||
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _ "Excellent! As Delfador mentioned earlier, each captured village will support one unit and provide you with 1 extra gold per turn."
|
||||
[/message]
|
||||
[if]
|
||||
[not]
|
||||
[have_unit]
|
||||
side=1
|
||||
race=elf
|
||||
count=5
|
||||
[/have_unit]
|
||||
[/not]
|
||||
[then]
|
||||
{PRINT ( _ "You forgot to recruit troops! You can press <b>u</b> to undo your last move.")}
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _ "Income and Upkeep"
|
||||
image=wesnoth-icon.png
|
||||
message= _ "Each turn, you will gain 2 gold plus one for each village you own. However, <i>upkeep</i> is subtracted from 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 each turn!"
|
||||
[/message]
|
||||
[disallow_end_turn]
|
||||
reason=_"You still have to recruit troops!"
|
||||
[/disallow_end_turn]
|
||||
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _ "Status Table"
|
||||
image=wesnoth-icon.png
|
||||
message= _ "The Status Table details the sides’ current status and starting conditions. Fog and shroud will affect what you can see in this table, and occasionally a side may be hidden; however, it is still useful to check this table when a scenario begins. You can access it in the <b>Menu</b> menu."
|
||||
[/message]
|
||||
[allow_undo] [/allow_undo]
|
||||
[/then]
|
||||
[else]
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message= _ "Excellent! As Delfador mentioned earlier, each captured village will support one unit and provide you with 1 extra gold per turn."
|
||||
[/message]
|
||||
|
||||
[allow_end_turn][/allow_end_turn]
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _ "Income and Upkeep"
|
||||
image=wesnoth-icon.png
|
||||
message= _ "Each turn, you will gain 2 gold plus one for each village you own. However, <i>upkeep</i> is subtracted from 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 each turn!"
|
||||
[/message]
|
||||
|
||||
{PRINT (_"End your turn")}
|
||||
[event]
|
||||
name=side 1 turn end
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _ "Status Table"
|
||||
image=wesnoth-icon.png
|
||||
message= _ "The Status Table details the sides’ current status and starting conditions. Fog and shroud will affect what you can see in this table, and occasionally a side may be hidden; however, it is still useful to check this table when a scenario begins. You can access it in the <b>Menu</b> menu."
|
||||
[/message]
|
||||
|
||||
[allow_end_turn][/allow_end_turn]
|
||||
|
||||
{PRINT (_"End your turn")}
|
||||
[event]
|
||||
name=side 1 turn end
|
||||
{CLEAR_PRINT}
|
||||
[/event]
|
||||
[/else]
|
||||
[/if]
|
||||
|
||||
[on_undo]
|
||||
{CLEAR_PRINT}
|
||||
[/event]
|
||||
|
||||
{PRINT ( _ "Recruit or recall your troops")}
|
||||
[/on_undo]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
|
Loading…
Add table
Reference in a new issue