2014-08-06 23:47:16 +02:00
|
|
|
require 'eressea.path'
|
2014-07-26 23:41:56 +02:00
|
|
|
require 'eressea.resources'
|
|
|
|
require 'eressea.spells'
|
|
|
|
|
|
|
|
local self = {}
|
|
|
|
|
|
|
|
function self.update()
|
2014-08-11 12:02:16 +02:00
|
|
|
eressea.log.info('spawn dragons')
|
2014-07-26 23:41:56 +02:00
|
|
|
spawn_dragons()
|
2014-08-11 12:02:16 +02:00
|
|
|
eressea.log.info('spawn undead')
|
2014-07-26 23:41:56 +02:00
|
|
|
spawn_undead()
|
|
|
|
|
|
|
|
update_guards()
|
|
|
|
update_scores()
|
|
|
|
end
|
|
|
|
|
|
|
|
return self
|