summaryrefslogtreecommitdiff
path: root/resources/js/classes/Item.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/classes/Item.js')
-rw-r--r--resources/js/classes/Item.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/js/classes/Item.js b/resources/js/classes/Item.js
index 6207cc2..8a12b9a 100644
--- a/resources/js/classes/Item.js
+++ b/resources/js/classes/Item.js
@@ -18,4 +18,12 @@ class Item {
get sprite () {
return DB.items[this.slug].sprite;
}
+
+ get conditions () {
+ return DB.items[this.slug].conditions;
+ }
+
+ get effects () {
+ return DB.items[this.slug].effects;
+ }
}