]> git.lizzy.rs Git - dungeon_game.git/blob - plugins/loot/loot.h
Add loot boxes
[dungeon_game.git] / plugins / loot / loot.h
1 #ifndef _LOOT_H_
2 #define _LOOT_H_
3
4 #include "../inventory/inventory.h"
5
6 struct loot
7 {
8         struct item *item;
9         int chance;
10         int min;
11         int max;
12 };
13
14 void register_loot(struct loot loot);
15
16 #endif