87 lines
5 KiB
Text
87 lines
5 KiB
Text
~~ {
|
|
~~ 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: {Check} ~~ {
|
|
IF: Any
|
|
ItemCountGE 1 {Aged Legendary Key}
|
|
DO: SetState {LootChest}
|
|
IF: All
|
|
ItemCountLE 0 {Aged Legendary Key}
|
|
DO: SetState {recall}
|
|
~~ }
|
|
STATE: {Default} ~~ {
|
|
IF: Always
|
|
DO: DoAll
|
|
Chat {/vt nav load None}
|
|
DoExpr {setvar[ChestType,Legendary Chest]}
|
|
Chat {/vt opt set enablenav true}
|
|
Chat {/vt opt set enablelooting true}
|
|
IF: Not CellE C95B0027
|
|
DO: SetState {recall}
|
|
IF: All
|
|
MainSlotsLE 4
|
|
DO: SetState {go_to_chests}
|
|
~~ }
|
|
STATE: {go_to_chests} ~~ {
|
|
IF: Always
|
|
DO: DoAll
|
|
Chat {/vt nav load legendary_chests}
|
|
SetWatchdog 10 300 {Default}
|
|
IF: NavEmpty
|
|
DO: SetState {Check}
|
|
|
|
~~ }
|
|
STATE: {LootChest} ~~ {
|
|
IF: Always
|
|
DO: Chat {/ub usep Aged Legendary key on Legendary Chest}
|
|
IF: SecsInStateGE 4
|
|
DO: Chat {/ub usep Legendary Chest}
|
|
IF: SecsInStateGE 5
|
|
DO: SetState {Check}
|
|
IF: SecsInStateGE 1
|
|
DO: Chat {/ub usep Legendary Chest}
|
|
~~ }
|
|
STATE: {recall} ~~ {
|
|
IF: Always
|
|
DO: DoAll
|
|
Chat {/vt nav load legendary_chests_ah}
|
|
SetWatchdog 10 300 {Default}
|
|
IF: NavEmpty
|
|
DO: SetState {Default}
|
|
~~ }
|