add disableLumCap variable to skip lum cap trigger
All checks were successful
/ test (push) Successful in 30s

This commit is contained in:
Erik 2026-03-07 23:12:18 +01:00
parent 3c9b60d473
commit 3e9fa581c8
3 changed files with 17 additions and 1 deletions

View file

@ -17,6 +17,7 @@ These must be set before loading the meta (e.g. via launcher or `/ub setvar`):
| `followTarget` | Yes (follower) | Follower | Leader's character name | | `followTarget` | Yes (follower) | Follower | Leader's character name |
| `navRoute` | Yes (leader) | Leader | Main hunting nav route name (e.g. `neftet_route`) | | `navRoute` | Yes (leader) | Leader | Main hunting nav route name (e.g. `neftet_route`) |
| `navWaitFollow` | Yes | Both | Return-to-start nav route name (e.g. `neftet_wait_follow`) | | `navWaitFollow` | Yes | Both | Return-to-start nav route name (e.g. `neftet_wait_follow`) |
| `disableLumCap` | No | Both | `0`/unset = allow lum cap, `1` = skip lum cap transitions |
## Auto-Detected Variables ## Auto-Detected Variables

View file

@ -10,6 +10,7 @@
~~ navRoute - main hunting route (leader only, e.g. neftet_route) ~~ navRoute - main hunting route (leader only, e.g. neftet_route)
~~ navWaitFollow - return-to-start route (both roles, e.g. neftet_wait_follow / neftet_wait_follow2) ~~ navWaitFollow - return-to-start route (both roles, e.g. neftet_wait_follow / neftet_wait_follow2)
~~ ammoType - 0 = mage/none, 1 = xbow, 2 = bow ~~ ammoType - 0 = mage/none, 1 = xbow, 2 = bow
~~ disableLumCap - 0 = enable lum_cap, 1 = skip lum_cap
~~ (navCloseStopRangeDefault removed - hardcoded to 0.00825 for both roles) ~~ (navCloseStopRangeDefault removed - hardcoded to 0.00825 for both roles)
~~ ~~
@ -136,6 +137,7 @@ STATE: {Hunt} ~~ {
DO: SetState {seer_cap} DO: SetState {seer_cap}
IF: All IF: All
Expr {getcharquadprop[6]>=1500000} Expr {getcharquadprop[6]>=1500000}
Expr {getvar[disableLumCap]!=1}
Any Any
Expr {getcharintprop[333]<5} Expr {getcharintprop[333]<5}
Expr {getcharintprop[334]<5} Expr {getcharintprop[334]<5}

View file

@ -671,7 +671,7 @@ K
V V
n n
n n
2 3
i i
26 26
TABLE TABLE
@ -686,6 +686,19 @@ e
s s
getcharquadprop[6]>=1500000 getcharquadprop[6]>=1500000
i i
26
TABLE
2
k
v
n
n
1
s
e
s
getvar[disableLumCap]!=1
i
3 3
TABLE TABLE
2 2