moved loading of actual npc definitions into yl specific file
This commit is contained in:
parent
8f38e5616c
commit
80c1a4b558
@ -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
|
||||
|
||||
|
||||
9
init.lua
9
init.lua
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user