added init.lua

This commit is contained in:
Sokomine 2024-03-22 22:25:32 +01:00
parent 4c24424102
commit ee4a2f27e4

13
init.lua Normal file
View File

@ -0,0 +1,13 @@
npc_talk_edit = {}
local modpath = minetest.get_modpath("npc_talk_edit")..DIR_DELIM
npc_talk_edit.modpath = modpath
npc_talk_edit.modname = minetest.get_current_modname()
npc_talk_edit.edit_mode = function()
dofile(modpath .. "edit_mode.lua")
end
yl_speak_up.register_on_reload(npc_talk_edit.edit_mode, "npc_talk_edit.edit_mode()")