Need non-people to act like people

I need to be able to give an arbitrary thing the ability to act as if it was a person at an arbitrary point in the game. (The player can animate objects.) The thing needs to be able to respond to “try” and to respond to commands like “pen, n”. Any suggestions?

Cool. Shades of the Sorcerer’s Apprentice…

Assuming you’re using I7, here’s the basic code you need:

A thing can be animate or inanimate. The animate property translates into I6 as "animate".

This hooks you into the underlying Inform 6 library’s concept of “animate,” which is how I7 decides whether to treat an object as a person. To use it, you just treat it like any other property:

After casting the spell on the pen: now the pen is animate.


Ah, thanks.