johanberntsson / PunyInform

A fast and compact library for writing text adventure games for the Z-machine running on 8-bit computers as well as other platforms.
MIT License
176 stars 17 forks source link

The sentence construction differs for MSG_SEARCH_IN_IT_ISARE and MSG_SEARCH_ON_IT_ISARE #101

Closed auraes closed 2 years ago

auraes commented 2 years ago

I don't know if it's intentional, but the construction of the answer to 'look on' and 'look in' are different :

> look on table                                                 
On the table is a apple.

> look in box                                                   
The box contains a pear. 

Instead of : "In the box is a pear."

fredrikr commented 2 years ago

This is intentional. The choice between printing "is" or "are" is tricky and will sometimes yield sub-optimal results. For containers this can easily be avoided. For supporters we're stuck with using is/are.