Increase steel swords in chests

This commit is contained in:
rubenwardy 2018-01-26 22:07:00 +00:00
parent 6440e66cad
commit ff17a70010
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ treasurer.register_treasure("doors:door_steel",0.3,5,{1,3})
treasurer.register_treasure("default:pick_steel",0.5,5,{1,10})
treasurer.register_treasure("default:sword_stone",0.6,5,{1,10})
treasurer.register_treasure("default:sword_steel",0.3,5,{1,10})
treasurer.register_treasure("default:sword_steel",0.4,5,{1,4})
treasurer.register_treasure("default:shovel_stone",0.6,5,{1,10})
treasurer.register_treasure("default:shovel_steel",0.3,5,{1,10})

View file

@ -80,8 +80,8 @@ minetest.register_node("tsm_chests:chest", {
local h_min = -65 -- minimum chest spawning height, relative to water_level
local h_max = 40 -- maximum chest spawning height, relative to water_level
local t_min = 3 -- minimum amount of treasures found in a chest
local t_max = 6 -- maximum amount of treasures found in a chest
local t_min = 4 -- minimum amount of treasures found in a chest
local t_max = 7 -- maximum amount of treasures found in a chest
local water_level = tonumber(minetest.setting_get("water_level"))
local get_node = minetest.get_node
@ -213,5 +213,5 @@ function place_chests(minp, maxp, seed, number_chests)
end
end
print("Spawned " .. chests_placed .. " chests after " .. attempts .. " attempts!")
print("Spawned " .. chests_placed .. "/" .. number_chests .. " chests after " .. attempts .. " attempts!")
end