wesnoth/data/core/macros/deprecated-utils.cfg
2008-01-31 03:13:44 +00:00

35 lines
954 B
INI

#textdomain wesnoth
# These are clutter, scheduled to be removed.
# ! in comments is used for generating HTML documentation, ignore it otherwise.
#define DEPRECATE NAME VERSION
# Tag macros for removal, the VERSION argument is the
# release where the message is shown the first time.
# The removal will be 2 versions later.
[deprecated_message]
message="Macro '" + {NAME} + "' is scheduled for removal in Wesnoth " + {VERSION} + "."
[/deprecated_message]
#enddef
#define UNIT TYPE DESCRIPTION UDESCRIPTION SIDE X Y
# Create a unit with the Loyal trait.
#
# Example:
#! {UNIT (Elvish Fighter) (Myname) ( _ "Myname") 1 1 1}
#
[unit]
type={TYPE}
description={DESCRIPTION}
user_description={UDESCRIPTION}
side={SIDE}
x={X}
y={Y}
[modifications]
{TRAIT_LOYAL}
[/modifications]
[/unit]
{DEPRECATE "UNIT" 1.3.15}
#enddef