mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 03:01:19 +00:00

1) utils.cfg for shared tutorial utils, and use them in Level 1. 2) Minor Level 1 tweaks. 3) Level 2 teaches Zone of Control, Terrain, Recall, Advancement.
90 lines
1.9 KiB
Plaintext
90 lines
1.9 KiB
Plaintext
#define TEACHER MESSAGE
|
|
[message]
|
|
description=Galdrad
|
|
message={MESSAGE}
|
|
[/message]
|
|
#enddef
|
|
|
|
#define STUDENT MESSAGE
|
|
[message]
|
|
description=student
|
|
message={MESSAGE}
|
|
[/message]
|
|
#enddef
|
|
|
|
#define NARRATOR MESSAGE
|
|
[message]
|
|
speaker=narrator
|
|
message={MESSAGE}
|
|
[/message]
|
|
#enddef
|
|
|
|
#define UNDO_REMINDER
|
|
{NARRATOR (_"*Remember:
|
|
You can press 'u' to undo most things: useful to correct mistakes.")}
|
|
[allow_undo][/allow_undo]
|
|
#enddef
|
|
|
|
#define TALK_ABOUT UNIT MESSAGE
|
|
[scroll_to_unit]
|
|
description={UNIT}
|
|
[/scroll_to_unit]
|
|
# Pretend this is narrator, since otherwise we scroll back.
|
|
[message]
|
|
speaker=narrator
|
|
image=units/elves-wood/captain.png
|
|
message=_ "*Galdrad" + "
|
|
" + {MESSAGE}
|
|
[/message]
|
|
#enddef
|
|
|
|
#define TALK_NO_MOVE MESSAGE
|
|
# Pretend this is narrator, since otherwise we scroll back.
|
|
[message]
|
|
speaker=narrator
|
|
image=units/elves-wood/captain.png
|
|
message=_ "*Galdrad" + "
|
|
" + {MESSAGE}
|
|
[/message]
|
|
#enddef
|
|
|
|
#define TALK_ABOUT_LOC LOC MESSAGE
|
|
[scroll_to]
|
|
x,y={LOC}
|
|
[/scroll_to]
|
|
# Pretend this is narrator, since otherwise we scroll back.
|
|
[message]
|
|
speaker=narrator
|
|
image=units/elves-wood/captain.png
|
|
message=_ "*Galdrad" + "
|
|
" + {MESSAGE}
|
|
[/message]
|
|
#enddef
|
|
|
|
#define EXPLAIN_STRONG_INTELLIGENT DESCRIPTION
|
|
[if]
|
|
[variable]
|
|
name=strongint_explained
|
|
not_equals=done
|
|
[/variable]
|
|
[then]
|
|
{TEACHER ({DESCRIPTION} + _", your new recruit, has two traits: strong and intelligent. Strong means a unit does more damage, and intelligent means it requires less experience to advance a level.")}
|
|
{VARIABLE strongint_explained done}
|
|
[/then]
|
|
[/if]
|
|
#enddef
|
|
|
|
#define EXPLAIN_QUICK_RESILIENT DESCRIPTION
|
|
[if]
|
|
[variable]
|
|
name=quickres_explained
|
|
not_equals=done
|
|
[/variable]
|
|
[then]
|
|
{TEACHER ({DESCRIPTION} + _" has two traits: quick and resilient. Quick means a unit can move one tile further each turn, and resilient means it has more hitpoints.")}
|
|
{VARIABLE quickres_explained done}
|
|
[/then]
|
|
[/if]
|
|
#enddef
|
|
|