Skip to main content

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

: turns ; is no good. It says, "You have taken x turns" Note lack of closing period. This is not in the system_messages{}, so I can't fix it. This is not what I wanted anyway. I wanted to say something like "You have scored x points in y turns.", so I need turns to be a variable. I could also potentially put it in the header like in Infocom games.

In section "5.103. Turns (1)" of the old doco, it says that turns returns the number of inputs entered by the player. The example given is:

my_turns : turns ;

There is no context. What does this mean, where do I place it in the code and how do I use it?