if ( debugMode ) log( "Scanning " + theIncomingText );
This was incredibly helpful in finding bottlenecks, missing data and other shenanigans caused by me whilst attempting to write this code quickly. As a result of these internal announcements, I was able to find numerous bugs, squash them, and get my script running in an "as expected" manner!Next up comes the long, dull portion of adding controls and restrictions (silly stuff, like "don't use a tinderbox while the player is under water" kind of logic). But I am pleased to be reaching this point, as it is an indication of progress!
Print all the things! Always a staple of debugging...
ReplyDelete