canary/data/scripts/actions/tools/watch.lua
Marco 2c6b196444
chore: adjusting file locations (#2798)
Removing several duplicate scripts and adjusting the logic of others.
Also added missing achievements.
2024-08-19 11:13:05 -03:00

9 lines
286 B
Lua

local watch = Action()
function watch.onUse(player, item, fromPosition, target, toPosition, isHotkey)
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The time is " .. getFormattedWorldTime() .. ".")
return true
end
watch:id(2445, 2446, 2447, 2448, 2906, 2771, 6091)
watch:register()