summaryrefslogtreecommitdiff
path: root/scripts/entities/actors/Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/entities/actors/Inventory.cs')
-rw-r--r--scripts/entities/actors/Inventory.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/entities/actors/Inventory.cs b/scripts/entities/actors/Inventory.cs
index ea9569f..f1cff2a 100644
--- a/scripts/entities/actors/Inventory.cs
+++ b/scripts/entities/actors/Inventory.cs
@@ -32,4 +32,8 @@ public partial class Inventory : Node {
Items.Add(item);
}
+
+ public void RemoveItem(ConsumableItem item) {
+ Items.Remove(item);
+ }
} \ No newline at end of file