dont allow people to give you stuff when looting chests
Some checks failed
/ test (push) Failing after 36s
Some checks failed
/ test (push) Failing after 36s
This commit is contained in:
parent
57d348aede
commit
49db8d1900
4 changed files with 27 additions and 7 deletions
|
|
@ -44,6 +44,7 @@ STATE: {Default} ~~ {
|
|||
DoExpr {setvar[ChestType,Legendary Chest]}
|
||||
Chat {/vt opt set enablenav true}
|
||||
Chat {/vt opt set enablelooting true}
|
||||
Chat {/ub playeroption AllowGive true}
|
||||
IF: All
|
||||
MainSlotsLE 4
|
||||
DO: SetState {go_to_chests}
|
||||
|
|
@ -52,6 +53,7 @@ STATE: {go_to_chests} ~~ {
|
|||
IF: Always
|
||||
DO: DoAll
|
||||
Chat {/vt nav load legendary_chests}
|
||||
Chat {/ub playeroption AllowGive false}
|
||||
SetWatchdog 10 300 {recall}
|
||||
IF: NavEmpty
|
||||
DO: SetState {LootChest}
|
||||
|
|
|
|||
|
|
@ -48,18 +48,20 @@ STATE: {Check} ~~ {
|
|||
STATE: {Default} ~~ {
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
Chat {/vt nav load None}
|
||||
Chat {/vt nav load None}
|
||||
DoExpr {setvar[ChestType,Legendary Chest]}
|
||||
Chat {/vt opt set enablenav true}
|
||||
Chat {/vt opt set enablelooting true}
|
||||
Chat {/ub playeroption AllowGive true}
|
||||
IF: All
|
||||
MainSlotsLE 4
|
||||
DO: SetState {go_to_chests}
|
||||
~~ }
|
||||
STATE: {go_to_chests} ~~ {
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
DO: DoAll
|
||||
Chat {/vt nav load legendary_chests}
|
||||
Chat {/ub playeroption AllowGive false}
|
||||
SetWatchdog 10 300 {recall}
|
||||
IF: NavEmpty
|
||||
DO: SetState {Check}
|
||||
|
|
@ -76,7 +78,7 @@ STATE: {LootChest} ~~ {
|
|||
~~ }
|
||||
STATE: {recall} ~~ {
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
DO: DoAll
|
||||
Chat {/vt nav load legendary_chests_ah}
|
||||
SetWatchdog 10 300 {recall}
|
||||
IF: NavEmpty
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ K
|
|||
V
|
||||
n
|
||||
n
|
||||
4
|
||||
5
|
||||
i
|
||||
2
|
||||
s
|
||||
|
|
@ -50,6 +50,10 @@ i
|
|||
2
|
||||
s
|
||||
/vt opt set enablelooting true
|
||||
i
|
||||
2
|
||||
s
|
||||
/ub playeroption AllowGive true
|
||||
s
|
||||
Default
|
||||
i
|
||||
|
|
@ -83,12 +87,16 @@ K
|
|||
V
|
||||
n
|
||||
n
|
||||
2
|
||||
3
|
||||
i
|
||||
2
|
||||
s
|
||||
/vt nav load legendary_chests
|
||||
i
|
||||
2
|
||||
s
|
||||
/ub playeroption AllowGive false
|
||||
i
|
||||
9
|
||||
TABLE
|
||||
2
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ K
|
|||
V
|
||||
n
|
||||
n
|
||||
4
|
||||
5
|
||||
i
|
||||
2
|
||||
s
|
||||
|
|
@ -114,6 +114,10 @@ i
|
|||
2
|
||||
s
|
||||
/vt opt set enablelooting true
|
||||
i
|
||||
2
|
||||
s
|
||||
/ub playeroption AllowGive true
|
||||
s
|
||||
Default
|
||||
i
|
||||
|
|
@ -147,12 +151,16 @@ K
|
|||
V
|
||||
n
|
||||
n
|
||||
2
|
||||
3
|
||||
i
|
||||
2
|
||||
s
|
||||
/vt nav load legendary_chests
|
||||
i
|
||||
2
|
||||
s
|
||||
/ub playeroption AllowGive false
|
||||
i
|
||||
9
|
||||
TABLE
|
||||
2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue