Houses ~8.5 m; chimps capped ~0.85 m with safer axis fitting. Large GLB/PBR packs stay local until Git LFS (Forgejo HTTP 413). Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
923 B
GDScript
27 lines
923 B
GDScript
extends Control
|
|
## Catscene: open-world joke. Skipping resets the run.
|
|
|
|
@onready var label: Label = $Label
|
|
@onready var skip_btn: Button = $SkipButton
|
|
@onready var cont_btn: Button = $ContinueButton
|
|
|
|
func _ready() -> void:
|
|
GameState.current_scene_id = "catscene"
|
|
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
|
label.text = Locale.tr_key("dialog_catscene")
|
|
skip_btn.text = "Skip Katzin / Catscene"
|
|
cont_btn.text = Locale.tr_key("menu_continue")
|
|
AudioDirector.play_dialog_line("dialog_catscene")
|
|
|
|
func _on_continue_pressed() -> void:
|
|
GameState.goto_scene("farm_path")
|
|
|
|
func _on_skip_pressed() -> void:
|
|
label.text = Locale.tr_key("dialog_catscene_skip")
|
|
AudioDirector.play_dialog_line("dialog_catscene_skip")
|
|
var tree := get_tree()
|
|
if tree == null:
|
|
tree = Engine.get_main_loop() as SceneTree
|
|
if tree:
|
|
await tree.create_timer(maxf(2.0, AudioDirector.last_voice_length()), true).timeout
|
|
GameState.reset_to_intro()
|