The second set of generarated code looks good to me. The get is not dependent on at treestand.
You are right about the redundant sets, I'll take a look.
Another example with two equivalent Set, and an error because Get does not depend on the test: AT treestand.
redescribe = auto_beta
: match "get ladder" {
: if (is_at "treestand" && is_beside "ladder") {
: set_graphic graphic = "treestand2" target = "treestand" ;
}
: get "ladder" ;
: done ;
}
> GET LADDE AT treestand
PRESENT ladder
NOTCARR ladder
SET has_done_something_
SET has_done_something_
LET 18 255 LET 19 10
GET ladder
DONE