Showing posts with label verbtest. Show all posts
Showing posts with label verbtest. Show all posts

Saturday, November 3, 2012

DoVerbTestAll update

In looking up my old post on DoVerbTest, I noticed that I had already posted about it when I last wrote about it. In any case, I recently added some code to DoVerbTestAll, the version that tests every object in a game. Since code-posting looks a bit better over there, I put it at Royce Odle's Hugo forum.

This new version tests some no-object verbs before it goes on to object-test everything.

Monday, September 17, 2012

new debugging verb

The last time I was looking over roodylib's comments and documentation, I was reminded that I had added a new debugging verb (and had failed to mention it). Anyhow, it's called "verbtest", and it's pretty much a ripoff of something I saw that Juhana Leinonen wrote for Inform 7 the other year. Basically, you use it on an object, and it shows you the response to a ton of default verbs.

Here is an example transcript from a game I'm working on:
>verbtest house
Getting object:
You can't take that.

Wearing object:
You can't wear the house.

Listening to object:
The house is not making a sound.

Eating object:
You can't eat the house.

Drinking object:
You can't drink the house.

Hitting object:
Venting your frustrations on the house won't accomplish much.

Hello-ing object:
That doesn't make any sense.

Examining object:
Dark and silent.

Looking through object:
You can't see through that.

Looking under object:
You don't find anything under the house.

Go-ing object:
No, it's time to go home.

Entering object:
No, it's time to go home.

Sitting on object:
No, it's time to go home.

Exiting object:
You're not in the house.

Moving object:
You can't move the house.

Searching object:
You don't find anything new.

Smelling object:
You don't smell anything unusual.

>
The intent is that it'll remind authors of obvious commands that should have better responses.

Maybe I'll incorporate it into HugoFix at some point (giving it a $vt command or something), but that seems a bit presumptuous for now.