make chests spawn more often

master
Brett O'Donnell 2012-10-02 11:12:26 +09:30
parent 1bce632ebc
commit 23d6b8a0b3
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ minetest.register_abm({
-- register_on_generated - spawns the chest
minetest.register_on_generated(function(minp, maxp, blockseed)
if math.random(1, 100) ~= 1 then
if math.random(1, 10) ~= 1 then
return
end
local tmp = {x=(maxp.x-minp.x)/2+minp.x, y=(maxp.y-minp.y)/2+minp.y, z=(maxp.z-minp.z)/2+minp.z}