Merge branch 'master' of github.com:badgerman/eressea

This commit is contained in:
Enno Rehling 2014-10-12 21:27:33 +02:00
commit 815cf3edbc
4 changed files with 13 additions and 2 deletions

7
scripts/config.lua Normal file
View File

@ -0,0 +1,7 @@
local path = 'scripts'
if config.install then
path = config.install .. '/' .. path
end
package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
require 'eressea'
require 'eressea.xmlconf'

4
scripts/reports.lua Normal file
View File

@ -0,0 +1,4 @@
dofile('config.lua')
eressea.read_game(get_turn() + '.dat')
init_reports()
write_reports()

View File

@ -3,7 +3,7 @@ function new_faction(email, race, lang, r)
u = unit.create(f, r, 10) u = unit.create(f, r, 10)
u:add_item("log", 5); u:add_item("log", 5);
u:add_item("horse", 2); u:add_item("horse", 2);
u:add_item("silver", 1000); u:add_item("money", 1000);
u:add_item("adamantium", 1); u:add_item("adamantium", 1);
end end

View File

@ -3,7 +3,7 @@ function new_faction(email, race, lang, r)
u = unit.create(f, r, 10) u = unit.create(f, r, 10)
u:add_item("log", 5); u:add_item("log", 5);
u:add_item("horse", 2); u:add_item("horse", 2);
u:add_item("silver", 1000); u:add_item("money", 1000);
u:add_item("adamantium", 1); u:add_item("adamantium", 1);
end end