13 lines
374 B
GDScript
13 lines
374 B
GDScript
extends Node3D
|
|
|
|
func _ready():
|
|
UI.MADTALK.start_dialog("bare_minimum")
|
|
|
|
func _input(event):
|
|
if (
|
|
(event is InputEventKey) and (event.pressed) and (not event.echo) and (event.keycode in [KEY_SPACE, KEY_ENTER, KEY_KP_ENTER])
|
|
) or (
|
|
(event is InputEventMouseButton) and (event.pressed) and (event.button_index == MOUSE_BUTTON_LEFT)
|
|
):
|
|
UI.MADTALK.dialog_acknowledge()
|