Wesnoth: Micro AI 'Guardian' Step 1
completed by: rspencer
mentors: Alarantalara, mattsc, Nils Kneuper
Convert one of the three existing Lua AIs in 'Guardians' (return guardian, stationed guardian or coward) to a Micro AI and document it on the Wesnoth wiki. The current AI requires the definition of a Lua engine and candidate actions if a campaign author wants to include it in a scenario. By contrast, Micro AIs can be included in a scenario very easily with a single WML tag, [micro_ai], such as
The goal of this task is to set up the Micro AI syntax for the existing AI, so that it can be activated in the existing scenario with this tag.
[micro_ai] side=2 ai_type=guardian action=add [/micro_ai]