Increase availability of items

This commit is contained in:
rubenwardy 2017-11-09 22:04:01 +00:00
parent cf429d7ec4
commit 6d5fdd6aa6
2 changed files with 13 additions and 13 deletions

View file

@ -12,8 +12,8 @@ treasurer.register_treasure("default:shovel_steel",0.3,5,{1,10})
treasurer.register_treasure("shooter:crossbow",0.5,2,{1,5}) treasurer.register_treasure("shooter:crossbow",0.5,2,{1,5})
treasurer.register_treasure("shooter:pistol",0.4,2,{1,5}) treasurer.register_treasure("shooter:pistol",0.4,2,{1,5})
treasurer.register_treasure("shooter:rifle",0.1,2,{1,2}) treasurer.register_treasure("shooter:rifle",0.1,2,{1,2})
treasurer.register_treasure("shooter:shotgun",0.05,2,1) treasurer.register_treasure("shooter:shotgun",0.04,2,1)
treasurer.register_treasure("shooter:grenade",0.08,2,1) treasurer.register_treasure("shooter:grenade",0.08,2,1)
treasurer.register_treasure("shooter:machine_gun",0.01,2,1) treasurer.register_treasure("shooter:machine_gun",0.02,2,1)
treasurer.register_treasure("shooter:ammo",0.3,2,{1,10}) treasurer.register_treasure("shooter:ammo",0.3,2,{1,10})
treasurer.register_treasure("shooter:arrow_white",0.5,2,{1,10}) treasurer.register_treasure("shooter:arrow_white",0.5,2,{2,18})

View file

@ -78,7 +78,7 @@ minetest.register_node("tsm_chests:chest", {
--[[ here are some configuration variables ]] --[[ here are some configuration variables ]]
local chests_per_chunk = 6 -- number of chests per chunk. 15 is a bit high, an actual mod might have a lower number local chests_per_chunk = 13 -- number of chests per chunk. 15 is a bit high, an actual mod might have a lower number
local h_min = -1 -- minimum chest spawning height, relative to water_level local h_min = -1 -- minimum chest spawning height, relative to water_level
local h_max = 64-43 -- maximum chest spawning height, relative to water_level local h_max = 64-43 -- maximum chest spawning height, relative to water_level
local t_min = 3 -- minimum amount of treasures found in a chest local t_min = 3 -- minimum amount of treasures found in a chest