extends Node3D func _ready(): pass func get_number(): return 1000 * $Body/"1"/Cylinder/StaticBody3D.number + \ 100 * $Body/"2"/Cylinder/StaticBody3D.number + \ 10 * $Body/"3"/Cylinder/StaticBody3D.number + \ $Body/"4"/Cylinder/StaticBody3D.number func _on_static_body_3d_input_event(camera, event, position, normal, shape_idx): if event is InputEventMouseButton and event.is_action_pressed("interact"): $Body/Knop/Audio.playing = true if get_number() == 1984: $Lamp.light_color = Color.LIGHT_GREEN $Congratulations.playing = true