From 91d048ef0f994446aaee91e3afcbd99788e439d7 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 18 Aug 2023 23:19:13 +0200 Subject: item effects,conditions --- resources/js/classes/InventoryItem.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'resources/js/classes/InventoryItem.js') diff --git a/resources/js/classes/InventoryItem.js b/resources/js/classes/InventoryItem.js index 9dfdbcc..2e9b764 100644 --- a/resources/js/classes/InventoryItem.js +++ b/resources/js/classes/InventoryItem.js @@ -37,4 +37,12 @@ class InventoryItem { get sprite () { return this.item.sprite; } + + get conditions () { + return this.item.conditions; + } + + get effects () { + return this.item.effects; + } } -- cgit v1.2.3