Okay, so, firstly, I’m not completely new to Inform 7, but I haven’t used it for a good few years. So I’m not completely green regarding these things. But, that said, one of the main reasons I never managed to finish a project was my tangential way of over-complicating things beyond I7’s ability.
And so, I need to know what’s wrong with this particular segment. I’ve punctuated the hell out of it, mucked about, and reduced the issues I7 had from five to one;
/
The arm is a part of the player. It has the description “[If arm is broken]This brilliant, invaluable tool of evolutionary engineering, is currently a crunchy, painful mess. [otherwise]It is a perfectly healthy, normal, sleeved arm that is not broken. Which, you know, is nice.”
The arm can be broken.
The arm is not broken.
When the player pokes the arm,
[If arm is broken] If a random chance of 1 in 30 succeeds, say "Your arm drops painfully from it’s socket. Well done. You fall the the cold steel floor, flopping like a fish, as blood slowly drains from the frayed stump. congrats.
You have died.
Score: 2
Game over.
I'm serious.
...
...
Okay, fine.
'Your arm leaps from the floor, back to your shoulder, filling your veins with delicious, life-saving blood.'
Don't even DO that shit again.
Your arm is still broken though.". Otherwise say "[one of]Yup, still broken. And painful, why don't you poke it some more?[or]JEEESUS that hurts![or]Hah, doesn't even sti- OH there it is![or]Yeah, it's kinda hanging at a sort of... angle now...[purely at random]".
[If arm is not broken] Say: "You poke it. Great job."
/
(I would have put that in code, but the colour helps break the text nicely)
The problem is with the "Otherwise say “[one of]…” part, where Inform can’t find a verb.
So, I can’t see how to fix it. I can see why Inform’s having difficulty, but I have no idea how to sort it out. I’ve changed thins from ‘If-’ to ‘When-’, taken out, added, swapped around semicolons, full colons, commas and full-stops.
I hope there’s a simple solution.
Sorry if there’s too much stuff there, but I thought you guys might need the full arm-related stuff. This might not even be the right board for this…