From 2c85d452ad02a5f89cd43bad7f9de31d0e4fa0c1 Mon Sep 17 00:00:00 2001 From: Radio Date: Mon, 1 Jun 2026 22:28:46 +0300 Subject: area transitions, basic inventory and use events --- scenes/item/inventory.gd | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scenes/item/inventory.gd (limited to 'scenes/item/inventory.gd') 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 -- cgit v1.3