diff options
| author | Radio <radiohotline@disroot.org> | 2026-06-01 22:28:46 +0300 |
|---|---|---|
| committer | Radio <radiohotline@disroot.org> | 2026-06-01 22:28:46 +0300 |
| commit | 2c85d452ad02a5f89cd43bad7f9de31d0e4fa0c1 (patch) | |
| tree | 758998f717dab8c0ed9d1b47419e7590c28e8fa2 /scenes/item/inventory.gd | |
| parent | 7f437327b25be23b1cdcd4aa3898d428421e533f (diff) | |
area transitions, basic inventory and use events
Diffstat (limited to 'scenes/item/inventory.gd')
| -rw-r--r-- | scenes/item/inventory.gd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scenes/item/inventory.gd b/scenes/item/inventory.gd new file mode 100644 index 0000000..84bf1e2 --- /dev/null +++ b/scenes/item/inventory.gd @@ -0,0 +1,12 @@ +extends Node + +var inventory = {} + +# structure +# item, dictionary of: +# prop 1 +# prop 2 etc... +# inventory, dictionary of dictionaries with value used +# inventory items have a used property +# on scene load, if item exists in inventory, do not spawn +# once item is expended, used is true, then the item also does not spawn |
