diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-06-13 20:41:17 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-06-13 20:41:17 +0200 |
commit | bfcda608695b83ce6a3caefceaa79c8e392405d7 (patch) | |
tree | dbd4dcaebbc8157d536553ad03d7afb64031a34b /plugins/inventory/inventory.h | |
parent | 67dc975a29da3abed0834f0fefbeb7c905c16316 (diff) | |
download | dungeon_game-bfcda608695b83ce6a3caefceaa79c8e392405d7.tar.xz |
Add on_create callback for items
Diffstat (limited to 'plugins/inventory/inventory.h')
-rw-r--r-- | plugins/inventory/inventory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/inventory/inventory.h b/plugins/inventory/inventory.h index 4b13f94..437ffb6 100644 --- a/plugins/inventory/inventory.h +++ b/plugins/inventory/inventory.h @@ -16,6 +16,7 @@ struct item bool (*on_use)(struct itemstack *stack); void (*on_destroy)(struct itemstack *stack); + void (*on_create)(struct itemstack *stack); }; struct inventory |