hotel-madness/scripts/maps/objectives/hungry.gd

17 lines
289 B
GDScript3
Raw Normal View History

## SPDX-License-Identifier: GPL-3.0-or-later
## Copyright (c) 2024 interstellardevelopment.org
2024-12-13 18:28:06 +01:00
class_name Hungry
extends Objective
func _ready() -> void:
type = "hungry"
match randi() % 2:
0:
subtype = "burger"
1:
subtype = "burger"
2:
subtype = "impossible"
time = 20