# What is so special about the number 32767?

From OHRRPGCE-Wiki

Jump to navigationJump to searchYou may notice that the maximum limit on alot of things in the OHRRPGCE is 32767. This is not my lucky number (try betting on that at the roulette wheel!) and I did not pick it at random. It is the highest number that can be represented in a signed 16-bit integer (to be exact, the range is 2^{15}-1 to -2^{15} or 32767 to -32768), which is the data-type used by most variables in the OHRRPGCE.

Although the move to FreeBasic means that all our signed integers are now 32-bit, many of these limits cannot be raised without changing many of the file formats (which still use 16-bit numbers).