about summary refs log tree commit diff stats
path: root/apworld/options.py
Commit message (Expand)AuthorAgeFilesLines
* Items and connections in the apworldStar Rauchenberger2025-08-121-2/+7
* Started apworldStar Rauchenberger2025-08-071-0/+8
d='n22' href='#n22'>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()