mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-30 11:47:45 +00:00

-Global.lua is no longer a catch-all dumping ground for registering actions and events Instead, Global.lua will actually contain useful global constants and functions -Init.lua will take over the role of being the initial script run when doing reloads or booting the servers -Actions.lua will take over registering all actions -Items.lua will take over registering all items -Commands.lua will take over registering all text commands -Events.lua will take over registering all warps, openings/quests, aetherytes, etc. To this end, event ids now live in organized tables to reduce error-prone copy paste clutter If we get enough actions, items or commands, we can move those to tables too.
20 lines
749 B
Lua
20 lines
749 B
Lua
-- Internally called CmnDefRetainerBell:721440
|
|
|
|
-- TODO: actually implement this menu
|
|
|
|
-- Scene 00000 - Unknown, softlocks
|
|
-- Scene 00001 - Unknown, does nothing right now
|
|
-- Scene 00002 - Softlocks, but brings up active help for "A Retainer's Many Tasks", so this is probably the bell's menu proper
|
|
-- Scene 00003 - Unknown, but it's mentioned in Scripter
|
|
-- Scene 01000 - You have not yet received approval to hire retainers.
|
|
-- Scene 01001 - You have not yet hired a retainer.
|
|
-- Scene 01002 - Unknown, does nothing right now
|
|
-- Scene 01003 - Unknown, does nothing right now
|
|
|
|
function onTalk(target, player)
|
|
player:play_scene(target, EVENT_ID, 01000, 0, 0)
|
|
end
|
|
|
|
function onReturn(scene, results, player)
|
|
player:finish_event(EVENT_ID)
|
|
end
|