-
Notifications
You must be signed in to change notification settings - Fork 407
Open
Description
With this feature, is possible say hi on left click.
index fa9d4799..77ab43c2 100644
--- a/modules/game_interface/gameinterface.lua
+++ b/modules/game_interface/gameinterface.lua
@@ -714,6 +714,12 @@ function processMouseAction(menuPosition, mouseButton, autoWalkPos, lookThing, u
end
end
+ if creatureThing then
+ if creatureThing:isNpc() then
+ g_game.talk("hi")
+ return true
+ end
+ end
local player = g_game.getLocalPlayer()
player:stopAutoWalk()Metadata
Metadata
Assignees
Labels
No labels
