blob: a9f430336755f8b5b4522fe25b4f4f7d712acdf3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
extends "res://scripts/panelInput.gd"
func uncomplete():
global._print("Filtered out panel uncompletion")
func grab_focus():
.grab_focus()
var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects")
effects_node.show_puzzle_skip_message(get_path())
func release_focus():
.release_focus()
var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects")
effects_node.hide_puzzle_skip_message()
func complete():
.complete()
var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects")
effects_node.hide_puzzle_skip_message()
var autotracker_node = get_tree().get_root().get_node("Spatial/AP_Tracker")
var real_panel = get_parent().get_parent().get_parent().get_parent();
autotracker_node.solve_panel("%s/%s" % [real_panel.get_parent().name, real_panel.name])
|