Add deprecation message for MICRO_AI_ANIMALS macro

This commit is contained in:
mattsc 2013-10-22 08:49:46 -07:00
parent e730d94591
commit a41a9fd3fb

View file

@ -104,6 +104,28 @@
[/engine]
{RCA_STAGE}
[/ai]
# Somewhat hacky way to get a deprecation message displayed
# This macro goes into the [side] tag, so ActionWML tags cannot be used
[unit]
type=Fog Clearer
x,y=1,1
id=ai_micro_ai_animals_fake_unit
[event]
name=prestart
id=ai_micro_ai_animals_deprecation_message
[wml_message]
logger=warn
message = "The MICRO_AI_ANIMALS macro is deprecated. Use the macros for the individual animal Micro AI engines instead."
[/wml_message]
[kill]
id=ai_micro_ai_animals_fake_unit
[/kill]
[/event]
[/unit]
#enddef
#define MICRO_AI_BIG_ANIMALS