I’ve been piddling around with a pulpy '30s dime-novel adventure-type game idea in Inform 7. No idea if I’ll ever finish it, but… Learning experience, yanno?
Anyway, I have a very strongly characterized protagonist, who also acts as the narrator (thanks to Ron Newcomb’s lovely Custom Include Library Messages, making it easy to switch the tense of the library messages to 1st person present). The player acts as more of a little voice in the protagonist’s head, suggesting to her what to do — except when the player types something outlandish, in which case I want to break the 4th wall and have my protagonist say something snarky directly to the player, as I expect the player will be “out of the zone” in those moments, anyway.
In the process of going through and trying to break things and implement some amusing responses to outlandish commands, I’ve run up on a little road block.
See, in an attempt to separate “me” (the player) from “you” (the protagonist), given the tense of the game, I’m doing something like:
Victoria is a woman.
The player is Victoria.
Understand "Vicky", "Vic", "you", "yourself" as Victoria.
the numskull is a backdrop. It is everywhere. [So true, is it not?!? ;P ] Understand "me" as the numskull.
Instead of kissing Victoria:
say "What do you expect me to do, turn myself into a toad and hop to safety? Or perhaps destroy Dr. Hadrian with a plague of warts?"
Instead of kissing the numskull:
say "I'd just as soon strangle myself with my own entrails!"
This lets us do things like “examine yourself”. Good so far.
Typing “examine me” is a little off-kilter, because it always prints “(the numskull)”, like it’s rejecting some kind of internal “me”, but not a game-breaker, I guess.
But when I get into implementing some snarky default messages, I am getting stuck! Presumably because the numskull is a backdrop instead of a “person”. For example, via the above code:
What do you expect me to do, turn myself into a toad and hop to safety? Or perhaps destroy Dr. Hadrian with a plague of warts?
What do you expect me to do, turn myself into a toad and hop to safety? Or perhaps destroy Dr. Hadrian with a plague of warts? (this should have elicited the “entrails” response.)
kiss the numskull
I can only do that to something animate.[/code]
Any ideas on a better, more robust way to go about this (hopefully without having an invisible “numskull” everywhere in the game)? I apologize for my ignorance! I fancy myself a fairly proficient in “normal” languages, but I7 is, well, different, and I am still trying to wrap my head around things!