T: dropped variable usage in LABEL and PRINT

This commit is contained in:
Charles Dang 2014-12-30 00:00:27 +11:00
parent c8756ca92c
commit d2fdcefbcb

View file

@ -1,15 +1,12 @@
#textdomain wesnoth-tutorial
#define LABEL STRING POSITION
[set_variable]
name=label_string
value={STRING}
[/set_variable]
[label]
x,y={POSITION}
text=$label_string
text={STRING}
[/label]
{CLEAR_VARIABLE label_string}
#enddef
#define UNLABEL POSITION
[label]
x,y={POSITION}
@ -18,17 +15,12 @@
#enddef
#define PRINT STRING
[set_variable]
name=print_string
value={STRING}
[/set_variable]
[print]
text=$print_string
text={STRING}
size=18
duration=10000
red,green,blue=255,255,255
[/print]
{CLEAR_VARIABLE print_string}
#enddef
#define CLEAR_PRINT