mineclone2 compatibility
This commit is contained in:
parent
5b7e1c6b42
commit
d960bfb04e
@ -10,7 +10,9 @@ You can also add Mese to multiple sides in such a way to go in diagonal
|
||||
directions! However, Mese on opposing sides cancel each other. Thanks to
|
||||
oscar14 for the Gold-Mese-Transport idea!
|
||||
|
||||
If the default mod is not installed, another mod will need to use meseport's API to set what nodes it uses.
|
||||
If Mineclone2 is installed, this mod will instead use gold blocks and Redstone blocks for teleportation.
|
||||
|
||||
If neither of these mods are is not installed, another mod will need to use meseport's API to set what nodes it uses.
|
||||
|
||||
## API
|
||||
|
||||
|
8
init.lua
8
init.lua
@ -50,4 +50,12 @@ end
|
||||
if minetest.get_modpath("default") then
|
||||
meseport.nodepowers["default:mese"] = 100
|
||||
meseport.register_actionblock("default:goldblock")
|
||||
end
|
||||
|
||||
if minetest.get_modpath("mcl_core")
|
||||
and minetest.get_modpath("mesecons_torch")
|
||||
and minetest.registered_nodes["mesecons_torch:redstoneblock"] then
|
||||
|
||||
meseport.register_actionblock("mcl_core:goldblock")
|
||||
meseport.nodepowers["mesecons_torch:redstoneblock"] = 100
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user