Files

14 lines
206 B
JavaScript
Raw Permalink Normal View History

2021-09-13 09:34:08 +02:00
class entity_pickup_health_t extends entity_pickup_t {
_init() {
super._init();
this._texture = 23;
}
_pickup() {
audio_play(sfx_pickup);
game_entity_player._health += 25;
this._kill();
}
}