dont allow people to give you stuff when looting chests
Some checks failed
/ test (push) Failing after 36s

This commit is contained in:
Johan Lundberg 2026-08-04 21:01:34 +02:00
parent 57d348aede
commit 49db8d1900
4 changed files with 27 additions and 7 deletions

View file

@ -44,6 +44,7 @@ STATE: {Default} ~~ {
DoExpr {setvar[ChestType,Legendary Chest]} DoExpr {setvar[ChestType,Legendary Chest]}
Chat {/vt opt set enablenav true} Chat {/vt opt set enablenav true}
Chat {/vt opt set enablelooting true} Chat {/vt opt set enablelooting true}
Chat {/ub playeroption AllowGive true}
IF: All IF: All
MainSlotsLE 4 MainSlotsLE 4
DO: SetState {go_to_chests} DO: SetState {go_to_chests}
@ -52,6 +53,7 @@ STATE: {go_to_chests} ~~ {
IF: Always IF: Always
DO: DoAll DO: DoAll
Chat {/vt nav load legendary_chests} Chat {/vt nav load legendary_chests}
Chat {/ub playeroption AllowGive false}
SetWatchdog 10 300 {recall} SetWatchdog 10 300 {recall}
IF: NavEmpty IF: NavEmpty
DO: SetState {LootChest} DO: SetState {LootChest}

View file

@ -48,18 +48,20 @@ STATE: {Check} ~~ {
STATE: {Default} ~~ { STATE: {Default} ~~ {
IF: Always IF: Always
DO: DoAll DO: DoAll
Chat {/vt nav load None} Chat {/vt nav load None}
DoExpr {setvar[ChestType,Legendary Chest]} DoExpr {setvar[ChestType,Legendary Chest]}
Chat {/vt opt set enablenav true} Chat {/vt opt set enablenav true}
Chat {/vt opt set enablelooting true} Chat {/vt opt set enablelooting true}
Chat {/ub playeroption AllowGive true}
IF: All IF: All
MainSlotsLE 4 MainSlotsLE 4
DO: SetState {go_to_chests} DO: SetState {go_to_chests}
~~ } ~~ }
STATE: {go_to_chests} ~~ { STATE: {go_to_chests} ~~ {
IF: Always IF: Always
DO: DoAll DO: DoAll
Chat {/vt nav load legendary_chests} Chat {/vt nav load legendary_chests}
Chat {/ub playeroption AllowGive false}
SetWatchdog 10 300 {recall} SetWatchdog 10 300 {recall}
IF: NavEmpty IF: NavEmpty
DO: SetState {Check} DO: SetState {Check}
@ -76,7 +78,7 @@ STATE: {LootChest} ~~ {
~~ } ~~ }
STATE: {recall} ~~ { STATE: {recall} ~~ {
IF: Always IF: Always
DO: DoAll DO: DoAll
Chat {/vt nav load legendary_chests_ah} Chat {/vt nav load legendary_chests_ah}
SetWatchdog 10 300 {recall} SetWatchdog 10 300 {recall}
IF: NavEmpty IF: NavEmpty

View file

@ -24,7 +24,7 @@ K
V V
n n
n n
4 5
i i
2 2
s s
@ -50,6 +50,10 @@ i
2 2
s s
/vt opt set enablelooting true /vt opt set enablelooting true
i
2
s
/ub playeroption AllowGive true
s s
Default Default
i i
@ -83,12 +87,16 @@ K
V V
n n
n n
2 3
i i
2 2
s s
/vt nav load legendary_chests /vt nav load legendary_chests
i i
2
s
/ub playeroption AllowGive false
i
9 9
TABLE TABLE
2 2

View file

@ -88,7 +88,7 @@ K
V V
n n
n n
4 5
i i
2 2
s s
@ -114,6 +114,10 @@ i
2 2
s s
/vt opt set enablelooting true /vt opt set enablelooting true
i
2
s
/ub playeroption AllowGive true
s s
Default Default
i i
@ -147,12 +151,16 @@ K
V V
n n
n n
2 3
i i
2 2
s s
/vt nav load legendary_chests /vt nav load legendary_chests
i i
2
s
/ub playeroption AllowGive false
i
9 9
TABLE TABLE
2 2