I'm not sure I'm encountering the same error you are with the examining debris and desk. Here is my code:
: match "examine debris" {
: if (is_present "scattered_debris"){
: print "There is construction debris kicked all over the floor!";
}
: if (is_present "debris") {
: print "You kick your foot through the debris, scrapping a nail and a razor blade into the open." ;
: create "nail" ;
: create "blade" ;
: destroy "debris" ;
: create "scattered_debris";
: press_any_key ;
: redescribe ;
}
}
And when I run it in the emulator it gives me a message and then refreshes the screen.