summaryrefslogtreecommitdiff
path: root/scenes/item/inventory.gd
diff options
context:
space:
mode:
authorRadio <radiohotline@disroot.org>2026-06-01 22:28:46 +0300
committerRadio <radiohotline@disroot.org>2026-06-01 22:28:46 +0300
commit2c85d452ad02a5f89cd43bad7f9de31d0e4fa0c1 (patch)
tree758998f717dab8c0ed9d1b47419e7590c28e8fa2 /scenes/item/inventory.gd
parent7f437327b25be23b1cdcd4aa3898d428421e533f (diff)
area transitions, basic inventory and use events
Diffstat (limited to 'scenes/item/inventory.gd')
-rw-r--r--scenes/item/inventory.gd12
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