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

APT.all-test.MOUTBot.record-item.soar Maven / Gradle / Ivy

## NEED TO UPDATE TO WORK WITH DECORATIONS

echo "\nLoading record-item"

## Record the location of items for future reference

sp {unreal*propose*record-item
   (state  ^name unreal
              ^io.input-link.entities.item )
   ( ^name )
   ( -^item-list.item.name )
   -->
#   (write (crlf) |Propose record item: | )
   ( ^operator  + >, =)
   ( ^name record-item
        ^item )
}

sp {unreal*apply*record-item
   (state  ^operator 
              ^item-list )
   ( ^name record-item
        ^item )
   ( ^name 
              ^class 
              ^area 
              ^position )
   -->
   (write (crlf) |Record item: |  | name | )
   ( ^item )
   ( ^name 
            ^class 
            ^area 
            ^position )
}