helapordo 1.4.12
Loading...
Searching...
No Matches
Consumable Struct Reference

Holds a certain qty of a consumableClass. More...

#include <game_core.h>

Data Fields

consumableClass class
 Defines which kind of Consumable this is.
 
char name [25]
 Contains the name of the consumable.
 
char desc [50]
 Contains a brief description of the consumable.
 
int qty
 Indicates how many copies of the consumable the instance of this class holds.
 
char sprite [8][20]
 Char matrix to hold the encoded sprite.
 

Detailed Description

Holds a certain qty of a consumableClass.

See also
useConsumable()

Field Documentation

◆ class

consumableClass Consumable::class

Defines which kind of Consumable this is.

◆ desc

char Consumable::desc[50]

Contains a brief description of the consumable.

◆ name

char Consumable::name[25]

Contains the name of the consumable.

◆ qty

int Consumable::qty

Indicates how many copies of the consumable the instance of this class holds.

◆ sprite

char Consumable::sprite[8][20]

Char matrix to hold the encoded sprite.


The documentation for this struct was generated from the following file: