doors { name: "Control Center Brown Door" type: CONTROL_CENTER_COLOR latch: true receivers: "Components/Doors/entry_1" control_center_color: "brown" } doors { name: "The Tree Gravestone" type: GRAVESTONE panels { room: "Main Area" name: "COLOR" } panels { room: "Main Area" name: "DAMAGE (1)" } panels { room: "Main Area" name: "DAMAGE (2)" } panels { room: "Main Area" name: "MEAL (1)" } panels { room: "Main Area" name: "MEAL (2)" } panels { room: "Main Area" name: "WALK (1)" } panels { room: "Main Area" name: "WALK (2)" } panels { room: "Main Area" name: "REST" } panels { room: "Main Area" name: "SLEEP" } panels { room: "Main Area" name: "JUMP (1)" } panels { room: "Main Area" name: "JUMP (2)" } panels { room: "Main Area" name: "DRIZZLE" } panels { room: "Main Area" name: "WADE" } panels { room: "Main Area" name: "GROW (1)" } panels { room: "Main Area" name: "GROW (2)" } panels { room: "Main Area" name: "GROW (3)" } panels { room: "Main Area" name: "GOOD (1)" } panels { room: "Main Area" name: "GOOD (2)" } panels { room: "Main Area" name: "GOOD (3)" } panels { room: "Main Area" name: "HOVER" } panels { room: "Main Area" name: "HAPPY (1)" } panels { room: "Main Area" name: "HAPPY (2)" } panels { room: "Main Area" name: "HAPPY (3)" } panels { room: "Main Area" name: "LIGHT (1)" } panels { room: "Main Area" name: "LIGHT (2)" } panels { room: "Main Area" name: "LIGHT (3)" } panels { room: "Main Area" name: "SMALL (1)" } panels { room: "Main Area" name: "SMALL (2)" } panels { room: "Main Area" name: "SMALL (3)" } panels { room: "Main Area" name: "SPRINKLE" } location_room: "Main Area" location_name: "Gravestone" } commit diff stats
path: root/Archipelago/doorControl.gd
blob: f64f9e294153e48e725624a6e642d7a7707053a5 (plain) (tree)
1
2
3
4
5
6



                                      
                                                     
                                                                                                          







                                                                      
extends "res://scripts/doorControl.gd"


func handle_correct():
	var apclient = global.get_node("Archipelago")
	if not apclient._door_shuffle or apclient.doorIsVanilla(self.get_parent().name + "/" + self.name):
		.handle_correct()


func openDoor():
	if !ran:
		# Basically do the same thing that the base game does.
		ran = true
		$AnimationPlayer.play("Open")