This commit is contained in:
parent
d730715b14
commit
0f401a19a7
2 changed files with 515 additions and 11 deletions
|
|
@ -38,6 +38,9 @@
|
|||
~~ }
|
||||
|
||||
STATE: {Default}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
Chat {/vt opt set enablenav false}
|
||||
IF: All
|
||||
ChatCapture {(^(\[[A-z]+?\] |)You|.*\<Tell:IIDString:.+:(?<who>[^\<]*)\>.+\<\\Tell\>) .*, \"gem of knowledge (?<num>[0-9]+)\"$} {}
|
||||
Expr {cnumber[getvar[capturegroup_num]]>0}
|
||||
|
|
@ -56,9 +59,14 @@ STATE: {Default}
|
|||
ChatCapture {^(?<who>[A-Za-z][A-Za-z0-9 ]*) gives you (?<amount>[0-9,]+) Promissory Notes\.$} {}
|
||||
DO: DoAll
|
||||
ChatExpr {\/t +getvar[capturegroup_who]+` Thank you for the `+getvar[capturegroup_amount]+` Promissory Notes`}
|
||||
DoExpr {setvar[noteCount, "" + getitemcountininventorybyname["Promissory Notes"]]}
|
||||
ChatExpr {`/tell ` + getvar[capturegroup_who] + ` I now have ` + getvar[noteCount] + `/60,000 Promissory Notes in my backpack.`}
|
||||
|
||||
DoExpr {setvar[noteCount, "" + getitemcountininventorybyname["Promissory Note"]]}
|
||||
ChatExpr {`/t ` + getvar[capturegroup_who] + ` test`}
|
||||
ChatExpr {`/t ` + getvar[capturegroup_who] + ` I now have ` + getvar[noteCount] + `/60,000 in my backpack (via test)`}
|
||||
IF: All
|
||||
ItemCountGE 60000 {Promissory Note}
|
||||
DO: DoAll
|
||||
Chat {/a [Viridan Helper] Going for a gem run. See ya later nerds!}
|
||||
SetState {coin_run}
|
||||
IF: All
|
||||
ItemCountLE 10 {Gem of Knowledge}
|
||||
SecsInStateGE 60
|
||||
|
|
@ -71,7 +79,7 @@ STATE: {Default}
|
|||
Chat {/a [Box Of Ten Colosseum Coins] Opening...}
|
||||
SetState {open_boxes}
|
||||
|
||||
STATE: {open_boxes} ~~ {
|
||||
STATE: {open_boxes}
|
||||
IF: Death
|
||||
DO: SetState {Default}
|
||||
IF: ItemCountGE 1 {Box Of Ten Colosseum Coins}
|
||||
|
|
@ -82,12 +90,61 @@ STATE: {open_boxes} ~~ {
|
|||
SetState {Default}
|
||||
IF: Always
|
||||
DO: SetWatchdog 1 120 {Default}
|
||||
~~ }
|
||||
STATE: {open_box} ~~ {
|
||||
|
||||
STATE: {open_box}
|
||||
IF: Death
|
||||
DO: SetState {Default}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
Chat {/ub use Box Of Ten Colosseum Coins}
|
||||
SetState {open_boxes}
|
||||
~~ }
|
||||
|
||||
STATE: {ah_recall}
|
||||
IF: All
|
||||
Expr {testvar[navLoaded]}
|
||||
NavEmpty
|
||||
DO: DoAll
|
||||
DoExpr {clearvar[navLoaded]}
|
||||
SetState {Default}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
DoExpr {setvar[navLoaded, 1]}
|
||||
Chat {/vt nav load vr_helper_ah_recall}
|
||||
Chat {/vt opt set enablenav true}
|
||||
IF: Always
|
||||
DO: SetWatchdog 10 120 {stuck}
|
||||
|
||||
STATE: {coin_run}
|
||||
IF: All
|
||||
Expr {testvar[navLoaded]}
|
||||
NavEmpty
|
||||
DO: DoAll
|
||||
DoExpr {clearvar[navLoaded]}
|
||||
SetState {gem_run}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
DoExpr {setvar[navLoaded, 1]}
|
||||
Chat {/vt nav load nav_absalomsarraf}
|
||||
Chat {/vt opt set enablenav true}
|
||||
IF: Always
|
||||
DO: SetWatchdog 10 120 {stuck}
|
||||
|
||||
STATE: {gem_run}
|
||||
IF: All
|
||||
Expr {testvar[navLoaded]}
|
||||
NavEmpty
|
||||
DO: DoAll
|
||||
DoExpr {clearvar[navLoaded]}
|
||||
SetState {ah_recall}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
DoExpr {setvar[navLoaded, 1]}
|
||||
Chat {/vt nav load nav_colosseumcoincollector}
|
||||
Chat {/vt opt set enablenav true}
|
||||
IF: Always
|
||||
DO: SetWatchdog 10 120 {stuck}
|
||||
|
||||
STATE: {stuck}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
SetState {ah_recall}
|
||||
Loading…
Add table
Add a link
Reference in a new issue