Skip to main content

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

I'd go with single word ICEBOX.

You could create an alias in the vocabulary section BOX too. Then if the player types BOX, then Adventuron handles it as ICEBOX so you don't have to duplicate your command handlers.

######################################
#  Vocabulary                        #
###################################### vocabulary {
   : noun {
      aliases = [icebox, box ]
   }
}

Btw, I can't find a documentation for "aliases". How to implement aliases for several words?

(1 edit)

There are two different formats you can use. Using a verb as an example:

vocabulary {
   : verb {
      aliases = [talk, speak]
   }
   : verb {
      aliases = [lie, crouch]
   }
}

OR

vocabulary {
   : verb / aliases = [talk, speak]
   : verb / aliases = [lie, crouch]
}

The second format is more concise. For nouns, just replace "verb" with "noun".

Thanks, but I forgot to ask the question :D I mean I want define several different synonims, like [talk, speak] and [lie, crouch], foe example. How can I do it?

I have amended the original example so that you can see how to do multiple synonyms. I hope this makes it a bit clearer.

Thanks a lot! I tried something similar, but it didn’t work out for me. I’ll try your recipe.