about summary refs log tree commit diff stats
path: root/data/maps/the_hive/connections.txtpb
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/the_hive/connections.txtpb')
0 files changed, 0 insertions, 0 deletions
n3' href='#n3'>3 4 5 6 7 8 9 10 11
12
13
14
15
16
17
18
19
20
21










                                                                               









                                                                                        
extends "res://scripts/painting_scenery.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()


func _looked_at(var body, var painting):
	._looked_at(body, painting)

	if body.is_in_group("player") && (painting.get_name() == self.get_name()):
		var apclient = global.get_node("Archipelago")
		if !apclient._pilgrimage_allows_paintings:
			global.sunwarp = 1
			body.get_node("pivot/camera/sunwarp_background").visible = false