add not working (crash) lightning

master
AFCMS 2021-05-01 17:12:01 +02:00
parent 431262c973
commit 8e4b05f9da
3 changed files with 6 additions and 2 deletions

View File

@ -3,4 +3,5 @@ local modpath = minetest.get_modpath(minetest.get_current_modname())
mcl_uhc = {}
dofile(modpath.."/drops.lua")
dofile(modpath.."/enchantments.lua")
dofile(modpath.."/enchantments.lua")
--dofile(modpath.."/lightning.lua")

3
lightning.lua Normal file
View File

@ -0,0 +1,3 @@
minetest.register_on_dieplayer(function(player, reason)
lightning.strike(player:get_pos())
end)

View File

@ -1,3 +1,3 @@
name=mcl_uhc
description=UHC aditions to MineClone2
depends=mcl_tools, mcl_enchanting, mcl_core
depends=mcl_tools, mcl_enchanting, mcl_core, lightning