This can later be used in the file as, for example, cost = These definitions can be in any point of the file.Ĭonstants are available in the vast majority of game files, including most, if not all, *.txt and *.gui files. An example definition is the following: = 10 The constants are marked with the symbol when defining or using them.
Constants serve as a way to use the same numeric value with a reference.