curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-2032] [Mantis 2069] Example 376 "Complimentary Peanuts" Produces a Run-Time Error #52

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : CJGidman

Description :

The example looks for the topic understood when asking someone for something. According to the action index, asking someone for something is not treated as speech. The system generates a run-time an error when it tries to get the topic understood.

I think this isn't a coding issue. The example just needs to be modified, removing the following line:

Asking someone for something is speech.

Steps to reproduce :

Play the Complimentary Peanuts example. Ask Martha for rations.

Additional information :

FWIW, the error message is:

imported from: [Mantis 2069] Example 376 "Complimentary Peanuts" Produces a Run-Time Error

curiousdannii-testing commented 2 years ago

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

Comment by zarf :
Confirmed.

The suggested fix looks right. Without the "Asking someone for something is speech" declaration, ASK MARTHA FOR RATIONS is caught by the first rule, which correctly selects the third table row because the player's command contains "RATIONS".

curiousdannii-testing commented 2 years ago

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

Comment by CJGidman :
The summary should say: Example number 376 "Complimentary Peanuts" Produces a Run-Time Error.

This tool likes to convert the hash symbol followed by a number to a reference to another ticket. Sorry about the reporting error.

curiousdannii-testing commented 2 years ago

61eedb62875fc10070240916:

Duplicate of Mantis 1828.