added bellas macro
All checks were successful
/ test (push) Successful in 1m4s

This commit is contained in:
Johan Lundberg 2025-10-21 20:36:07 +02:00
parent a41b5f86ed
commit 096e6356ff
9 changed files with 1010 additions and 0 deletions

101
bella.af Normal file
View file

@ -0,0 +1,101 @@
~~ {
~~ FOR AUTO-COMPLETION ASSISTANCE: testvar getvar setvar touchvar clearallvars clearvar getcharintprop getchardoubleprop getcharquadprop getcharboolprop getcharstringprop getisspellknown getcancastspell_hunt getcancastspell_buff getcharvital_base getcharvital_current getcharvital_buffedmax getcharskill_traininglevel getcharskill_base getcharskill_buffed getplayerlandcell getplayercoordinates coordinategetns coordinategetwe coordinategetz coordinatetostring coordinateparse coordinatedistancewithz coordinatedistanceflat wobjectgetphysicscoordinates wobjectgetname wobjectgetobjectclass wobjectgettemplatetype wobjectgetisdooropen wobjectfindnearestmonster wobjectfindnearestdoor wobjectfindnearestbyobjectclass wobjectfindininventorybytemplatetype wobjectfindininventorybyname wobjectfindininventorybynamerx wobjectgetselection wobjectgetplayer wobjectfindnearestbynameandobjectclass actiontryselect actiontryuseitem actiontryapplyitem actiontrygiveitem actiontryequipanywand actiontrycastbyid actiontrycastbyidontarget chatbox chatboxpaste statushud statushudcolored uigetcontrol uisetlabel isfalse istrue iif randint cstr strlen getobjectinternaltype cstrf stopwatchcreate stopwatchstart stopwatchstop stopwatchelapsedseconds cnumber floor ceiling round abs getworldname getitemcountininventorybyname getheading getitemcountininventorybynamerx getheadingto actiontrygiveprofile vitae getfellowshipstatus getfellowshipname getfellowshipisopen getfellowshipisleader getfellowshipleaderid getfellowshipcanrecruit getfellowid getfellowshipcount getfellowshiplocked getfellowname getfellowshipisfull sin cos tan sqrt asin acos atan atan2 sinh cosh tanh vtsetmetastate getregexmatch echo chr ord wobjectgetid wobjectgethealth wobjectfindbyid wobjectgetintprop wobjectfindnearestbytemplatetype wobjectgetopencontainer testquestflag getquestktprogress isrefreshingquests getquestktrequired getqueststatus getisday getgamehour getgamehourname getisnight getgameday getgameticks getminutesuntilday getgamemonth getgamemonthname getminutesuntilnight getgameyear uisetvisible uiviewvisible uiviewexists getgvar touchgvar getpvar touchpvar setgvar cleargvar setpvar clearpvar testgvar clearallgvars testpvar clearallpvars dictgetitem dictcreate dicthaskey dictadditem dictkeys dictremovekey dictvalues dictclear dictsize dictcopy listgetitem listpop listcreate listcontains listremove listadd listindexof listremoveat listinsert listlastindexof listclear listcopy listcount listreverse
~~
~~ File auto-generated by metaf, a program created by Eskarina of Morningthaw/Coldeve.
~~ Get metaf here: https://github.com/JJEII/metaf/
~~
~~ All recognized structural designators:
~~ STATE: DO:
~~ IF: NAV:
~~
~~ All recognized CONDITION (IF:) operation keywords:
~~ Never NavEmpty MobsInDist_Priority Not
~~ Always Death NeedToBuff PSecsInStateGE
~~ All VendorOpen NoMobsInDist SecsOnSpellGE
~~ Any VendorClosed BlockE BuPercentGE
~~ ChatMatch ItemCountLE CellE DistToRteGE
~~ MainSlotsLE ItemCountGE IntoPortal Expr
~~ SecsInStateGE MobsInDist_Name ExitPortal ChatCapture
~~
~~ All recognized ACTION (DO:) operation keywords:
~~ None EmbedNav ChatExpr SetOpt
~~ SetState CallState SetWatchdog CreateView
~~ Chat Return ClearWatchdog DestroyView
~~ DoAll DoExpr GetOpt DestroyAllViews
~~
~~ All recognized NAV types:
~~ circular follow
~~ linear once
~~
~~ All recognized NAV NODE types:
~~ flw vnd
~~ pnt ptl
~~ rcl tlk
~~ pau chk
~~ cht jmp
~~ prt (deprecated in VTank)
~~ }
STATE: {Default} ~~ {
IF: ExitPortal
DO: SetState {mp_primary}
IF: Always
DO: Chat {/mp}
~~ }
STATE: {jaw_hunt} ~~ {
IF: ExitPortal
DO: DoAll
Chat {/vt opt set enablenav true}
SetState {turn_in_jaw}
IF: ItemCountGE 1 {Insatiable Eater Jaw}
DO: DoAll
Chat {/vt nav load to_fiun}
~~ }
STATE: {jaw_run} ~~ {
IF: NavEmpty
DO: DoAll
Chat {/vt nav load jaw_1_hunt}
Chat {/vt opt set enablecombat true}
Chat {/vt opt set enablelooting true}
SetState {jaw_hunt}
~~ }
STATE: {kill_bella} ~~ {
IF: ChatCapture {You have solved this quest too recently!} {}
DO: DoAll
Chat {/vt nav load recallls}
Chat {/vt opt set enablelooting false}
~~ }
STATE: {mp_primary} ~~ {
IF: Always
DO: DoAll
Chat {/vt nav load mp_primary}
Chat {/vt opt set enablebuffing true}
Chat {/vt opt set enablenav true}
Chat {/vt opt set enablecombat true}
Chat {/vt opt set enablelooting false}
Chat {/vt opt set NavPriorityBoost false}
Chat {/vt opt set navclosestoprange 0.008}
IF: ExitPortal
DO: DoAll
Chat {/vt nav load jaw_1}
SetState {jaw_run}
~~ }
STATE: {mp_secondary} ~~ {
IF: ExitPortal
DO: DoAll
Chat {/vt nav load to_bella}
SetState {kill_bella}
~~ }
STATE: {mp_trans} ~~ {
IF: ExitPortal
DO: DoAll
Chat {/vt nav load mp_secondary}
SetState {mp_secondary}
~~ }
STATE: {turn_in_jaw} ~~ {
IF: ChatMatch {^Fiun Rehlyun.*}
DO: DoAll
Chat {/mp}
SetState {mp_trans}
~~ }

291
bella.met Normal file
View file

@ -0,0 +1,291 @@
1
CondAct
5
CType
AType
CData
AData
State
n
n
n
n
n
11
i
20
i
1
i
0
s
mp_primary
s
Default
i
1
i
2
i
0
s
/mp
s
Default
i
20
i
3
i
0
TABLE
2
K
V
n
n
2
i
2
s
/vt opt set enablenav true
i
1
s
turn_in_jaw
s
jaw_hunt
i
12
i
3
TABLE
2
k
v
n
n
2
s
n
s
Insatiable Eater Jaw
s
c
i
1
TABLE
2
K
V
n
n
1
i
2
s
/vt nav load to_fiun
s
jaw_hunt
i
7
i
3
i
0
TABLE
2
K
V
n
n
4
i
2
s
/vt nav load jaw_1_hunt
i
2
s
/vt opt set enablecombat true
i
2
s
/vt opt set enablelooting true
i
1
s
jaw_hunt
s
jaw_run
i
28
i
3
TABLE
2
k
v
n
n
2
s
p
s
You have solved this quest too recently!
s
c
s
TABLE
2
K
V
n
n
2
i
2
s
/vt nav load recallls
i
2
s
/vt opt set enablelooting false
s
kill_bella
i
1
i
3
i
0
TABLE
2
K
V
n
n
7
i
2
s
/vt nav load mp_primary
i
2
s
/vt opt set enablebuffing true
i
2
s
/vt opt set enablenav true
i
2
s
/vt opt set enablecombat true
i
2
s
/vt opt set enablelooting false
i
2
s
/vt opt set NavPriorityBoost false
i
2
s
/vt opt set navclosestoprange 0.008
s
mp_primary
i
20
i
3
i
0
TABLE
2
K
V
n
n
2
i
2
s
/vt nav load jaw_1
i
1
s
jaw_run
s
mp_primary
i
20
i
3
i
0
TABLE
2
K
V
n
n
2
i
2
s
/vt nav load to_bella
i
1
s
kill_bella
s
mp_secondary
i
20
i
3
i
0
TABLE
2
K
V
n
n
2
i
2
s
/vt nav load mp_secondary
i
1
s
mp_secondary
s
mp_trans
i
4
i
3
s
^Fiun Rehlyun.*
TABLE
2
K
V
n
n
2
i
2
s
/mp
i
1
s
mp_trans
s
turn_in_jaw

271
jaw_1.nav Normal file
View file

@ -0,0 +1,271 @@
uTank2 NAV 1.2
4
53
0
-101.643393707275
17.8825289090474
2.08333134651184E-05
0
4
-101.742709143957
17.8811597506205
-0.474979146321615
0
/ub jumpsw 300
0
-101.592045052846
17.8805678685506
-0.0999791701634725
0
0
-101.554651578267
17.8813594023387
-0.0999791701634725
0
0
-101.533706283569
17.8833907604218
-0.0999791701634725
0
0
-101.534181054433
17.8413492997487
-0.0999791701634725
0
0
-101.48626130422
17.841304953893
-0.0999791701634725
0
0
-101.490094470978
17.8813687324524
-0.0999791701634725
0
0
-101.407286643982
17.884686867396
-0.124979170163473
0
0
-101.441320260366
17.801603158315
-0.124979170163473
0
0
-101.466675154368
17.7969429810842
-0.124979170163473
0
0
-101.516472848256
17.8459821859996
-0.124979170163473
0
0
-101.531043752035
17.8853654225667
-0.124979170163473
0
0
-101.575432650248
17.8846518675486
-0.124979170163473
0
0
-101.575820668538
17.7591938654582
-0.149979162216187
0
0
-101.529988797506
17.7609985669454
-0.149979162216187
0
0
-101.53424466451
17.8423960208893
-0.174979162216187
0
0
-101.583576202393
17.8416724999746
-0.174979162216187
0
0
-101.57072356542
17.8728516896566
-0.174979162216187
0
0
-101.595848846436
17.8807149728139
-0.174979162216187
0
4
-101.742709143957
17.8811597506205
-0.474979146321615
0
/ub jumpsw 300
0
-101.622127024333
17.8804373105367
-0.274979146321615
0
0
-101.616229724884
17.9339917182922
-0.274979146321615
0
0
-101.612587674459
17.9819168567657
-0.296296882629395
0
0
-101.615892442067
18.0119011123975
-0.299979146321615
0
0
-101.590025297801
18.0101968288422
-0.303131580352783
0
0
-101.529243914286
18.0071381568909
-0.324979146321615
0
0
-101.53581682841
17.9724334478378
-0.324979146321615
0
0
-101.572706063588
17.9642690896988
-0.324979146321615
0
0
-101.578296979268
17.9251905759176
-0.324979146321615
0
0
-101.61803188324
17.9257889827093
-0.324979146321615
0
0
-101.620800844828
17.9667853593826
-0.324979146321615
0
0
-101.617472012838
18.0454295317332
-0.349979146321615
0
0
-101.660903453827
18.0499082385407
-0.349979146321615
0
0
-101.658096440633
17.9865849812826
-0.374979146321615
0
0
-101.658587837219
17.9719900369644
-0.374979146321615
0
0
-101.69858379364
17.9644167820613
-0.374979146321615
0
0
-101.706780131658
17.9288707415263
-0.374979146321615
0
0
-101.743702141444
17.921234814326
-0.374979146321615
0
0
-101.775855763753
17.9226232131322
-0.374979146321615
0
0
-101.784734662374
17.9344542185465
-0.374979146321615
0
0
-101.78315264384
18.0072518110275
-0.349979146321615
0
0
-101.86580046018
18.008648399512
-0.374979146321615
0
0
-101.888455645243
18.0071597099304
-0.374979146321615
0
4
-101.742709143957
17.8811597506205
-0.474979146321615
0
/ub jumpsw 300
0
-101.913387115796
18.0075169881185
-0.474979146321615
0
0
-101.889330867926
18.0084470907847
-0.474979146321615
0
0
-101.844996301333
17.9643644889196
-0.474979146321615
0
0
-101.825047651927
17.9635365645091
-0.474979146321615
0
0
-101.821242467562
17.9419899145762
-0.474979146321615
0
0
-101.786994679769
17.9041363716125
-0.474979146321615
0
0
-101.782102791468
17.8818953514099
-0.474979146321615
0
0
-101.747181431452
17.8816454569499
-0.474979146321615
0

18
jaw_1_hunt.nav Normal file
View file

@ -0,0 +1,18 @@
uTank2 NAV 1.2
2
3
0
-101.742507108053
17.8811453342438
-0.474979146321615
0
0
-101.743644094467
17.9669194221497
-0.474979146321615
0
0
-101.740604893366
17.7961617628733
-0.474979146321615
0

26
mp_primary.nav Normal file
View file

@ -0,0 +1,26 @@
uTank2 NAV 1.2
4
4
0
-100.903506819407
-15.7145868619283
2.08333134651184E-05
0
4
59.305216662089
-28.7897483189901
0.0500208298365275
0
/tell brycter's tinker, primary
3
59.305216662089
-28.7897483189901
0.0500208298365275
0
15000
4
59.305216662089
-28.7897483189901
0.0500208298365275
0
/ub portal Gateway

26
mp_secondary.nav Normal file
View file

@ -0,0 +1,26 @@
uTank2 NAV 1.2
4
4
0
-100.903506819407
-15.7145868619283
2.08333134651184E-05
0
4
59.305216662089
-28.7897483189901
0.0500208298365275
0
/tell brycter's tinker, secondary
3
59.305216662089
-28.7897483189901
0.0500208298365275
0
15000
4
59.305216662089
-28.7897483189901
0.0500208298365275
0
/ub portal Gateway

