Anonymous
public text v1 · immutablethomas_mille_AI = Mango.AIScripts.Create('thomas_mille_AI');
function thomas_mille_AI.DoShout(LuaAI)
-- run shout
LuaAI:DoSay("Fresh Bread to Sell",0)
end
function thomas_mille_AI.Init(LuaAI)
-- shout for the first time
thomas_mille_AI.DoShout(LuaAI)
-- set interval to continue shouting
LuaAI:SetUpdateInterval(300000)
-- we must always return true here
return true
end
function thomas_mille_AI.Update(LuaAI)
-- shout every update cycle
thomas_mille_AI.DoShout(LuaAI)
end