~~ { ~~ FOR AUTO-COMPLETION ASSISTANCE: testvar getvar setvar touchvar clearallvars clearvar getcharintprop getchardoubleprop getcharquadprop getcharboolprop getcharstringprop getisspellknown getcancastspell_hunt getcancastspell_buff getcharvital_base getcharvital_current getcharvital_buffedmax getcharskill_traininglevel getcharskill_base getcharskill_buffed getplayerlandcell getplayercoordinates coordinategetns coordinategetwe coordinategetz coordinatetostring coordinateparse coordinatedistancewithz coordinatedistanceflat wobjectgetphysicscoordinates wobjectgetname wobjectgetobjectclass wobjectgettemplatetype wobjectgetisdooropen wobjectfindnearestmonster wobjectfindnearestdoor wobjectfindnearestbyobjectclass wobjectfindininventorybytemplatetype wobjectfindininventorybyname wobjectfindininventorybynamerx wobjectgetselection wobjectgetplayer wobjectfindnearestbynameandobjectclass actiontryselect actiontryuseitem actiontryapplyitem actiontrygiveitem actiontryequipanywand actiontrycastbyid actiontrycastbyidontarget chatbox chatboxpaste statushud statushudcolored uigetcontrol uisetlabel isfalse istrue iif randint cstr strlen getobjectinternaltype cstrf stopwatchcreate stopwatchstart stopwatchstop stopwatchelapsedseconds cnumber floor ceiling round abs getworldname getitemcountininventorybyname getheading getitemcountininventorybynamerx getheadingto actiontrygiveprofile vitae getfellowshipstatus getfellowshipname getfellowshipisopen getfellowshipisleader getfellowshipleaderid getfellowshipcanrecruit getfellowid getfellowshipcount getfellowshiplocked getfellowname getfellowshipisfull sin cos tan sqrt asin acos atan atan2 sinh cosh tanh vtsetmetastate getregexmatch echo chr ord wobjectgetid wobjectgethealth wobjectfindbyid wobjectgetintprop wobjectfindnearestbytemplatetype wobjectgetopencontainer testquestflag getquestktprogress isrefreshingquests getquestktrequired getqueststatus getisday getgamehour getgamehourname getisnight getgameday getgameticks getminutesuntilday getgamemonth getgamemonthname getminutesuntilnight getgameyear uisetvisible uiviewvisible uiviewexists getgvar touchgvar getpvar touchpvar setgvar cleargvar setpvar clearpvar testgvar clearallgvars testpvar clearallpvars dictgetitem dictcreate dicthaskey dictadditem dictkeys dictremovekey dictvalues dictclear dictsize dictcopy listgetitem listpop listcreate listcontains listremove listadd listindexof listremoveat listinsert listlastindexof listclear listcopy listcount listreverse ~~ ~~ File auto-generated by metaf, a program created by Eskarina of Morningthaw/Coldeve. ~~ Get metaf here: https://github.com/JJEII/metaf/ ~~ ~~ All recognized structural designators: ~~ STATE: DO: ~~ IF: NAV: ~~ ~~ All recognized CONDITION (IF:) operation keywords: ~~ Never NavEmpty MobsInDist_Priority Not ~~ Always Death NeedToBuff PSecsInStateGE ~~ All VendorOpen NoMobsInDist SecsOnSpellGE ~~ Any VendorClosed BlockE BuPercentGE ~~ ChatMatch ItemCountLE CellE DistToRteGE ~~ MainSlotsLE ItemCountGE IntoPortal Expr ~~ SecsInStateGE MobsInDist_Name ExitPortal ChatCapture ~~ ~~ All recognized ACTION (DO:) operation keywords: ~~ None EmbedNav ChatExpr SetOpt ~~ SetState CallState SetWatchdog CreateView ~~ Chat Return ClearWatchdog DestroyView ~~ DoAll DoExpr GetOpt DestroyAllViews ~~ ~~ All recognized NAV types: ~~ circular follow ~~ linear once ~~ ~~ All recognized NAV NODE types: ~~ flw vnd ~~ pnt ptl ~~ rcl tlk ~~ pau chk ~~ cht jmp ~~ prt (deprecated in VTank) ~~ } STATE: {Default} ~~ { IF: ExitPortal DO: SetState {mp_primary} IF: Always DO: Chat {/mp} ~~ } STATE: {jaw_hunt} ~~ { IF: ExitPortal DO: DoAll Chat {/vt opt set enablenav true} SetState {turn_in_jaw} IF: ItemCountGE 1 {Insatiable Eater Jaw} DO: DoAll Chat {/vt nav load to_fiun} ~~ } STATE: {jaw_run} ~~ { IF: NavEmpty DO: DoAll Chat {/vt nav load jaw_1_hunt} Chat {/vt opt set enablecombat true} Chat {/vt opt set enablelooting true} SetState {jaw_hunt} ~~ } STATE: {kill_bella} ~~ { IF: ChatCapture {You have solved this quest too recently!} {} DO: DoAll Chat {/vt nav load recallls} Chat {/vt opt set enablelooting false} ~~ } STATE: {mp_primary} ~~ { IF: Always DO: DoAll Chat {/vt nav load mp_primary} Chat {/vt opt set enablebuffing true} Chat {/vt opt set enablenav true} Chat {/vt opt set enablecombat true} Chat {/vt opt set enablelooting false} Chat {/vt opt set NavPriorityBoost false} Chat {/vt opt set navclosestoprange 0.008} IF: ExitPortal DO: DoAll Chat {/vt nav load jaw_1} SetState {jaw_run} ~~ } STATE: {mp_secondary} ~~ { IF: ExitPortal DO: DoAll Chat {/vt nav load to_bella} SetState {kill_bella} ~~ } STATE: {mp_trans} ~~ { IF: ExitPortal DO: DoAll Chat {/vt nav load mp_secondary} SetState {mp_secondary} ~~ } STATE: {turn_in_jaw} ~~ { IF: ChatMatch {^Fiun Rehlyun.*} DO: DoAll Chat {/mp} SetState {mp_trans} ~~ }