Make skills easier to aquire by lowering the amount of experience for each level
This commit is contained in:
parent
cbccea7ac5
commit
2f47364024
@ -89,7 +89,7 @@ function skills.get_skills_formspec(player)
|
||||
for id,skill in pairs(skills.available_skills) do
|
||||
sk = skills.get_skill(name,id)
|
||||
formspec = formspec.."label[1.5,"..tostring(i)..".2;"..skill.desc.."]"
|
||||
formspec = formspec.."label[3.5,"..tostring(i)..".2;"..sk.exp.." / "..tostring( ((sk.level^2) * skill.level_exp) ).."]"
|
||||
formspec = formspec.."label[3.5,"..tostring(i)..".2;"..sk.exp.." / "..tostring( (math.floor((sk.level^1.75)) * skill.level_exp) ).."]"
|
||||
formspec = formspec.."label[6,"..tostring(i)..".2;"..tostring(sk.level).." / "..tostring(skill.max_level).."]"
|
||||
formspec = formspec.."list[detached:"..name.."_skills;"..tostring(id)..";0.5,"..tostring(i)..";1,1;]"
|
||||
i = i + 1
|
||||
|
@ -1,11 +1,11 @@
|
||||
-- REGISTER THE SKILLS
|
||||
skills.register_skill(SKILL_WOOD, { desc = 'Wood', max_level = 10, level_exp = 15 })
|
||||
skills.register_skill(SKILL_STONE, { desc = 'Stone', max_level = 10, level_exp = 15 })
|
||||
skills.register_skill(SKILL_METAL, { desc = 'Metals', max_level = 25, level_exp = 20 })
|
||||
skills.register_skill(SKILL_CRYSTAL, { desc = 'Crystals', max_level = 40, level_exp = 15 })
|
||||
skills.register_skill(SKILL_WOOD, { desc = 'Wood', max_level = 10, level_exp = 5 })
|
||||
skills.register_skill(SKILL_STONE, { desc = 'Stone', max_level = 10, level_exp = 8 })
|
||||
skills.register_skill(SKILL_METAL, { desc = 'Metals', max_level = 25, level_exp = 10 })
|
||||
skills.register_skill(SKILL_CRYSTAL, { desc = 'Crystals', max_level = 40, level_exp = 10 })
|
||||
|
||||
skills.register_skill(SKILL_SMELTING, { desc = 'Smelting', max_level = 50, level_exp = 10 })
|
||||
skills.register_skill(SKILL_CRAFTING, { desc = 'Crafting', max_level = 50, level_exp = 10 })
|
||||
skills.register_skill(SKILL_SMELTING, { desc = 'Smelting', max_level = 50, level_exp = 5 })
|
||||
skills.register_skill(SKILL_CRAFTING, { desc = 'Crafting', max_level = 50, level_exp = 5 })
|
||||
|
||||
skills.register_skill(SKILL_ARROW, { desc = 'Bow and Arrow', max_level=10, level_exp = 25})
|
||||
skills.register_skill(SKILL_MAGIC, { desc = 'Magic', max_level=15, level_exp = 25})
|
||||
skills.register_skill(SKILL_ARROW, { desc = 'Bow and Arrow', max_level=10, level_exp = 15})
|
||||
skills.register_skill(SKILL_MAGIC, { desc = 'Magic', max_level=15, level_exp = 15})
|
||||
|
Loading…
x
Reference in New Issue
Block a user