Micro AIs: remove all references to AI-demos add-on

This commit is contained in:
mattsc 2013-10-28 17:27:14 -07:00
parent 4fa7e06baf
commit 3a30675d2f
3 changed files with 1 additions and 8 deletions

View file

@ -144,12 +144,6 @@ function ca_healer_move:evaluation(ai, cfg, self)
end
function ca_healer_move:execution(ai, cfg, self)
-- Only show this message in the healer_support scenario in AI-Demos
local scenario = wesnoth.get_variable("scenario_name")
if (scenario == 'healer_support') then
W.message { speaker = self.data.HS_unit.id, message = 'Moving in to back injured and/or threatened units' }
end
AH.movefull_outofway_stopunit(ai, self.data.HS_unit, self.data.HS_hex)
self.data.HS_unit, self.data.HS_hex = nil, nil
end

View file

@ -1,5 +1,4 @@
local AH = wesnoth.require("ai/lua/ai_helper.lua")
local DBG = wesnoth.require "~/add-ons/AI-demos/lua/debug.lua"
local ca_recruit_rushers = {}

View file

@ -328,7 +328,7 @@
[event]
name=start
{MESSAGE narrator "wesnoth-icon.png" "Important Note" _"<span color='#A00000'>Important:</span> The animal Micro AIs in this scenario are written for a number of animal unit types that do not exist in Wesnoth mainline, such as bears, sheep and sheep dogs, or deer. In this test scenario, theses units have been replaced by mainline units. If you want to get the ""full experience"" with the original animal unit types, check out the 'Animals' scenario in the 'AI Modification Demos' add-on."}
{MESSAGE narrator "wesnoth-icon.png" "Important Note" _"<span color='#A00000'>Important:</span> The animal Micro AIs in this scenario are written for a number of animal unit types that do not exist in Wesnoth mainline, such as bears, sheep and sheep dogs, or deer. In this test scenario, these units have been replaced by mainline units."}
# wmlindent: start ignoring
{MESSAGE narrator "wesnoth-icon.png" "" _"This is a fun little scenario with a bunch of different animal AIs, mostly for watching only. The animal AIs behave as follows: