All Downloads are FREE. Search and download functionalities are using the official Maven repository.

APT.all-test.MOUTBot.execute-mission.hunt.goto-next-room.move-to-stack-position.soar Maven / Gradle / Ivy

echo "\nLoading execute-mission/hunt/goto-next-room/move-to-stack-position"

#AMN: 2002-07-25
#IF:
#1.  There is a stack position on the state
#2.  I am not near the stack position
#3.  I am also not near the exit node
#THEN:
#    Propose moving to the stack position
sp {goto-next-room*propose*move-to-stack-position
   (state  ^name goto-next-room
              ^top-state.map.current-area 
              ^stack-position 
             -^near-stack-position yes
              ^exit-node 
             -^top-state.map.near-node )
-->
   ( ^operator  +, = 50)
   ( ^name move-to-stack-position
        ^type move-to-xyz
        ^area 
        ^position )
}