This commit is contained in:
parent
1247348c13
commit
e34eeec85e
2 changed files with 5 additions and 5 deletions
|
|
@ -311,13 +311,13 @@ STATE: {recomp}
|
||||||
DO: SetWatchdog 3 300 {Default}
|
DO: SetWatchdog 3 300 {Default}
|
||||||
|
|
||||||
STATE: {picking_flowers}
|
STATE: {picking_flowers}
|
||||||
IF: Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]<=getvar[pickupRange]+3}
|
IF: Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[37]]]<=getvar[pickupRange]+3}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
DoExpr {setvar[ObjectClose, 1]}
|
DoExpr {setvar[ObjectClose, 1]}
|
||||||
EmbedNav nav2__pickup_nav {pickup.nav}
|
EmbedNav nav2__pickup_nav {pickup.nav}
|
||||||
IF: All
|
IF: All
|
||||||
Expr {getvar[ObjectClose]==1}
|
Expr {getvar[ObjectClose]==1}
|
||||||
Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]>getvar[pickupRange]+4}
|
Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[37]]]>getvar[pickupRange]+4}
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
DoExpr {setvar[ObjectClose, 0]}
|
DoExpr {setvar[ObjectClose, 0]}
|
||||||
SetState {Hunt}
|
SetState {Hunt}
|
||||||
|
|
|
||||||
|
|
@ -2413,7 +2413,7 @@ n
|
||||||
s
|
s
|
||||||
e
|
e
|
||||||
s
|
s
|
||||||
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]<=getvar[pickupRange]+3
|
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[37]]]<=getvar[pickupRange]+3
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
K
|
K
|
||||||
|
|
@ -2493,7 +2493,7 @@ n
|
||||||
s
|
s
|
||||||
e
|
e
|
||||||
s
|
s
|
||||||
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]>getvar[pickupRange]+4
|
coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[37]]]>getvar[pickupRange]+4
|
||||||
TABLE
|
TABLE
|
||||||
2
|
2
|
||||||
K
|
K
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue