Fix investigatethefactions: merge ChatMatch into travel states, remove Wait states
All checks were successful
/ test (push) Successful in 34s
All checks were successful
/ test (push) Successful in 34s
This commit is contained in:
parent
745546f7ff
commit
8b65cbf85a
2 changed files with 29 additions and 399 deletions
|
|
@ -20,57 +20,28 @@ STATE: {Default}
|
||||||
DO: SetState {GoToJondor}
|
DO: SetState {GoToJondor}
|
||||||
|
|
||||||
~~ Step 1: Travel to Zaikhal and talk to Jondor Torgren
|
~~ Step 1: Travel to Zaikhal and talk to Jondor Torgren
|
||||||
|
~~ ChatMatch fires in the same state while the tlk nav node triggers the dialog
|
||||||
STATE: {GoToJondor}
|
STATE: {GoToJondor}
|
||||||
IF: Death
|
IF: Death
|
||||||
DO: SetState {Death}
|
DO: SetState {Death}
|
||||||
IF: All
|
IF: ChatMatch {^Jondor Torgren tells you,}
|
||||||
NavEmpty
|
DO: SetState {GoToJawaq}
|
||||||
Expr {testvar[jondorNavLoaded]}
|
|
||||||
DO: SetState {WaitJondor}
|
|
||||||
IF: Always
|
IF: Always
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
EmbedNav nav_jondortorgren {Travel to Jondor Torgren}
|
EmbedNav nav_jondortorgren {Travel to Jondor Torgren}
|
||||||
DoExpr {touchvar[jondorNavLoaded]}
|
|
||||||
SetWatchdog 10.0 300.0 {Stuck}
|
SetWatchdog 10.0 300.0 {Stuck}
|
||||||
|
|
||||||
STATE: {WaitJondor}
|
|
||||||
IF: Death
|
|
||||||
DO: SetState {Death}
|
|
||||||
IF: ChatMatch {^Jondor Torgren tells you,}
|
|
||||||
DO: DoAll
|
|
||||||
DoExpr {clearvar[jondorNavLoaded]}
|
|
||||||
SetState {GoToJawaq}
|
|
||||||
IF: SecsInStateGE 30
|
|
||||||
DO: DoAll
|
|
||||||
DoExpr {clearvar[jondorNavLoaded]}
|
|
||||||
SetState {GoToJawaq}
|
|
||||||
|
|
||||||
~~ Step 2: Travel to Jawaq ibn Janath and talk to him
|
~~ Step 2: Travel to Jawaq ibn Janath and talk to him
|
||||||
STATE: {GoToJawaq}
|
STATE: {GoToJawaq}
|
||||||
IF: Death
|
IF: Death
|
||||||
DO: SetState {Death}
|
DO: SetState {Death}
|
||||||
IF: All
|
IF: ChatMatch {^Jawaq ibn Janath tells you,}
|
||||||
NavEmpty
|
DO: SetState {GoToLictorPit}
|
||||||
Expr {testvar[jawaqNavLoaded]}
|
|
||||||
DO: SetState {WaitJawaq}
|
|
||||||
IF: Always
|
IF: Always
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
EmbedNav nav_jawaqibnjanath {Travel to Jawaq ibn Janath}
|
EmbedNav nav_jawaqibnjanath {Travel to Jawaq ibn Janath}
|
||||||
DoExpr {touchvar[jawaqNavLoaded]}
|
|
||||||
SetWatchdog 10.0 300.0 {Stuck}
|
SetWatchdog 10.0 300.0 {Stuck}
|
||||||
|
|
||||||
STATE: {WaitJawaq}
|
|
||||||
IF: Death
|
|
||||||
DO: SetState {Death}
|
|
||||||
IF: ChatMatch {^Jawaq ibn Janath tells you,}
|
|
||||||
DO: DoAll
|
|
||||||
DoExpr {clearvar[jawaqNavLoaded]}
|
|
||||||
SetState {GoToLictorPit}
|
|
||||||
IF: SecsInStateGE 30
|
|
||||||
DO: DoAll
|
|
||||||
DoExpr {clearvar[jawaqNavLoaded]}
|
|
||||||
SetState {GoToLictorPit}
|
|
||||||
|
|
||||||
~~ Step 3: Move to the Blight Revenant Pit and kill Blight Lictor
|
~~ Step 3: Move to the Blight Revenant Pit and kill Blight Lictor
|
||||||
STATE: {GoToLictorPit}
|
STATE: {GoToLictorPit}
|
||||||
IF: Death
|
IF: Death
|
||||||
|
|
@ -98,32 +69,18 @@ STATE: {HuntLictor}
|
||||||
SetWatchdog 10.0 600.0 {Stuck}
|
SetWatchdog 10.0 600.0 {Stuck}
|
||||||
|
|
||||||
~~ Step 4: Return to Jawaq and give him the head
|
~~ Step 4: Return to Jawaq and give him the head
|
||||||
~~ nav_givehead nav walks back to Jawaq and issues /ub give via cht node
|
~~ nav_givehead walks back to Jawaq and issues /ub give via cht node
|
||||||
|
~~ Advance when letter appears in inventory
|
||||||
STATE: {GiveHead}
|
STATE: {GiveHead}
|
||||||
IF: Death
|
IF: Death
|
||||||
DO: SetState {Death}
|
DO: SetState {Death}
|
||||||
IF: All
|
IF: ItemCountGE 1 {Radiant Blood Letter of Introduction}
|
||||||
NavEmpty
|
DO: SetState {GoToVierana}
|
||||||
Expr {testvar[giveHeadNavLoaded]}
|
|
||||||
DO: SetState {WaitLetter}
|
|
||||||
IF: Always
|
IF: Always
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
EmbedNav nav_givehead {Return to Jawaq, give Blight Lictor's Head}
|
EmbedNav nav_givehead {Return to Jawaq, give Blight Lictor's Head}
|
||||||
DoExpr {touchvar[giveHeadNavLoaded]}
|
|
||||||
SetWatchdog 10.0 300.0 {Stuck}
|
SetWatchdog 10.0 300.0 {Stuck}
|
||||||
|
|
||||||
STATE: {WaitLetter}
|
|
||||||
IF: Death
|
|
||||||
DO: SetState {Death}
|
|
||||||
IF: ItemCountGE 1 {Radiant Blood Letter of Introduction}
|
|
||||||
DO: DoAll
|
|
||||||
DoExpr {clearvar[giveHeadNavLoaded]}
|
|
||||||
SetState {GoToVierana}
|
|
||||||
IF: SecsInStateGE 30
|
|
||||||
DO: DoAll
|
|
||||||
DoExpr {clearvar[giveHeadNavLoaded]}
|
|
||||||
SetState {GiveHead}
|
|
||||||
|
|
||||||
~~ Step 5: Travel to Ayan Baqur and give letter to Vierana du Canamorra
|
~~ Step 5: Travel to Ayan Baqur and give letter to Vierana du Canamorra
|
||||||
~~ nav_vieranaducanamorra walks to Vierana and issues /ub give via cht node
|
~~ nav_vieranaducanamorra walks to Vierana and issues /ub give via cht node
|
||||||
STATE: {GoToVierana}
|
STATE: {GoToVierana}
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ n
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
32
|
23
|
||||||
i
|
i
|
||||||
8
|
8
|
||||||
i
|
i
|
||||||
|
|
@ -43,35 +43,13 @@ Death
|
||||||
s
|
s
|
||||||
GoToJondor
|
GoToJondor
|
||||||
i
|
i
|
||||||
2
|
4
|
||||||
i
|
i
|
||||||
1
|
1
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
K
|
|
||||||
V
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
i
|
|
||||||
7
|
|
||||||
i
|
|
||||||
0
|
|
||||||
i
|
|
||||||
26
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
s
|
||||||
e
|
^Jondor Torgren tells you,
|
||||||
s
|
s
|
||||||
testvar[jondorNavLoaded]
|
GoToJawaq
|
||||||
s
|
|
||||||
WaitJondor
|
|
||||||
s
|
s
|
||||||
GoToJondor
|
GoToJondor
|
||||||
i
|
i
|
||||||
|
|
@ -86,7 +64,7 @@ K
|
||||||
V
|
V
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
3
|
2
|
||||||
i
|
i
|
||||||
4
|
4
|
||||||
ba
|
ba
|
||||||
|
|
@ -227,19 +205,6 @@ True
|
||||||
13.6436941782633
|
13.6436941782633
|
||||||
0.516687512397766
|
0.516687512397766
|
||||||
i
|
i
|
||||||
7
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
|
||||||
e
|
|
||||||
s
|
|
||||||
touchvar[jondorNavLoaded]
|
|
||||||
i
|
|
||||||
9
|
9
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
|
|
@ -271,111 +236,15 @@ i
|
||||||
s
|
s
|
||||||
Death
|
Death
|
||||||
s
|
s
|
||||||
WaitJondor
|
GoToJawaq
|
||||||
i
|
i
|
||||||
4
|
4
|
||||||
i
|
i
|
||||||
3
|
|
||||||
s
|
|
||||||
^Jondor Torgren tells you,
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
K
|
|
||||||
V
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
i
|
|
||||||
7
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
1
|
||||||
s
|
s
|
||||||
e
|
^Jawaq ibn Janath tells you,
|
||||||
s
|
s
|
||||||
clearvar[jondorNavLoaded]
|
GoToLictorPit
|
||||||
i
|
|
||||||
1
|
|
||||||
s
|
|
||||||
GoToJawaq
|
|
||||||
s
|
|
||||||
WaitJondor
|
|
||||||
i
|
|
||||||
6
|
|
||||||
i
|
|
||||||
3
|
|
||||||
i
|
|
||||||
30
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
K
|
|
||||||
V
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
i
|
|
||||||
7
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
|
||||||
e
|
|
||||||
s
|
|
||||||
clearvar[jondorNavLoaded]
|
|
||||||
i
|
|
||||||
1
|
|
||||||
s
|
|
||||||
GoToJawaq
|
|
||||||
s
|
|
||||||
WaitJondor
|
|
||||||
i
|
|
||||||
8
|
|
||||||
i
|
|
||||||
1
|
|
||||||
i
|
|
||||||
0
|
|
||||||
s
|
|
||||||
Death
|
|
||||||
s
|
|
||||||
GoToJawaq
|
|
||||||
i
|
|
||||||
2
|
|
||||||
i
|
|
||||||
1
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
K
|
|
||||||
V
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
i
|
|
||||||
7
|
|
||||||
i
|
|
||||||
0
|
|
||||||
i
|
|
||||||
26
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
|
||||||
e
|
|
||||||
s
|
|
||||||
testvar[jawaqNavLoaded]
|
|
||||||
s
|
|
||||||
WaitJawaq
|
|
||||||
s
|
s
|
||||||
GoToJawaq
|
GoToJawaq
|
||||||
i
|
i
|
||||||
|
|
@ -390,7 +259,7 @@ K
|
||||||
V
|
V
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
3
|
2
|
||||||
i
|
i
|
||||||
4
|
4
|
||||||
ba
|
ba
|
||||||
|
|
@ -904,19 +773,6 @@ True
|
||||||
-65.2727708180745
|
-65.2727708180745
|
||||||
0.0333541706204414
|
0.0333541706204414
|
||||||
i
|
i
|
||||||
7
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
|
||||||
e
|
|
||||||
s
|
|
||||||
touchvar[jawaqNavLoaded]
|
|
||||||
i
|
|
||||||
9
|
9
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
|
|
@ -948,80 +804,6 @@ i
|
||||||
s
|
s
|
||||||
Death
|
Death
|
||||||
s
|
s
|
||||||
WaitJawaq
|
|
||||||
i
|
|
||||||
4
|
|
||||||
i
|
|
||||||
3
|
|
||||||
s
|
|
||||||
^Jawaq ibn Janath tells you,
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
K
|
|
||||||
V
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
i
|
|
||||||
7
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
|
||||||
e
|
|
||||||
s
|
|
||||||
clearvar[jawaqNavLoaded]
|
|
||||||
i
|
|
||||||
1
|
|
||||||
s
|
|
||||||
GoToLictorPit
|
|
||||||
s
|
|
||||||
WaitJawaq
|
|
||||||
i
|
|
||||||
6
|
|
||||||
i
|
|
||||||
3
|
|
||||||
i
|
|
||||||
30
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
K
|
|
||||||
V
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
i
|
|
||||||
7
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
|
||||||
e
|
|
||||||
s
|
|
||||||
clearvar[jawaqNavLoaded]
|
|
||||||
i
|
|
||||||
1
|
|
||||||
s
|
|
||||||
GoToLictorPit
|
|
||||||
s
|
|
||||||
WaitJawaq
|
|
||||||
i
|
|
||||||
8
|
|
||||||
i
|
|
||||||
1
|
|
||||||
i
|
|
||||||
0
|
|
||||||
s
|
|
||||||
Death
|
|
||||||
s
|
|
||||||
GoToLictorPit
|
GoToLictorPit
|
||||||
i
|
i
|
||||||
2
|
2
|
||||||
|
|
@ -1294,35 +1076,26 @@ Death
|
||||||
s
|
s
|
||||||
GiveHead
|
GiveHead
|
||||||
i
|
i
|
||||||
2
|
12
|
||||||
i
|
i
|
||||||
1
|
1
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
K
|
|
||||||
V
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
i
|
|
||||||
7
|
|
||||||
i
|
|
||||||
0
|
|
||||||
i
|
|
||||||
26
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
k
|
||||||
v
|
v
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
|
2
|
||||||
|
s
|
||||||
|
n
|
||||||
|
s
|
||||||
|
Radiant Blood Letter of Introduction
|
||||||
|
s
|
||||||
|
c
|
||||||
|
i
|
||||||
1
|
1
|
||||||
s
|
s
|
||||||
e
|
GoToVierana
|
||||||
s
|
|
||||||
testvar[giveHeadNavLoaded]
|
|
||||||
s
|
|
||||||
WaitLetter
|
|
||||||
s
|
s
|
||||||
GiveHead
|
GiveHead
|
||||||
i
|
i
|
||||||
|
|
@ -1337,7 +1110,7 @@ K
|
||||||
V
|
V
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
3
|
2
|
||||||
i
|
i
|
||||||
4
|
4
|
||||||
ba
|
ba
|
||||||
|
|
@ -1401,19 +1174,6 @@ uTank2 NAV 1.2
|
||||||
0
|
0
|
||||||
2000
|
2000
|
||||||
i
|
i
|
||||||
7
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
|
||||||
e
|
|
||||||
s
|
|
||||||
touchvar[giveHeadNavLoaded]
|
|
||||||
i
|
|
||||||
9
|
9
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
|
|
@ -1445,93 +1205,6 @@ i
|
||||||
s
|
s
|
||||||
Death
|
Death
|
||||||
s
|
s
|
||||||
WaitLetter
|
|
||||||
i
|
|
||||||
12
|
|
||||||
i
|
|
||||||
3
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
s
|
|
||||||
n
|
|
||||||
s
|
|
||||||
Radiant Blood Letter of Introduction
|
|
||||||
s
|
|
||||||
c
|
|
||||||
i
|
|
||||||
1
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
K
|
|
||||||
V
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
i
|
|
||||||
7
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
|
||||||
e
|
|
||||||
s
|
|
||||||
clearvar[giveHeadNavLoaded]
|
|
||||||
i
|
|
||||||
1
|
|
||||||
s
|
|
||||||
GoToVierana
|
|
||||||
s
|
|
||||||
WaitLetter
|
|
||||||
i
|
|
||||||
6
|
|
||||||
i
|
|
||||||
3
|
|
||||||
i
|
|
||||||
30
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
K
|
|
||||||
V
|
|
||||||
n
|
|
||||||
n
|
|
||||||
2
|
|
||||||
i
|
|
||||||
7
|
|
||||||
TABLE
|
|
||||||
2
|
|
||||||
k
|
|
||||||
v
|
|
||||||
n
|
|
||||||
n
|
|
||||||
1
|
|
||||||
s
|
|
||||||
e
|
|
||||||
s
|
|
||||||
clearvar[giveHeadNavLoaded]
|
|
||||||
i
|
|
||||||
1
|
|
||||||
s
|
|
||||||
GiveHead
|
|
||||||
s
|
|
||||||
WaitLetter
|
|
||||||
i
|
|
||||||
8
|
|
||||||
i
|
|
||||||
1
|
|
||||||
i
|
|
||||||
0
|
|
||||||
s
|
|
||||||
Death
|
|
||||||
s
|
|
||||||
GoToVierana
|
GoToVierana
|
||||||
i
|
i
|
||||||
2
|
2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue