mirror of
http://repo.or.cz/minetest_pyramids/tsm_pyramids.git
synced 2024-12-22 23:40:18 +01:00
Reduce amount of sand in chests
This commit is contained in:
parent
fb6cbbea66
commit
6fc1d927f8
2
init.lua
2
init.lua
@ -44,7 +44,7 @@ function tsm_pyramids.fill_chest(pos, stype, flood_sand)
|
||||
local stacks = {}
|
||||
-- Fill with sand in sand-flooded pyramids
|
||||
if flood_sand then
|
||||
table.insert(stacks, {name=sand, count = math.random(1,40)})
|
||||
table.insert(stacks, {name=sand, count = math.random(1,25)})
|
||||
end
|
||||
-- Add treasures
|
||||
if math.random(1,10) >= 7 then
|
||||
|
Loading…
Reference in New Issue
Block a user