fungi-inventory.js
/*
  Helpers below allow for a quick examination of the current inventory contents.
  Used by functions above, may also be called by the external controller or
  the renderer (eg. to slightly flash the contents when the inventory is full)
  */
Helpers below allow for a quick examination of the current inventory contents.
Used by functions above, may also be called by the external controller or
the renderer
Helpers below allow for a quick examination of the current inventory contents . Used by functions above may also be called by the external controller or the renderer
isFull () {
    if (this.slots.findIndex(e => e.type === null) != -1) {
      return false
    }
    else {
      return true
    }
  }
isFull ( ) { if ( this . slots . findIndex ( e => e . type === null ) != - 1 ) { return false } else { return true } }
Helpers below allow for a quick examination of the current inventory contents.
Helpers below allow for a quick examination of the current inventory contents .