(itemSavingName)
| 257 | } |
| 258 | |
| 259 | public gainItem(itemSavingName): void{ |
| 260 | Saving.saveBool(itemSavingName, true); |
| 261 | |
| 262 | this.player.reCalcMaxHp(); // We re calc the player max hp just in case |
| 263 | this.calcLollipopFarmProduction(); // Idem for the farm production |
| 264 | } |
| 265 | |
| 266 | public getEqItemFromEqItemType(savingName: string, type: EqItemType): EqItem{ |
| 267 | switch(type){ |
no test coverage detected