Code Documentation

TextWrap.drawText(surface, text, color, rect, font, aa=False, bkg=None)[source]

Takes the parameters of surface, which is where the text is going to be displayed,cf.surface for example and the text, which is whatever text we want to be displayed, the color, which is well, the color (0,0,0) input format, and the font is the location of the font you would like to use alternatively. This function then calculates the maximum we can fit in the size of our textbox and draws it to our surface with whichever parameters we give.

A dictionary holding all of our items for the game. The key is the item name in a string form and the value is a list containing the attributes for the item.

Just a giant list of colors for reference/ maybe future random gen

Massive list of names that are used for name generation