2007-06-17 05:46:11 UTC
documentation is pretty clear on how that's done; make the window a
door, but call it "window." But I want the window to be painted shut,
and the only way to open it is to jimmy it with a screwdriver.
So I figure the way to do that is to make the window lockable/locked,
and make a screwdriver the key. But in play, the window shouldn't be
described as locked, just stuck. When the player tries to "open
window," it should say that it's painted shut, not locked. When the
player types "open window with screwdriver," it should simultaneously
unlock and open the window, while saying something about falling paint
chips instead of that the window is unlocked. (Also, I need to change
the window to not lockable, so it doesn't have to be pried open every
So, I guess what I need to do is intercept the "open" command, have it
unlock and then open (without causing an infinite loop) and at the
same time changing the default text in all locked/unlocked/with key/
without key situations. This is making my brain swell slightly, which
among other things makes me start every paragraph with "so."
So, any advice would be appreciated.
Emil, the Poorly Informed