convert macro calls to "complete strings with var"

This commit is contained in:
Nils Kneuper 2008-10-10 11:50:28 +00:00
parent 9cafab579b
commit 710caf97dd
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,8 @@
#define INVISIBILITY_POTION USER_ID
[object]
id=invisibility_potion_{USER_ID}
description= _ "Crelanu's philter affecting " + {USER_ID}
{VARIABLE users_ID {USER_ID}}
description= _ "Crelanu's philter affecting $users_ID"
duration=level
[filter]
id={USER_ID}

View File

@ -25,8 +25,9 @@
#define LOOT AMOUNT SIDE
[message]
{VARIABLE amount_gold {AMOUNT}}
speaker=narrator
message= _ "You retrieve " + {AMOUNT} + _ " pieces of gold."
message= _ "You retrieve $amount_gold pieces of gold."
image=wesnoth-icon.png
[/message]