Add files via upload

This commit is contained in:
loosewheel
2021-11-13 23:09:34 +10:00
committed by GitHub
parent 32df0b8420
commit 35ec093f88
11 changed files with 444 additions and 10 deletions

View File

@@ -129,6 +129,24 @@ end
-- check for mobs
if minetest.global_exists ("mobs") then
utils.mobs_supported = true
else
utils.mobs_supported = false
end
-- check for digistuff
if minetest.global_exists ("digistuff") then
utils.digistuff_supported = true
else
utils.digistuff_supported = false
end
function utils.can_interact_with_node (pos, player)
if not player or not player:is_player () then
return false