All pastes #412059 Raw Edit

Miscellany

public text v1 · immutable
#412059 ·published 2007-03-27 13:44 UTC
rendered paste body
thomas_miller_AI = Mango.AIScripts.Create('thomas_miller_AI');

function thomas_miller_AI.DoShout(LuaAI)
	-- Fängt an
	LuaAI:DoSay("Frisch gebackenes Brot zu verkaufen!",0)
end

function thomas_miller_AI.Init(LuaAI)
	
        thomas_miller_AI.DoShout(LuaAI)
	LuaAI:SetUpdateInterval(150000)

	return true
end

function thomas_miller_AI.doShout(LuaAI)
         LuaAI:DoSay("Warmes, bekömmliches Brot!",0)
end

         function thomas_miller_AI.Init(LuaAI)
         LuaAI:SetUpdateInterval(300000)

         return true

end

function thomas_miller_AI.Update(LuaAI)
	
	thomas_miller_AI.DoShout(LuaAI)
end