diff --git a/mods/ctf_treasure/init.lua b/mods/ctf_treasure/init.lua index abaea3a..56db7b7 100644 --- a/mods/ctf_treasure/init.lua +++ b/mods/ctf_treasure/init.lua @@ -13,7 +13,7 @@ treasurer.register_treasure("shooter:pistol",0.5,2,{1,5}) treasurer.register_treasure("shooter:rifle",0.1,2,{1,2}) treasurer.register_treasure("shooter:shotgun",0.05,2,1) treasurer.register_treasure("shooter:machine_gun",0.01,2,1) -treasurer.register_treasure("shooter:ammo",0.5,2,{1,10}) +treasurer.register_treasure("shooter:ammo",0.3,2,{1,10}) --[[ treasurer.register_treasure("throwing:arrow_steel",0.1,5,{1,12}) @@ -29,5 +29,5 @@ treasurer.register_treasure("throwing:bow_steel",0.1,5,1) treasurer.register_treasure("default:pick_steel",0.3,5,{1,10}) treasurer.register_treasure("default:pick_mese",0.005,5,1) -treasurer.register_treasure("default:cobble",0.8,5,{1,99}) +treasurer.register_treasure("default:cobble",0.9,5,{20,99}) treasurer.register_treasure("default:sword_steel",0.8,5,{1,10}) diff --git a/mods/tsm_chests_example/init.lua b/mods/tsm_chests_example/init.lua index 72b300b..e04ccc2 100644 --- a/mods/tsm_chests_example/init.lua +++ b/mods/tsm_chests_example/init.lua @@ -106,8 +106,8 @@ minetest.register_node(":default:chest", { local chests_per_chunk = 5 -- number of chests per chunk. 15 is a bit high, an actual mod might have a lower number local h_min = 0 -- minimum chest spawning height, relative to water_level local h_max = 15 -- maximum chest spawning height, relative to water_level -local t_min = 2 -- minimum amount of treasures found in a chest -local t_max = 6 -- maximum amount of treasures found in a chest +local t_min = 3 -- minimum amount of treasures found in a chest +local t_max = 7 -- maximum amount of treasures found in a chest --[[ here comes the generation code the interesting part which involes treasurer comes way below