Merge util files
This commit is contained in:
parent
18284fef33
commit
d859adef38
3 changed files with 97 additions and 100 deletions
|
@ -1,7 +1,5 @@
|
|||
#textdomain wesnoth-tutorial
|
||||
{./utils.cfg}
|
||||
# Comment this out for a faster (no-commentry) tutorial for testing.
|
||||
{./2_Speaking.cfg}
|
||||
|
||||
#define BADGUY TYPE NAME POSITION
|
||||
[unit]
|
||||
|
|
|
@ -1,98 +0,0 @@
|
|||
#textdomain wesnoth-tutorial
|
||||
|
||||
#wmllint: local spelling Galdrad
|
||||
|
||||
#define TEACHER MESSAGE_TEXT
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define STUDENT MESSAGE_TEXT
|
||||
[message]
|
||||
speaker=student
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define NARRATOR CAPTION_TEXT MESSAGE_TEXT
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption={CAPTION_TEXT}
|
||||
message={MESSAGE_TEXT}
|
||||
image=wesnoth-icon.png
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define UNDO_REMINDER
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _"Undo"
|
||||
message= _"Don’t forget, you can press <b>u</b> to undo most things; useful for correcting mistakes."
|
||||
image=wesnoth-icon.png
|
||||
[/message]
|
||||
[allow_undo][/allow_undo]
|
||||
#enddef
|
||||
|
||||
#define TALK_ABOUT ID_STRING MESSAGE_TEXT
|
||||
[scroll_to_unit]
|
||||
id={ID_STRING}
|
||||
[/scroll_to_unit]
|
||||
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
scroll=no
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define TALK_NO_MOVE MESSAGE_TEXT
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
scroll=no
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define TALK_ABOUT_LOC POSITION MESSAGE_TEXT
|
||||
[scroll_to]
|
||||
x,y={POSITION}
|
||||
[/scroll_to]
|
||||
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
scroll=no
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define EXPLAIN_STRONG_INTELLIGENT ID_STRING
|
||||
[if]
|
||||
[variable]
|
||||
name=strongint_explained
|
||||
not_equals=done
|
||||
[/variable]
|
||||
[then]
|
||||
#po: This string used as follows: "<unit name>', your new recruit, has two traits...'"
|
||||
# Could be male or female unit? If so, might need gender-specific translations?
|
||||
{TEACHER ({ID_STRING} + _", your new recruit, has two traits: <i>strong</i> and <i>intelligent</i>. ‘Strong’ means a unit does more damage, and ‘intelligent’ means it needs less experience to advance a level.")}
|
||||
{VARIABLE strongint_explained done}
|
||||
[/then]
|
||||
[/if]
|
||||
#enddef
|
||||
|
||||
#define EXPLAIN_QUICK_RESILIENT ID_STRING
|
||||
[if]
|
||||
[variable]
|
||||
name=quickres_explained
|
||||
not_equals=done
|
||||
[/variable]
|
||||
[then]
|
||||
#po: This string used as follows: "<unit name>' has two traits: <i>quick</i> and ...'"
|
||||
# Could be male or female unit? If so, might need gender-specific translations?
|
||||
{TEACHER ({ID_STRING} + _" has two traits: <i>quick</i> and <i>resilient</i>. ‘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
|
|
@ -110,3 +110,100 @@
|
|||
[/else]
|
||||
[/if]
|
||||
#enddef
|
||||
|
||||
#wmllint: local spelling Galdrad
|
||||
|
||||
#define TEACHER MESSAGE_TEXT
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define STUDENT MESSAGE_TEXT
|
||||
[message]
|
||||
speaker=student
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define NARRATOR CAPTION_TEXT MESSAGE_TEXT
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption={CAPTION_TEXT}
|
||||
message={MESSAGE_TEXT}
|
||||
image=wesnoth-icon.png
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define UNDO_REMINDER
|
||||
[message]
|
||||
speaker=narrator
|
||||
caption= _"Undo"
|
||||
message= _"Don’t forget, you can press <b>u</b> to undo most things; useful for correcting mistakes."
|
||||
image=wesnoth-icon.png
|
||||
[/message]
|
||||
[allow_undo][/allow_undo]
|
||||
#enddef
|
||||
|
||||
#define TALK_ABOUT ID_STRING MESSAGE_TEXT
|
||||
[scroll_to_unit]
|
||||
id={ID_STRING}
|
||||
[/scroll_to_unit]
|
||||
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
scroll=no
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define TALK_NO_MOVE MESSAGE_TEXT
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
scroll=no
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define TALK_ABOUT_LOC POSITION MESSAGE_TEXT
|
||||
[scroll_to]
|
||||
x,y={POSITION}
|
||||
[/scroll_to]
|
||||
|
||||
[message]
|
||||
speaker=Galdrad
|
||||
scroll=no
|
||||
message={MESSAGE_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define EXPLAIN_STRONG_INTELLIGENT ID_STRING
|
||||
[if]
|
||||
[variable]
|
||||
name=strongint_explained
|
||||
not_equals=done
|
||||
[/variable]
|
||||
[then]
|
||||
#po: This string used as follows: "<unit name>', your new recruit, has two traits...'"
|
||||
# Could be male or female unit? If so, might need gender-specific translations?
|
||||
{TEACHER ({ID_STRING} + _", your new recruit, has two traits: <i>strong</i> and <i>intelligent</i>. ‘Strong’ means a unit does more damage, and ‘intelligent’ means it needs less experience to advance a level.")}
|
||||
{VARIABLE strongint_explained done}
|
||||
[/then]
|
||||
[/if]
|
||||
#enddef
|
||||
|
||||
#define EXPLAIN_QUICK_RESILIENT ID_STRING
|
||||
[if]
|
||||
[variable]
|
||||
name=quickres_explained
|
||||
not_equals=done
|
||||
[/variable]
|
||||
[then]
|
||||
#po: This string used as follows: "<unit name>' has two traits: <i>quick</i> and ...'"
|
||||
# Could be male or female unit? If so, might need gender-specific translations?
|
||||
{TEACHER ({ID_STRING} + _" has two traits: <i>quick</i> and <i>resilient</i>. ‘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
|
||||
|
|
Loading…
Add table
Reference in a new issue