mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 20:27:40 +00:00
convert macro calls to "complete strings with var"
This commit is contained in:
parent
9cafab579b
commit
710caf97dd
@ -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}
|
||||
|
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user