aboutsummaryrefslogtreecommitdiff
path: root/plugins/loot/loot.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/loot/loot.h')
-rw-r--r--plugins/loot/loot.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/loot/loot.h b/plugins/loot/loot.h
new file mode 100644
index 0000000..41fda44
--- /dev/null
+++ b/plugins/loot/loot.h
@@ -0,0 +1,16 @@
+#ifndef _LOOT_H_
+#define _LOOT_H_
+
+#include "../inventory/inventory.h"
+
+struct loot
+{
+ struct item *item;
+ int chance;
+ int min;
+ int max;
+};
+
+void register_loot(struct loot loot);
+
+#endif