extends "res://scripts/painting_eye.gd" func _answer_correct(): var apclient = global.get_node("Archipelago") if not apclient._door_shuffle or apclient.paintingIsVanilla(self.name): ._answer_correct() func movePainting(): ._answer_correct() hipelago/player.gd?h=v4.2.1' type='application/atom+xml'/>
about summary refs log tree commit diff stats
path: root/Archipelago/player.gd
blob: 87d9d0c8da8088f3f50f5b467c51a6608d1e40fd (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
extends "res://scripts/player.gd"


func _solving():
	._solving()

	var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects")
	effects_node.enter_solve_mode()


func _solvingEnd():
	._solvingEnd()

	var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects")
	effects_node.exit_solve_mode()


func _unhandled_input(event):
	._unhandled_input(event)

	if event is InputEventKey:
		if event.pressed and event.scancode == KEY_P:
			var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects")
			effects_node.skip_puzzle()