src/scripts/Status.js
//override; only use to create new stats !
override; only use to create new stats !
override ; only use to create new stats !
addItem(stat) {
        let _i = this.findItemSlot(stat.name);
        if(_i<0) {
            stat._parent=window.gm.util.refToParent(this);
            this.list.push({'id': stat.id,'count': 1, item:stat});
        }
    }
addItem ( stat ) { let _i = this . findItemSlot ( stat . name ) ; if ( _i < 0 ) { stat . _parent = window . gm . util . refToParent ( this ) ; this . list . push ( { 'id' : stat . id , 'count' : 1 , item : stat } ) ; } }
override; only use to create new stats !
override ; only use to create new stats !