server/scripts/eressea/init.lua
Enno Rehling 3c2ae7ca93 preview script and logging cleanup
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
2014-08-11 12:04:12 +02:00

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