moved loading of actual npc definitions into yl specific file

This commit is contained in:
Sokomine 2023-02-01 19:08:36 +01:00
parent 8f38e5616c
commit 80c1a4b558
2 changed files with 0 additions and 12 deletions

View File

@ -14,9 +14,6 @@
-- Set this only if you need to force-mute an NPC or something like that.
yl_speak_up.enable_staff_based_editing = true
-- enable/disable special mobs in the yl_speak_up-namespace (mobs_redo based)
yl_speak_up.enable_yl_mobs = true
-- Do the NPCs talk right after they spawned?
yl_speak_up.talk_after_spawn = true

View File

@ -233,14 +233,5 @@ if(yl_speak_up.enable_staff_based_editing) then
-- defining the staffs:
dofile(modpath .. "tools.lua")
end
-- mobs registered as yl_speak_up-mobs (based on mobs_redo)
if(yl_speak_up.enable_yl_mobs) then
-- react to right-click etc.
dofile(modpath .. "interface_mobs_api.lua")
-- the actual mobs, using mobs_redo
dofile(modpath .. "mobs.lua")
-- may store a table of registered mobs in the future; currently not really used
yl_speak_up.mob_table = yl_speak_up.init_mob_table() or {}
end
minetest.log("action","[MOD] yl_speak_up loaded tools and mobs")