Code: Select all
function _M:bumpInto(target, x, y)
...
-- Talk ?
if target.player and self.can_talk then
local chat = Chat.new(self.can_talk, self, target)
chat:invoke()
if self.can_talk_only_once then self.can_talk = nil end
...
Moderator: Moderator
Code: Select all
function _M:bumpInto(target, x, y)
...
-- Talk ?
if target.player and self.can_talk then
local chat = Chat.new(self.can_talk, self, target)
chat:invoke()
if self.can_talk_only_once then self.can_talk = nil end
...