wesnoth/data/utils/deprecated-utils.cfg

25 lines
583 B
INI

# These are clutter, scheduled to be removed.
# This one it used to tag macros for removal, the number in the name is the
# release where the message is shown the first time.
# The removal will be 2 versions later.
#define DEPRECATE_132 NAME
[deprecated_message]
message="Macro '" + {NAME} + "' is scheduled for removal in Wesnoth 1.3.4."
[/deprecated_message]
#enddef
# Gives a side an amount of gold
# For example, lets make player 1 rich:
# {ADD_GOLD 1 999}
#define ADD_GOLD SIDE AMOUNT
{DEPRECATE_132 ADD_GOLD}
[gold]
side={SIDE}
amount={AMOUNT}
[/gold]
#enddef