about summary refs log tree commit diff stats
path: root/data/maps/the_unyielding/rooms/Behind Northwest.txtpb
blob: b8c30dc2c32a0033a24aea88000c11e72751276f (plain) (blame)
1
2
3
4
5
6
7
8
name: "Behind Northwest"
panels {
  name: "SNEAK"
  path: "Panels/Behind Areas/behind_1"
  clue: "sneak"
  answer: "snuck"
  symbols: AGE
}
.fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
extends Node

var ap_name = ""
var ap_id = 0
var total = 0
var solved = 0
var ran = false


func handle_correct():
	solved += 1

	if solved >= total && !ran:
		ran = true

		var apclient = global.get_node("Archipelago")
		apclient.sendLocation(ap_id)