mirror of
http://repo.or.cz/minetest_pyramids/tsm_pyramids.git
synced 2025-01-09 07:50: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 = {}
|
local stacks = {}
|
||||||
-- Fill with sand in sand-flooded pyramids
|
-- Fill with sand in sand-flooded pyramids
|
||||||
if flood_sand then
|
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
|
end
|
||||||
-- Add treasures
|
-- Add treasures
|
||||||
if math.random(1,10) >= 7 then
|
if math.random(1,10) >= 7 then
|
||||||
|
Loading…
Reference in New Issue
Block a user