forked from github/server
new players: more money, entertainers.
This commit is contained in:
parent
01969dfb40
commit
24dbe64ef7
|
@ -2,7 +2,7 @@ function seed(r, email, race, lang)
|
|||
local f = faction.create(email, race, lang)
|
||||
local u = unit.create(f, r)
|
||||
u:set_skill("perception", 30)
|
||||
u:add_item("money", 10000)
|
||||
u:add_item("money", 20000)
|
||||
items = {
|
||||
log = 50,
|
||||
stone = 50,
|
||||
|
@ -14,6 +14,7 @@ function seed(r, email, race, lang)
|
|||
for it, num in pairs(items) do
|
||||
u:add_item(it, num)
|
||||
end
|
||||
u = nil
|
||||
skills ={
|
||||
"crossbow",
|
||||
"mining",
|
||||
|
@ -35,15 +36,15 @@ function seed(r, email, race, lang)
|
|||
"roadwork",
|
||||
"tactics",
|
||||
"stealth",
|
||||
"entertainment",
|
||||
"weaponsmithing",
|
||||
"cartmaking",
|
||||
"taxation",
|
||||
"stamina"
|
||||
}
|
||||
unit.create(f, r, 50):set_skill("entertainment", 15)
|
||||
for _, sk in ipairs(skills) do
|
||||
u = unit.create(f, r, 5)
|
||||
u:set_skill(sk, 15)
|
||||
u = u or unit.create(f, r, 5)
|
||||
if u:set_skill(sk, 15)>0 then u=nil end
|
||||
end
|
||||
return f
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue