#include <defs.h>
Public Member Functions | |
| bool | operator== (const MiscType &rhs) const |
Public Attributes | |
| float | weight |
| Tile | sprite |
| std::string | name |
| std::string | description |
| bool | use |
| int | rarity |
| int | size |
The definition for the different types of misc items. This defines the various attributes of misc items, and members of this struct are used to construct misc items.
| std::string MiscType::description |
A description of the item.
| std::string MiscType::name |
The name of the item.
| int MiscType::rarity |
How likely it is tha the item will appear.
| int MiscType::size |
The size of the item.
| Tile MiscType::sprite |
The tile which will be used to graphically represent the item.
| bool MiscType::use |
True if the item has a use beyond changing attack.
| float MiscType::weight |
How much the item weighs.
1.8.8