forked from ThomasMonroe314/ugxrealms
add ugx mod
This commit is contained in:
parent
a96f8391d8
commit
6b28eca2ca
11
worldmods/ugx/init.lua
Normal file
11
worldmods/ugx/init.lua
Normal 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
3
worldmods/ugx/readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
###UGX Realms
|
||||
|
||||
Custom server tweaks.
|
Loading…
x
Reference in New Issue
Block a user