Add compatibility layer for minetest lightning mod
This commit is contained in:
parent
1ff41d6c89
commit
6867fb5ff0
7
mods/COMPAT/lightning/init.lua
Normal file
7
mods/COMPAT/lightning/init.lua
Normal file
@ -0,0 +1,7 @@
|
||||
lightning = {
|
||||
auto = true,
|
||||
effect_range = 500,
|
||||
}
|
||||
setmetatable(lightning, { __index = mcl_lightning })
|
||||
|
||||
minetest.register_alias("lightning:dying_flame", "mcl_fire:fire")
|
2
mods/COMPAT/lightning/mod.conf
Normal file
2
mods/COMPAT/lightning/mod.conf
Normal file
@ -0,0 +1,2 @@
|
||||
name = lightning
|
||||
depends = mcl_lightning
|
Loading…
x
Reference in New Issue
Block a user