mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 19:10:07 +00:00
Added VARIATION.
This commit is contained in:
parent
dce5862c00
commit
462248e01c
@ -190,6 +190,13 @@
|
||||
[/unit]
|
||||
#enddef
|
||||
|
||||
#define VARIATION VARIATION_NAME
|
||||
# Meant to be used as a suffix to a unit-generating macro call.
|
||||
[+unit]
|
||||
variation={VARIATION_NAME}
|
||||
[/unit]
|
||||
#enddef
|
||||
|
||||
#define STORE_UNIT_VAR FILTER VAR TO_VAR_NAME
|
||||
# Stores an attribute of a unit to the given variable.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user