2026-01-22 10:02:58 +00:00
|
|
|
extends RoomWithBoard
|
2026-01-21 15:25:16 +00:00
|
|
|
class_name VolunteerRoom
|
2025-12-02 20:36:39 +00:00
|
|
|
|
2026-01-22 10:57:59 +00:00
|
|
|
func _ready() -> void:
|
2026-01-22 10:02:58 +00:00
|
|
|
super._ready() # UwU, superclass _ready is not called by Godot automatically...
|
|
|
|
|
prints("volunteer_room.gd", "_ready()", self)
|
2026-01-19 09:34:01 +00:00
|
|
|
|
2026-01-22 15:06:11 +00:00
|
|
|
|
|
|
|
|
func get_ready_async() -> void:
|
|
|
|
|
await super.get_ready_async()
|
2026-01-19 09:34:01 +00:00
|
|
|
|
2026-01-22 10:57:59 +00:00
|
|
|
%TherapyVoluntaryInteractable.visible = not save_game.subway_burnout
|
|
|
|
|
%TherapyUniInteractable.visible = save_game.subway_burnout
|
2026-01-21 22:46:46 +00:00
|
|
|
|
2026-01-22 00:36:54 +00:00
|
|
|
card_board.board_completed.connect(func():
|
|
|
|
|
save_game.childhood_board_complete = true
|
2026-01-22 10:02:58 +00:00
|
|
|
#%DoorInteractable.show()
|
2026-01-22 00:36:54 +00:00
|
|
|
)
|
|
|
|
|
|
2025-12-10 17:07:45 +00:00
|
|
|
|
2026-01-22 15:06:11 +00:00
|
|
|
func start_room_async():
|
|
|
|
|
await super.start_room_async()
|
2026-01-19 09:34:01 +00:00
|
|
|
# Give player control immediately, then open
|
2026-01-22 15:06:11 +00:00
|
|
|
%PlayerController.process_mode = Node.PROCESS_MODE_INHERIT
|
2026-01-19 09:34:01 +00:00
|
|
|
Scenes.player_enable.emit(true)
|
2026-01-21 16:11:25 +00:00
|
|
|
|
2026-01-19 09:34:01 +00:00
|
|
|
await Main.curtain.open()
|
2025-12-02 20:36:39 +00:00
|
|
|
|
2026-01-22 15:06:11 +00:00
|
|
|
|
2025-12-02 20:36:39 +00:00
|
|
|
func prepare_transition():
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
func unload():
|
|
|
|
|
pass
|