forked from github/server
3c2ae7ca93
1. all log messages will be terminated with \n, whether the user provided it or not. 2. remove a bunch of print() calls from scripts to reduce clutter 3. replace printf calls with log_* calls to reduce clutter 4. add the new release preview script
17 lines
289 B
Lua
17 lines
289 B
Lua
require 'eressea.path'
|
|
require 'eressea.resources'
|
|
require 'eressea.spells'
|
|
|
|
local self = {}
|
|
|
|
function self.update()
|
|
eressea.log.info('spawn dragons')
|
|
spawn_dragons()
|
|
eressea.log.info('spawn undead')
|
|
spawn_undead()
|
|
|
|
update_guards()
|
|
update_scores()
|
|
end
|
|
|
|
return self
|