Randomising the chance that something will appear

BlitzMax Forums/BlitzMax Programming/Randomising the chance that something will appear

I would go with your original approach too. It's a straight forward hash over 100 elements. It's easy to implement and it only really costs you what? 400 bytes of RAM? And you can adjust it on the fly. Wrap it in Type, if you want, to encapsulate the functions. It will simplify even further your game code.