mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 12:58:37 +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
|
#define INVISIBILITY_POTION USER_ID
|
||||||
[object]
|
[object]
|
||||||
id=invisibility_potion_{USER_ID}
|
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
|
duration=level
|
||||||
[filter]
|
[filter]
|
||||||
id={USER_ID}
|
id={USER_ID}
|
||||||
|
@ -25,8 +25,9 @@
|
|||||||
|
|
||||||
#define LOOT AMOUNT SIDE
|
#define LOOT AMOUNT SIDE
|
||||||
[message]
|
[message]
|
||||||
|
{VARIABLE amount_gold {AMOUNT}}
|
||||||
speaker=narrator
|
speaker=narrator
|
||||||
message= _ "You retrieve " + {AMOUNT} + _ " pieces of gold."
|
message= _ "You retrieve $amount_gold pieces of gold."
|
||||||
image=wesnoth-icon.png
|
image=wesnoth-icon.png
|
||||||
[/message]
|
[/message]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user