diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-18 23:19:13 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-18 23:19:13 +0200 |
commit | 91d048ef0f994446aaee91e3afcbd99788e439d7 (patch) | |
tree | 30063656343d7c3c0f9ebd37b2eb1896bfa76820 /resources/js/classes/Item.js | |
parent | f9b00e47e04eac414d892a08136a90833abeefd6 (diff) |
item effects,conditions
Diffstat (limited to 'resources/js/classes/Item.js')
-rw-r--r-- | resources/js/classes/Item.js | 8 |
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; + } } |