curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-1792] [Mantis 1828] Understand lines with [any] tokens break "answering" #292

Open curiousdannii-testing opened 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : Draconis

Description :

If an Understand line contains an [any thing] token and no literal text, and the player gives a malformed command to an NPC, leading to an "answering it that" action, the "topic understood" will be an invalid snippet.

Steps to reproduce :

Understand "x" as "[x]". Understand "[x] [any thing]" as examining.

The lab is a room. Alice is a woman in the lab.

First before answering someone that a topic: say "Topic [topic understood]"

[Output:

> ALICE, YSDGJHD IUSGFJKSGDIUG

Topic 
*** Run-time problem P39: Attempt to say a snippet value which is currently invalid: words 0 to 4.

There is no reply.

]

Additional information :

Removing the first line (with the Understands) causes this to work as expected.

imported from: [Mantis 1828] Understand lines with [any] tokens break "answering"
  • status: Reported
  • resolution: Open
  • resolved: 2022-04-07T05:01:01+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by Draconis :
This is actually only an issue in 6M62 but there's no option for that version yet.

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by Draconis :
This does not affect ANSWER ASDFG TO ALICE or any other conversational commands.