15
recallls.nav Normal file
View file

@ -0,0 +1,15 @@
uTank2 NAV 1.2
4
2
3
59.3695845603943
-28.744246006012
0.0500250021616618
0
5000
4
59.3695845603943
-28.744246006012
0.0500250021616618
0
/ls

124
to_bella.nav Normal file
View file

@ -0,0 +1,124 @@
uTank2 NAV 1.2
4
24
0
-101.390033086141
-34.0253916422526
-0.0249791661898295
0
4
-101.328641001383
-33.2287128210068
-0.149979162216187
0
/ub jumpsw 300
0
-101.366710281372
-34.0219579060872
-0.149979162216187
0
0
-101.366858164469
-33.8953051884969
-0.149979162216187
0
0
-101.321553548177
-33.9012914657593
-0.149979162216187
0
0
-101.323536745707
-33.8343835830688
-0.149979162216187
0
0
-101.353078460693
-33.8121692021688
-0.149979162216187
0
0
-101.404804865519
-33.7821842829386
-0.149979162216187
0
0
-101.424748166402
-33.7638031005859
-0.149979162216187
0
0
-101.445881970723
-33.7280899047852
-0.149979162216187
0
0
-101.451853593191
-33.690558942159
-0.149979162216187
0
0
-101.449750614166
-33.6623808542887
-0.149979162216187
0
0
-101.438445281982
-33.6300983428955
-0.149979162216187
0
0
-101.423911094666
-33.6047841389974
-0.149979162216187
0
0
-101.403232828776
-33.5813950856527
-0.149979162216187
0
0
-101.376367441813
-33.5687754631042
-0.149979162216187
0
0
-101.333241081238
-33.5651614507039
-0.149979162216187
0
0
-101.326871236165
-33.5639857610067
-0.149979162216187
0
0
-101.326964759827
-33.5253623962402
-0.149979162216187
0
0
-101.32373790741
-33.4787105560303
-0.164920441309611
0
0
-101.323082987467
-33.4038849989573
-0.174979162216187
0
0
-101.324518013
-33.3609972953796
-0.163745148976644
0
0
-101.325564702352
-33.3339033285777
-0.149979162216187
0
0
-101.328641001383
-33.2287128210068
-0.149979162216187
0

138
to_fiun.nav Normal file
View file

@ -0,0 +1,138 @@
uTank2 NAV 1.2
4
24
4
59.3259333292643
-28.520225016276
0.0500208298365275
0
/ls
0
59.3297518730164
-28.7442257563273
0.0500208298365275
0
0
59.3718955357869
-28.729271697998
0.0500208298365275
0
6
59.3259333292643
-28.520225016276
0.0500208298365275
0
Portal to Town Network
14
True
59.3936458587647
-28.7256083488464
0.0508250035345554
0
-101.626594352722
-96.6541770299276
2.08333134651184E-05
0
0
-101.65105082194
-96.684996064504
2.08333134651184E-05
0
0
-101.656385644277
-96.6919414202372
2.08333134651184E-05
0
0
-101.658911323547
-96.7065850257873
2.08333134651184E-05
0
0
-101.657806046804
-96.7835428237915
2.08333134651184E-05
0
0
-101.657771333059
-96.819224357605
2.08333134651184E-05
0
0
-101.657725207011
-96.8666128794352
2.08333134651184E-05
0
0
-101.669049962362
-96.9007548014323
2.08333134651184E-05
0
0
-101.680845673879
-96.9425307591756
2.08333134651184E-05
0
0
-101.683536847432
-96.9889544169108
2.08333134651184E-05
0
0
-101.690975729624
-97.0222402572632
2.08333134651184E-05
0
0
-101.70106344223
-97.0450640996297
2.08333134651184E-05
0
0
-101.711457236608
-97.0529806772868
2.08333134651184E-05
0
6
59.3259333292643
-28.520225016276
0.0500208298365275
0
Fiun Outpost
14
True
-101.725833336512
-97.0584083557129
-0.000262499845121056
0
-56.7886938095093
95.8784626324971
-0.000395833204189936
0
0
-56.8631035486857
95.8860682805379
-0.000395833204189936
0
0
-56.9247075398763
95.8729653358459
-0.000395833204189936
0
0
-56.9869157632192
95.8636669476827
-0.000395833204189936
0
4
59.3259333292643
-28.520225016276
0.0500208298365275
0
/ub give Insatiable Eater Jaw to Fiun Rehlyun
3
59.3259333292643
-28.520225016276
0.0500208298365275
0
10000