Don't use sand in desert sand pyramids

This commit is contained in:
Wuzzy
2019-08-20 20:47:11 +02:00
parent 7b0c42954f
commit 08a750820b
2 changed files with 15 additions and 8 deletions

View File

@ -648,7 +648,7 @@ function tsm_pyramids.make_room(pos, stype, room_id)
else
minetest.log("error", "Invalid pyramid room style! room type ID="..r)
end
local sanded = room.flood_sand ~= false and math.random(1,8) == 1
local sanded = room.flood_sand ~= false and stype ~= "desert_stone" and math.random(1,8) == 1
if #chests > 0 then
-- Make at least 8 attempts to fill chests
local filled = 0