Lephisto/scripts/ai/draktharr.lua
2014-01-27 15:02:00 +00:00

27 lines
577 B
Lua

include("../scripts/ai/tpl/generic.lua")
-- Settings.
aggressive = true
function create()
ai.setcredits(rnd.int(1000, ai.shipprice()/200))
attack_choose()
if rnd.int() > 0.4 then
mem.bribe_no = "\"I shall especially enjoy your death.\""
else
mem.bribe_no = "\"You shall not buy my honor!\""
end
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