made mobs(redo) an optional dependency

This commit is contained in:
Sokomine 2023-08-27 20:02:05 +02:00
parent dd5ea7e38f
commit 6626273867
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ yl_speak_up.custom_server_functions = {}
yl_speak_up.mob_table = {}
-- the real implementation happens in interface_mobs_api.lua
-- mobs.lua may need this at an earlier point
-- mob implementations may need this at an earlier point
yl_speak_up.mobs_on_rightclick = function(self, clicker)
if(not(yl_speak_up.do_mobs_on_rightclick)) then
return false

View File

@ -3,4 +3,4 @@ description = NPCs deliver speeches
release = 202009231753
title = Yourland Speak up
name = yl_speak_up
depends = mobs
optional_depends = mobs