Merge pull request #4637 from Earth-Cake/tutorial-undo_reminder
Tutorial - remove repeating help messages
This commit is contained in:
commit
259ea6f628
2 changed files with 19 additions and 6 deletions
|
@ -178,6 +178,8 @@
|
|||
[disallow_end_turn]
|
||||
reason=_"You cannot end your turn until you have recruited troops and captured a village!"
|
||||
[/disallow_end_turn]
|
||||
|
||||
{VARIABLE undo_option yes}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
@ -1304,5 +1306,6 @@ Please report the bug."
|
|||
|
||||
{CLEAR_VARIABLE low_hp_unit_message,lhpu_msg_i}
|
||||
{CLEAR_VARIABLE spoke_about_income,spoke_about_orcs_crossing_river}
|
||||
{CLEAR_VARIABLE undo_option}
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
|
@ -52,12 +52,22 @@
|
|||
#enddef
|
||||
|
||||
#define UNDO_REMINDER
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _"Undo"
|
||||
image=wesnoth-icon.png
|
||||
message= _"Don’t forget, you can press <b>u</b> to undo most things if you make a mistake."
|
||||
[/message]
|
||||
[if]
|
||||
[variable]
|
||||
name=undo_option
|
||||
equals=yes
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _"Undo"
|
||||
image=wesnoth-icon.png
|
||||
message= _"Don’t forget, you can press <b>u</b> to undo most things if you make a mistake."
|
||||
[/message]
|
||||
|
||||
{CLEAR_VARIABLE undo_option}
|
||||
[/then]
|
||||
[/if]
|
||||
|
||||
[allow_undo][/allow_undo]
|
||||
#enddef
|
||||
|
|
Loading…
Add table
Reference in a new issue