Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

${noun} gives wrong response with "it"

A topic by Garry Francis created Nov 02, 2019 Views: 98 Replies: 1
Viewing posts 1 to 2
Submitted

I changed the indefinite article in the system message for nothing_to_get from "a" to "any" so that it gives a sensible response for both a singular object and plural objects.

nothing_to_get = You look around but can't see any ${noun} anywhere.

However, I've just noticed that ${noun} in the same message gives the wrong response when you use "it". For example:

>EXAMINE MOON
You see nothing special.
>GET MOON
You look around but can't see any moon anywhere.
>GET IT
You look around but can't see any it anywhere.

In the last response, ${noun} should replace "it" with the noun that "it" refers to.
Host

Nice catch. It substitution generally works, but yes, it's not wired up to the noun in the system messages properly.