add ugx mod

master
elite 2017-07-26 15:01:21 -04:00
parent a96f8391d8
commit 6b28eca2ca
2 changed files with 14 additions and 0 deletions

11
worldmods/ugx/init.lua Normal file
View File

@ -0,0 +1,11 @@
-- Temporarily prevent lava griefing until proper code can be written.
minetest.register_abm({
nodenames = {"default:lava_source"},
interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
if pos.y >= 0 then
minetest.remove_node(pos)
end
end
})

3
worldmods/ugx/readme.md Normal file
View File

@ -0,0 +1,3 @@
###UGX Realms
Custom server tweaks.