Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

This problem comes up a lot. It depends on whether it's an adjective followed by a noun (1st case), a compound noun (3rd case) or either of the two that has morphed into a single word through popular usage. So, it's entirely up to you.

A quick bit of Googling seems to indicate that "icebox" is more common in the US and "ice box" is more common in Australia. If you have any other boxes in the game, then you might be better off with "icebox" to avoid the need for disambiguation. If you don't have any other boxes, then you can use "ice box", but allow "icebox" and "ice-box" as synonyms for "box" in the vocabulary{} block.

Oh, man. Major problem. It looks like Adventuron doesn't fully support hyphenated nouns, like "ice-box". You can define an object description with a hyphenated noun and you can define a synonym with a hyphenated noun, but you can't use hyphens in the object id or a match statement. It looks like the workaround is to define the object with the correct object description, but use an abbreviated object id. Define a synonym with the abbreviated and full name and use the abbreviated word in the match statement.

Thanx Garry you are like a marvellous Interactive fiction dictionary.  I think I will streer clear of hyphens for now and use one word objects unless it becomes to much of an eyesore.  The vocabulary section was a good top as well. I had forgotten about that since it was not in the sample code. 

I've got a hyphenated noun in mine and I think I've got it working properly, so there's no need to avoid it completely.