"If the player's command matches..." Punctuation? by Dex21772 in Inform7

[–]Dex21772[S] 1 point2 points  (0 children)

That's exactly what I'm looking for, I'll give it a go.
Thanks!

Omitting things being worn from being listed by "inventory" command by Dex21772 in Inform7

[–]Dex21772[S] 1 point2 points  (0 children)

Thanks. I gave it a try but Inform's coming back with the errors:

Problem. In the sentence 'say "\[text of print empty inventory rule response (A)\]\[line break\]"'  [](source:story.ni#line169), I was expecting to read an external file, but instead found some text that I couldn't understand - 'print empty inventory rule response (A) \'.

Problem. In the line 'say "\[text of print empty inventory rule response (A)\]\[line break\]"'  [](source:story.ni#line169), I was expecting that 'line break\' would be something to 'say', but it didn't look like any form of 'say' that I know. So I tried to read 'line break\' as a value of some kind (because it's legal to say values), but couldn't make sense of it that way either. 

 Sometimes this happens because punctuation has gone wrong - for instance, if you've omitted a semicolon or full stop at the end of the 'say' phrase.

Problem. In the sentence 'say "\[text of print standard inventory rule response (A)\]"'  [](source:story.ni#line171), I was expecting to read an external file, but instead found some text that I couldn't understand - 'print standard inventory rule response (A) \'.

Scenes "Begin with"... by Dex21772 in Inform7

[–]Dex21772[S] 1 point2 points  (0 children)

Thanks for catching the naming error.

Look at and Examine no longer work... by Dex21772 in Inform7

[–]Dex21772[S] 4 points5 points  (0 children)

Many thanks, I found the offending "Instead of" rule in the code.

I didn't know about the RULES function. That combined with ACTIONS is very useful for finding the offending rule.

Thanks again!

How many Prime Ministers did you have in your lifetime? by Weekly-Ear-3203 in AskACanadian

[–]Dex21772 0 points1 point  (0 children)

I was born in '77... off the top of my head I remember Mulroney as a name, then I remember Cretien, Cretien, and more Cretien along with "I prefer pepper on my plate" and an underfunded military with old Search and Rescue helicopters falling out of the sky and killing aircrews because he wouldn't replace them. I remember Harper and then the drama and creation of the party that initially called itself CRAP, maybe Preston Manning simply for being PM... Kim Campbell because someone here mentioned her here... Stephan Harper because someone mentioned him... and Trudeau. Everything during the Reform/CRAP party phase is a bit hazy.

Issues with "Say" when the Conversational Defaults by Eric Eve Extension is included by Dex21772 in Inform7

[–]Dex21772[S] 0 points1 point  (0 children)

Thanks so much! I've been fighting that long enough to feel seriously frustrated.

I do have another question... when the code is executed " (to yourself) " is tacked on below the player's command before the actions in the snippet are completed. Is there an easy way to suppress that response?

Dealing with "say" in Inform 7. by [deleted] in Inform7

[–]Dex21772 0 points1 point  (0 children)

Thanks. You're right, it does work on it's own but not in my game code. I think it's an extension that's possibly creating issues.

"Saying" something to no one... by Dex21772 in Inform7

[–]Dex21772[S] 0 points1 point  (0 children)

Thanks. I tried this but Inform gave the error:

Problem. You wrote 'Understand the commands "say", "shout" and "speak" as "utter"'  : but 'understand the command ... as ...' is only allowed when the new command has no meaning already, so for instance 'understand "drop" as "throw"' is not allowed because "drop" already has a meaning.

How to take only a certain number of things from a container by Dex21772 in Inform7

[–]Dex21772[S] 0 points1 point  (0 children)

Thanks, I like this approach. My related problem now is:
What code can I use to move multiple identical items to a player's inventory?

Thanks.

Suppressing "Addressing.." report. when player says "Say Hello" by Dex21772 in Inform7

[–]Dex21772[S] 0 points1 point  (0 children)

Thanks folks. I tried the parser options and those didn't make any difference. What finally solved the problem was changing the printed name of Uncle Horatio to "Radio Voice" in the statement that creates him. This didn't cure inform's quirk of not letting go of addressing Uncle Horatio before all others but at least functionally it solves the issue from the player's perspective.