DftFst.lua - about as documented as I can get it for now. Will finalize some NPC argument checks next time.

quest.lua - Script refactored.  Moved as much as possible out of the main function to tidy it up.  Folded in a complete-quest function from another script.  Only works with quest id numbers for now.  String support (eg. Man0u0) to come in another commit.
ObjectInnDoor.lua - Fixed it to handle events again with the current system.
This commit is contained in:
CuriousJorge 2022-03-09 22:23:10 -05:00
parent 08557f41fb
commit 01ec313ffb
3 changed files with 343 additions and 276 deletions

View file

@ -4,7 +4,7 @@ function init(npc)
return false, false, 0, 0;
end
function onEventStarted(player, npc, triggerName)
function onEventStarted(player, npc, eventType, eventName)
defaultFst = GetStaticActor("DftFst");
choice = callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithInn_ExitDoor", nil, nil, nil);