Spawn monsters/treasure by depth.
This commit is contained in:
parent
0405fb8448
commit
3fe63e8fd8
4 changed files with 94 additions and 38 deletions
|
@ -9,7 +9,7 @@ function minetest.is_protected(pos, name)
|
|||
end
|
||||
|
||||
local node = get_node_or_nil(pos)
|
||||
if node and get_item_group(node.name, "fortress") ~= 0 then
|
||||
if node and get_item_group(node.name, "dungeon") ~= 0 then
|
||||
return true
|
||||
end
|
||||
if node and node.name == 'fun_caves:translocator' and (name == '' or not minetest.get_player_by_name(name)) then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue