frame-of-mind/src/base-environments/transition/stations/burnout_station.gd

9 lines
260 B
GDScript3
Raw Normal View History

extends Node3D
func _ready() -> void:
State.room.save_game.subway_burnout = true
%PlayerDetect.body_entered.connect(func(body):
if visible and body is PlayerController:
await Main.curtain.black()
State.room.proceed.emit(Main.adulthood_room_path))