Lephisto/scripts/ai/draktharr.lua
Allanis 5a87b2da77 [Change] MAJOR AI rehaul, split all the lua stuff into generic templates.
[Add] Bomber attack routines.
[Fix] Bug with AI forgetting about you if another enemy attacks.
2013-11-10 05:03:59 +00:00

21 lines
405 B
Lua

include("../scripts/ai/tpl/generic.lua")
-- Settings.
aggressive = true
function create()
ai.setcredits(rnd.int(1000, ai.shipprice()/200))
end
function taunt(target, offense)
-- Offense is not actually used.
taunts = {
"Prepare for annihilation!",
"I shall wash my hull with your blood!",
"Your head will make a great trophy!"
}
ai.comm(target, taunts[rnd.int(1, #taunts)])
end