'use strict' function Gage_Health (name, limit, color) { Gage.call(this, name, limit, color) this.update = function () { this.progress.update(this.value, this.limit) if (donsol.player.can_drink === false) { this.value_element.innerHTML = `${this.value} HP` } else { this.value_element.innerHTML = `${this.value} HP` } } }