
APT.all-test.MOUTBot.execute-mission.hunt.goto-next-room.move-to-new-area.soar Maven / Gradle / Ivy
echo "\nLoading execute-mission/hunt/goto-next-room/move-to-new-area"
#AMN: 2002-07-25
#IF:
#1. I am at the exit node
#THEN:
# Propose moving to the connecting node (new area)
#FIXME: If the attacker hasn't explored the map then
# the connecting node may be unknown.
sp {goto-next-room*propose*move-to-new-area
(state ^name goto-next-room
^exit-node
^top-state.map.near-node )
( ^connected-node )
( ^area
^position )
-{( ^operator # blink operator proposal if get stuck
^top-state.self )
( ^type move-to-xyz
^actions.move-to )
( ^x ^y )
( ^move-to-xyz.actions
^stuck-bad true)
( ^move-to )
( ^x ^y )}
-->
( ^operator +, = 50)
( ^name move-to-new-area
^type move-to-xyz
^area
^position )
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy