I did try “Yourself is a man (or woman)” but that also failed because you can’t change yourselfs gender after the game has started - and you have to start the game to let the player choose!
Catch 22!
I think Charm Cochran is right (for my scenario) in that I would have to create a Steve, and to stick with the MineCraft vibe, an Alex, and then set the current player based on which gender was chosen. (Then watch my brain implode when I try and add non-binary!)
But everything seems to work the way I have it at the moment … it was just that after the player had chosen a name, a gender and a class I had a confirmation that said:
say "[line break]Right, so know I know a player called [player's full name] (or [player's forename] for short.) And
[they] are a [gender of the player] [class of the player]![paragraph break]If that is correct, press any key to get started. Otherwise you can restart or undo until you are ready...";
And the result I got (from memory) was:
Right, so know I know a player called Rob Harvey (or Rob for short.) And it are a masculine Wizard!
If that is correct, press any key to get started. Otherwise you can restart or undo until you are ready…
… or something likewise grammatically mangled!
More my lack of understanding but I’ve only been playing with Inform 7 for a month or so …
In the end I changed the line to this:
say "[line break]Right, so know I know a player called [player's full name] (or [player's forename] for short.) And [if player is male]he[else]she[end if] is a [gender of the player] [class of the player]![paragraph break]If that is correct, press any key to get started. Otherwise you can restart or undo until you are ready...";
And it is works for the confirmation line. Severedhand’s answer also makes me think I’m never ever going to refer to the “player” in that way again because it is breaking the fourth wall!
Thanks for all the replies though!
I’m ramping up my challenges now … Magic, combat and somehow letting the player modify their starting stats from a pool of points.
All for a game I will probably be the only one that plays! I still only have about a tenth of the story in mind - and nothing story boarded - I’m just having fun trying to make Inform let me do things!
I need to go check GoG.com … I’m fairly sure I own the complete Infocom collection. I know I bought the actually CD (or maybe floppy?) version when it came out but I reckon I re-bought the GoG version.
Nope. Not the collection but I do have ALL the Zork games from 1 to Grand Inquisitor!
A distraction for another day!