[gd_scene load_steps=26 format=3 uid="uid://cbgmp4l3c2ymk"]

[ext_resource type="Script" path="res://Pupils.gd" id="2"]
[ext_resource type="Script" path="res://BudgetMenu.gd" id="4"]
[ext_resource type="Script" path="res://Main.gd" id="5"]
[ext_resource type="Script" path="res://Buildings.gd" id="6"]
[ext_resource type="Script" path="res://ClassTeachers.gd" id="7"]
[ext_resource type="Texture2D" uid="uid://dwghtdnhmeve" path="res://Assets/classroom_empty.png" id="8"]
[ext_resource type="FontFile" uid="uid://dw764h386jj8v" path="res://Assets/Xolonium-Regular.ttf" id="9"]
[ext_resource type="Script" path="res://UserInterface.gd" id="10"]
[ext_resource type="Script" path="res://PrincipalMenu.gd" id="12"]
[ext_resource type="Texture2D" uid="uid://chtlo226ro7l" path="res://Principal/Face1.png" id="13"]
[ext_resource type="Script" path="res://DebugMenu.gd" id="14"]
[ext_resource type="FontFile" uid="uid://bbwsnnt6q5y2g" path="res://Assets/Jellee-Bold.ttf" id="18"]

[sub_resource type="FontFile" id="1"]
fallbacks = Array[Font]([ExtResource("9")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="FontFile" id="2"]
fallbacks = Array[Font]([ExtResource("9")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="FontFile" id="3"]
fallbacks = Array[Font]([ExtResource("9")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="FontFile" id="4"]
fallbacks = Array[Font]([ExtResource("9")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="FontFile" id="5"]
fallbacks = Array[Font]([ExtResource("9")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="FontFile" id="6"]
fallbacks = Array[Font]([ExtResource("9")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="FontFile" id="8"]
fallbacks = Array[Font]([ExtResource("9")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="GDScript" id="14"]
script/source = "extends Popup

@onready var game_time = get_node(\"/root/GameTimer\")

var npc_name : set = name_set
var dialogue : set = dialogue_set
var answers : set = answers_set
var npc
var answera : set = answera_set
var answerb : set = answerb_set

func name_set(new_value):
	npc_name = new_value
	$DialogBox/NameBox/NPCName.text = new_value

func dialogue_set(new_value):
	dialogue = new_value
	$DialogBox/Dialogue.text = new_value

func answers_set(new_value):
	answers = new_value
	$DialogBox/Answers.text = new_value

func answera_set(new_value):
	answera = new_value
	$DialogBox/ButtonA.text = new_value
	
func answerb_set(new_value):
	answerb = new_value
	$DialogBox/ButtonB.text = new_value

func open():
	set_process_input(true)
	game_time.paused = 1
	popup()
	$DialogBox/Tween.interpolate_property(
		$DialogBox/Dialogue, \"percent_visible\", 0, 1, 1,
		Tween.TRANS_LINEAR,Tween.EASE_IN_OUT
	)
	$DialogBox/Tween.start()

func close():
	set_process_input(false)
	hide()
	game_time.paused = 0

func _ready():
	set_process_input(false)

func _input(event):
	if event is InputEventKey:
		if event.keycode == KEY_A:
#		if _on_ButtonA_pressed():
			set_process_input(false)
			npc.talk(\"A\")
		elif event.keycode == KEY_B:
			set_process_input(false)
			npc.talk(\"B\")

func _on_ButtonA_pressed():
	var a = InputEventKey.new()
	a.keycode = KEY_A
	a.button_pressed = true # change to false to simulate a key release
	Input.parse_input_event(a)

func _on_ButtonB_pressed():
	var a = InputEventKey.new()
	a.keycode = KEY_B
	a.button_pressed = true # change to false to simulate a key release
	Input.parse_input_event(a)
"

[sub_resource type="FontFile" id="9"]
fallbacks = Array[Font]([ExtResource("18")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="FontFile" id="10"]
fallbacks = Array[Font]([ExtResource("18")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="FontFile" id="11"]
fallbacks = Array[Font]([ExtResource("18")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="FontFile" id="13"]
fallbacks = Array[Font]([ExtResource("18")])
face_index = null
embolden = null
transform = null
cache/0/16/0/ascent = 0.0
cache/0/16/0/descent = 0.0
cache/0/16/0/underline_position = 0.0
cache/0/16/0/underline_thickness = 0.0
cache/0/16/0/scale = 1.0
cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)

[sub_resource type="StyleBoxFlat" id="12"]
bg_color = Color(0.364706, 0.364706, 0.364706, 1)

[node name="Main" type="Node"]
script = ExtResource("5")

[node name="BlueBackground" type="ColorRect" parent="."]
offset_left = -6301.29
offset_top = -4096.0
offset_right = 6909.71
offset_bottom = 4679.48
color = Color(0.0235294, 0.168627, 0.243137, 1)

[node name="Landscape" type="Node2D" parent="."]
unique_name_in_owner = true
position = Vector2(-500, -1200)

[node name="UI" type="CanvasLayer" parent="."]
unique_name_in_owner = true
script = ExtResource("10")

[node name="MainMenu" type="Control" parent="UI"]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0

[node name="SpeedOne" type="Button" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 44.741
offset_top = 12.2021
offset_right = 71.741
offset_bottom = 32.2021
text = "1x"

[node name="SpeedThree" type="Button" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 111.243
offset_top = 11.7029
offset_right = 138.243
offset_bottom = 31.7029
text = "3x"

[node name="SpeedTwo" type="Button" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 78.2968
offset_top = 12.2021
offset_right = 105.297
offset_bottom = 32.2021
text = "2x"

[node name="SpeedPause" type="Button" parent="UI/MainMenu"]
process_mode = 2
layout_mode = 0
offset_left = 11.2957
offset_top = 12.2021
offset_right = 38.2957
offset_bottom = 32.2021
text = "||"

[node name="RatingTitle" type="Label" parent="UI/MainMenu"]
layout_mode = 0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 1065.09
offset_top = 992.045
offset_right = 1183.09
offset_bottom = 1031.05
theme_override_fonts/font = SubResource("1")
text = "Rating"

[node name="RatingNumber" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 1189.36
offset_top = 1032.99
offset_right = 1266.36
offset_bottom = 1071.99
theme_override_fonts/font = SubResource("2")
text = "1"

[node name="PupilsTitle" type="Label" parent="UI/MainMenu"]
layout_mode = 0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 551.794
offset_top = 990.417
offset_right = 669.794
offset_bottom = 1029.42
theme_override_fonts/font = SubResource("1")
text = "Pupils"

[node name="PupilsOutOf" type="Label" parent="UI/MainMenu"]
layout_mode = 0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 803.196
offset_top = 993.475
offset_right = 829.196
offset_bottom = 1032.48
theme_override_fonts/font = SubResource("1")
text = "/"

[node name="PupilsNumber" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 705.0
offset_top = 1031.99
offset_right = 793.0
offset_bottom = 1070.99
theme_override_fonts/font = SubResource("2")
text = "1"

[node name="PupilsMax" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 832.748
offset_top = 1033.28
offset_right = 920.748
offset_bottom = 1072.28
theme_override_fonts/font = SubResource("2")
text = "1"

[node name="FundsTitle" type="Label" parent="UI/MainMenu"]
layout_mode = 0
anchor_left = 0.000830491
anchor_top = 1.0
anchor_right = 0.000830491
anchor_bottom = 1.0
offset_left = 1.02981
offset_top = 994.99
offset_right = 138.03
offset_bottom = 1033.99
theme_override_fonts/font = SubResource("1")
text = "Funds £"

[node name="FundsNumber" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 143.364
offset_top = 1035.68
offset_right = 397.364
offset_bottom = 1074.68
theme_override_fonts/font = SubResource("2")
text = "1"

[node name="YearTitle" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 1491.56
offset_top = 5.63832
offset_right = 1516.56
offset_bottom = 44.6383
theme_override_colors/font_color = Color(0.717647, 0.717647, 0.717647, 1)
theme_override_fonts/font = SubResource("1")
text = "Y"

[node name="YearNumber" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 1512.48
offset_top = 5.73901
offset_right = 1552.48
offset_bottom = 44.739
theme_override_fonts/font = SubResource("2")
text = "1"

[node name="WeekNumber" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 1819.99
offset_top = 6.79897
offset_right = 1859.99
offset_bottom = 45.799
theme_override_fonts/font = SubResource("2")
text = "1"

[node name="MonthNumber" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 1746.38
offset_top = 7.00455
offset_right = 1786.38
offset_bottom = 46.0045
theme_override_fonts/font = SubResource("2")
text = "1"

[node name="SeasonTitle" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 1545.48
offset_top = 5.72328
offset_right = 1569.48
offset_bottom = 44.7233
theme_override_colors/font_color = Color(0.717647, 0.717647, 0.717647, 1)
theme_override_fonts/font = SubResource("3")
text = "S"

[node name="SeasonNumber" type="Label" parent="UI/MainMenu"]
layout_mode = 0
anchor_bottom = 0.0930556
offset_left = 1575.45
offset_top = 6.19207
offset_right = 1710.44
offset_bottom = 41.4698
theme_override_fonts/font = SubResource("4")
text = "Autumn"

[node name="DayTitle" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 1857.98
offset_top = 7.40338
offset_right = 1883.98
offset_bottom = 46.4034
theme_override_colors/font_color = Color(0.717647, 0.717647, 0.717647, 1)
theme_override_fonts/font = SubResource("5")
text = "D"

[node name="WeekTitle" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 1785.38
offset_top = 7.00455
offset_right = 1822.38
offset_bottom = 46.0045
theme_override_colors/font_color = Color(0.717647, 0.717647, 0.717647, 1)
theme_override_fonts/font = SubResource("5")
text = "W"

[node name="MonthTitle" type="Label" parent="UI/MainMenu"]
layout_mode = 0
offset_left = 1718.98
offset_top = 7.00455
offset_right = 1750.98
offset_bottom = 46.0045
theme_override_colors/font_color = Color(0.717647, 0.717647, 0.717647, 1)
theme_override_fonts/font = SubResource("5")
text = "M"

[node name="DayNumber" type="Label" parent="UI/MainMenu"]
layout_mode = 0
anchor_left = 0.5
anchor_right = 0.5
offset_left = 1854.02
offset_top = 7.23196
offset_right = 1894.02
offset_bottom = 46.232
theme_override_fonts/font = SubResource("6")
text = "1"

[node name="Bars" type="Control" parent="UI/MainMenu"]
anchors_preset = 0
offset_left = 1724.0
offset_top = 854.0
offset_right = 1896.0
offset_bottom = 1068.0

[node name="PupilBar" type="ProgressBar" parent="UI/MainMenu/Bars"]
layout_mode = 0
offset_left = 95.4001
offset_top = 164.25
offset_right = 219.4
offset_bottom = 183.25
rotation = 270.0

[node name="TeacherBar" type="ProgressBar" parent="UI/MainMenu/Bars"]
layout_mode = 0
offset_left = 132.58
offset_top = 164.0
offset_right = 256.58
offset_bottom = 183.0
rotation = 270.0

[node name="PBar" type="Label" parent="UI/MainMenu/Bars"]
layout_mode = 0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 94.6501
offset_top = -47.7061
offset_right = 118.65
offset_bottom = -8.70605
theme_override_fonts/font = SubResource("1")
text = "P"

[node name="TBar" type="Label" parent="UI/MainMenu/Bars"]
layout_mode = 0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 132.75
offset_top = -47.7061
offset_right = 156.75
offset_bottom = -8.70605
theme_override_fonts/font = SubResource("1")
text = "T"

[node name="Line2D" type="Line2D" parent="UI/MainMenu/Bars"]
position = Vector2(-1689.2, -897.23)
points = PackedVector2Array(1773.2, 998.934, 1851.95, 998.934)
width = 4.0

[node name="PausedRect" type="ColorRect" parent="UI"]
visible = false
offset_right = 1280.0
offset_bottom = 720.0
color = Color(0.666667, 0.666667, 0.666667, 0.458824)

[node name="BuildMenu" type="Control" parent="UI"]
visible = false
layout_mode = 3
anchors_preset = 0
offset_left = 80.0
offset_top = 80.0
offset_right = 1200.0
offset_bottom = 600.0

[node name="ColorRect" type="ColorRect" parent="UI/BuildMenu"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.219608, 0.219608, 0.219608, 0.603922)

[node name="BuildMenuClose" type="Button" parent="UI/BuildMenu"]
layout_mode = 0
offset_left = 773.236
offset_top = 6.58759
offset_right = 793.236
offset_bottom = 26.5876
text = "X"

[node name="ClassroomButton" type="Button" parent="UI/BuildMenu"]
layout_mode = 0
offset_left = 13.0098
offset_top = 12.0805
offset_right = 345.01
offset_bottom = 259.081
scale = Vector2(0.3, 0.3)
icon = ExtResource("8")

[node name="ClassroomLabel" type="Label" parent="UI/BuildMenu"]
layout_mode = 0
offset_left = 29.5048
offset_top = 90.973
offset_right = 96.5048
offset_bottom = 104.973
text = "Classroom"

[node name="ClassroomCost" type="Label" parent="UI/BuildMenu"]
layout_mode = 0
offset_left = 30.3244
offset_top = 108.184
offset_right = 97.3244
offset_bottom = 122.184
text = "Classroom"

[node name="StaffroomButton" type="Button" parent="UI/BuildMenu"]
layout_mode = 0
offset_left = 139.403
offset_top = 36.9557
offset_right = 215.403
offset_bottom = 56.9557
text = "StaffRoom"

[node name="CPDRoomButton" type="Button" parent="UI/BuildMenu"]
layout_mode = 0
offset_left = 270.385
offset_top = 36.9557
offset_right = 346.385
offset_bottom = 56.9557
text = "CPDRoom"

[node name="DebugMenu" type="Control" parent="UI"]
layout_mode = 3
anchors_preset = 0
offset_left = 80.0
offset_top = 80.0
offset_right = 1200.0
offset_bottom = 600.0
script = ExtResource("14")

[node name="ColorRect" type="ColorRect" parent="UI/DebugMenu"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0, 0.788235, 0.603922, 0.352941)

[node name="DebugMenuClose" type="Button" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 1072.25
offset_top = 7.03862
offset_right = 1092.25
offset_bottom = 27.0386
text = "X"

[node name="ClassroomTitle" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 135.302
offset_top = 15.1658
offset_right = 209.302
offset_bottom = 29.1658
text = "Classrooms"

[node name="TeacherTitle" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 257.278
offset_top = 14.2487
offset_right = 331.278
offset_bottom = 28.2487
text = "Teachers"

[node name="PupilsTitle" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 28.4304
offset_top = 16.508
offset_right = 74.4304
offset_bottom = 30.508
text = "Pupils"

[node name="TestTimer" type="Label" parent="UI/DebugMenu"]
visible = false
layout_mode = 0
offset_left = 9.08185
offset_top = 479.06
offset_right = 127.082
offset_bottom = 495.06
theme_override_fonts/font = SubResource("8")
text = "BLAHBLAHBLAH"

[node name="PupilsLabel" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 41.0
offset_top = 44.0
offset_right = 81.0
offset_bottom = 58.0
text = "0"

[node name="ClassroomLabel" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 168.249
offset_top = 40.7156
offset_right = 208.249
offset_bottom = 54.7156
text = "0"

[node name="TeacherLabel" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 279.35
offset_top = 36.7806
offset_right = 319.35
offset_bottom = 50.7806
text = "0"

[node name="AddMoney" type="Button" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 25.0719
offset_top = 162.535
offset_right = 114.072
offset_bottom = 182.535
text = "Add 100000"

[node name="StaffroomLabel" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 16.6129
offset_top = 101.285
offset_right = 83.6129
offset_bottom = 115.285
text = "Staffroom?"

[node name="CPDRoomLabel" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 260.448
offset_top = 100.213
offset_right = 327.448
offset_bottom = 114.213
text = "CPDRoom?"

[node name="PupilAchievement" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 15.1453
offset_top = 382.196
offset_right = 136.145
offset_bottom = 396.196
pivot_offset = Vector2(82.1791, 31.818)
text = "Pupil Achievement"

[node name="TeacherAchievement" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 559.485
offset_top = 378.632
offset_right = 680.485
offset_bottom = 392.632
pivot_offset = Vector2(82.1791, 31.818)
text = "Teacher Achievement"

[node name="TeacherAchievementNumber" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 718.212
offset_top = 380.414
offset_right = 839.212
offset_bottom = 394.414
text = "0"

[node name="TeacherEnjoymentNumber" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 718.212
offset_top = 398.414
offset_right = 839.212
offset_bottom = 412.414
text = "0"

[node name="TeacherWellbeingNumber" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 718.212
offset_top = 417.414
offset_right = 839.212
offset_bottom = 431.414
text = "0"

[node name="TeacherEnjoyment" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 559.485
offset_top = 395.632
offset_right = 698.485
offset_bottom = 409.632
pivot_offset = Vector2(82.1791, 31.818)
text = "Teacher Enjoyment"

[node name="TeacherWellbeing" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 559.485
offset_top = 412.632
offset_right = 698.485
offset_bottom = 426.632
pivot_offset = Vector2(82.1791, 31.818)
text = "Teacher Wellbeing"

[node name="PupilAchievementNumber" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 156.798
offset_top = 382.196
offset_right = 277.798
offset_bottom = 396.196
text = "0"

[node name="PupilEnjoymentNumber" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 156.798
offset_top = 400.014
offset_right = 277.798
offset_bottom = 414.014
text = "0"

[node name="PupilWellbeingNumber" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 156.798
offset_top = 419.613
offset_right = 277.798
offset_bottom = 433.613
text = "0"

[node name="PupilEnjoyment" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 16.0362
offset_top = 398.232
offset_right = 137.036
offset_bottom = 412.232
text = "Pupil Enjoyment"

[node name="PupilWellbeing" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 16.0362
offset_top = 416.941
offset_right = 137.036
offset_bottom = 430.941
text = "Pupil Wellbeing"

[node name="PupilTotalScoreNumber" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 458.813
offset_top = 380.413
offset_right = 579.813
offset_bottom = 394.413
text = "0"

[node name="TeacherTotalScoreNumber" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 458.813
offset_top = 399.122
offset_right = 579.813
offset_bottom = 413.122
text = "0"

[node name="PupilTotalScore" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 359.924
offset_top = 379.523
offset_right = 480.924
offset_bottom = 393.523
text = "Pupil Total"

[node name="TeacherTotalScore" type="Label" parent="UI/DebugMenu"]
layout_mode = 0
offset_left = 358.924
offset_top = 398.232
offset_right = 479.924
offset_bottom = 412.232
text = "Teacher Total"

[node name="BudgetMenu" type="Control" parent="UI"]
visible = false
layout_mode = 3
anchors_preset = 0
offset_left = 80.0
offset_top = 80.0
offset_right = 1200.0
offset_bottom = 600.0
script = ExtResource("4")

[node name="ColorRect" type="ColorRect" parent="UI/BudgetMenu"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.380392, 0.380392, 0.380392, 0.670588)

[node name="BudgetMenuClose" type="Button" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 1070.7
offset_top = 6.77661
offset_right = 1090.7
offset_bottom = 26.7766
text = "X"

[node name="Label" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 7.13458
offset_top = 7.13461
offset_right = 156.135
offset_bottom = 21.1346
text = "Monthly Expenditures / Income:"

[node name="BuildingCost" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 13.3773
offset_top = 53.5095
offset_right = 151.377
offset_bottom = 67.5095
text = "Building Maintenance"

[node name="BuildingCostNumber" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 199.769
offset_top = 55.2932
offset_right = 337.769
offset_bottom = 69.2932
theme_override_colors/font_color = Color(1, 0, 0, 1)
text = "000000"

[node name="TeacherCostNumber" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 199.8
offset_top = 71.0734
offset_right = 337.8
offset_bottom = 85.0734
theme_override_colors/font_color = Color(1, 0, 0, 1)
text = "000000"

[node name="PupilIncomeNumber" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 200.664
offset_top = 86.7446
offset_right = 338.664
offset_bottom = 100.745
theme_override_colors/font_color = Color(0.290196, 1, 0, 1)
text = "000000"

[node name="PolicyCostNumber" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 201.143
offset_top = 103.218
offset_right = 339.143
offset_bottom = 117.218
theme_override_colors/font_color = Color(1, 0, 0, 1)
text = "000000"

[node name="TeacherCost" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 13.3773
offset_top = 70.9452
offset_right = 151.377
offset_bottom = 84.9452
text = "Teacher Salaries"

[node name="PupilIncome" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 15.1064
offset_top = 87.8898
offset_right = 153.106
offset_bottom = 101.89
text = "Pupil Income"

[node name="PolicyCost" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 15.1064
offset_top = 103.915
offset_right = 153.106
offset_bottom = 117.915
text = "Policy Cost"

[node name="Total" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 13.8328
offset_top = 416.713
offset_right = 53.8328
offset_bottom = 430.713
text = "Total"

[node name="TotalNumber" type="Label" parent="UI/BudgetMenu"]
layout_mode = 0
offset_left = 95.965
offset_top = 419.307
offset_right = 143.965
offset_bottom = 433.307
text = "000000"

[node name="PolicyMenu" type="Control" parent="UI"]
visible = false
layout_mode = 3
anchors_preset = 0
offset_left = 80.0
offset_top = 80.0
offset_right = 1200.0
offset_bottom = 600.0

[node name="ColorRect" type="ColorRect" parent="UI/PolicyMenu"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(1, 1, 1, 0.545098)

[node name="ClosePolicyMenu" type="Button" parent="UI/PolicyMenu"]
layout_mode = 0
offset_left = 1074.42
offset_top = 4.68768
offset_right = 1094.42
offset_bottom = 24.6877
text = "X"

[node name="ClassSize" type="Label" parent="UI/PolicyMenu"]
layout_mode = 0
offset_left = 77.8231
offset_top = 42.5336
offset_right = 117.823
offset_bottom = 56.5336
text = "500"

[node name="ClassSizeLabel" type="Label" parent="UI/PolicyMenu"]
layout_mode = 0
offset_left = 32.2943
offset_top = 14.9771
offset_right = 163.294
offset_bottom = 28.9771
text = "Maximum Class Size"

[node name="ClassSizeLower" type="Button" parent="UI/PolicyMenu"]
layout_mode = 0
offset_left = 53.3558
offset_top = 38.3787
offset_right = 70.3558
offset_bottom = 58.3787
text = "-"

[node name="ClassSizeRaise" type="Button" parent="UI/PolicyMenu"]
layout_mode = 0
offset_left = 109.988
offset_top = 39.3148
offset_right = 129.988
offset_bottom = 59.3148
text = "+"

[node name="PrincipalMenu" type="Control" parent="UI"]
visible = false
layout_mode = 3
anchors_preset = 0
offset_left = 80.0
offset_top = 80.0
offset_right = 1200.0
offset_bottom = 600.0
script = ExtResource("12")

[node name="ColorRect" type="ColorRect" parent="UI/PrincipalMenu"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.254902, 0.254902, 0.254902, 0.745098)

[node name="ClosePrincipalMenu" type="Button" parent="UI/PrincipalMenu"]
layout_mode = 0
offset_left = 1073.76
offset_top = 4.25082
offset_right = 1093.76
offset_bottom = 24.2508
text = "X"

[node name="ChangeFace" type="Button" parent="UI/PrincipalMenu"]
layout_mode = 0
offset_left = 175.819
offset_top = 205.418
offset_right = 262.819
offset_bottom = 225.418
text = "ChangeFace"

[node name="PrincipalPhoto" type="Sprite2D" parent="UI/PrincipalMenu"]
position = Vector2(81.397, 217.763)
texture = ExtResource("13")

[node name="PrincipalNumLabel" type="Label" parent="UI/PrincipalMenu"]
layout_mode = 0
offset_left = 67.0
offset_top = 290.0
offset_right = 107.0
offset_bottom = 306.0
text = "asdf"

[node name="NameLine" type="LineEdit" parent="UI/PrincipalMenu"]
layout_mode = 0
offset_left = 176.333
offset_top = 175.256
offset_right = 411.333
offset_bottom = 199.256
caret_blink = true
caret_blink_interval = 0.5

[node name="NameLineOK" type="Button" parent="UI/PrincipalMenu"]
layout_mode = 0
offset_left = 417.124
offset_top = 176.934
offset_right = 448.124
offset_bottom = 196.934
text = "OK"

[node name="SchoolNameLine" type="LineEdit" parent="UI/PrincipalMenu"]
layout_mode = 0
offset_left = 615.0
offset_top = 180.0
offset_right = 868.0
offset_bottom = 204.0
caret_blink = true
caret_blink_interval = 0.5

[node name="SchoolNameTitle" type="Label" parent="UI/PrincipalMenu"]
layout_mode = 0
offset_left = 618.208
offset_top = 161.74
offset_right = 706.208
offset_bottom = 175.74
text = "School Name:"

[node name="PrincipalName" type="Label" parent="UI/PrincipalMenu"]
layout_mode = 0
offset_left = 178.513
offset_top = 155.75
offset_right = 279.513
offset_bottom = 169.75
text = "Principal Name:"

[node name="SchoolNameOK" type="Button" parent="UI/PrincipalMenu"]
layout_mode = 0
offset_left = 876.992
offset_top = 180.91
offset_right = 907.992
offset_bottom = 200.91
text = "OK"

[node name="HRMenu" type="Control" parent="UI"]
visible = false
layout_mode = 3
anchors_preset = 0
offset_left = 80.0
offset_top = 80.0
offset_right = 1200.0
offset_bottom = 600.0

[node name="ColorRect" type="ColorRect" parent="UI/HRMenu"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.188235, 0.188235, 0.188235, 1)

[node name="CTTitle" type="Label" parent="UI/HRMenu"]
layout_mode = 0
offset_left = 16.4102
offset_top = 11.7216
offset_right = 110.41
offset_bottom = 25.7216
text = "Class Teachers"

[node name="CloseHRMenu" type="Button" parent="UI/HRMenu"]
layout_mode = 0
offset_left = 1085.85
offset_top = -5.19962
offset_right = 1105.85
offset_bottom = 14.8004
text = "X"

[node name="AddTeacher" type="Button" parent="UI/HRMenu"]
layout_mode = 0
offset_left = 13.1025
offset_top = 32.4662
offset_right = 117.103
offset_bottom = 52.4662
text = "AddTeacher"

[node name="InfoMenu" type="Control" parent="UI"]
visible = false
layout_mode = 3
anchors_preset = 0
offset_left = 80.0
offset_top = 80.0
offset_right = 1200.0
offset_bottom = 600.0

[node name="ColorRect" type="ColorRect" parent="UI/InfoMenu"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.301961, 0.301961, 0.301961, 1)

[node name="InfoMenuClose" type="Button" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 989.18
offset_top = 4.71936
offset_right = 1009.18
offset_bottom = 24.7194
text = "X"

[node name="PupilRegister" type="RichTextLabel" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 49.8903
offset_top = 83.7445
offset_right = 440.89
offset_bottom = 366.744
text = "TEXTTEXTTEXT"

[node name="Year1Label" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 572.849
offset_top = 89.09
offset_right = 667.849
offset_bottom = 103.09
text = "Year 1 # Pupils"

[node name="Year2Label" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 572.0
offset_top = 106.017
offset_right = 668.74
offset_bottom = 120.017
text = "Year 2 # Pupils"

[node name="Year3Label" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 572.0
offset_top = 122.053
offset_right = 668.74
offset_bottom = 136.053
text = "Year 3 # Pupils"

[node name="Year4Label" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 572.0
offset_top = 139.871
offset_right = 669.631
offset_bottom = 153.871
text = "Year 4 # Pupils"

[node name="Year5Label" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 572.0
offset_top = 158.58
offset_right = 670.522
offset_bottom = 172.58
text = "Year 5 # Pupils"

[node name="Year6Label" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 572.0
offset_top = 178.18
offset_right = 670.522
offset_bottom = 192.18
text = "Year 6 # Pupils"

[node name="Year7Label" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 572.0
offset_top = 196.889
offset_right = 672.303
offset_bottom = 210.889
text = "Year 7 # Pupils"

[node name="Year8Label" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 572.0
offset_top = 214.707
offset_right = 671.413
offset_bottom = 228.707
text = "Year 8 # Pupils"

[node name="Year1Number" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 685.102
offset_top = 89.09
offset_right = 780.102
offset_bottom = 103.09
text = "0"

[node name="Year2Number" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 685.102
offset_top = 105.126
offset_right = 780.102
offset_bottom = 119.126
text = "0"

[node name="Year3Number" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 685.993
offset_top = 122.944
offset_right = 780.993
offset_bottom = 136.944
text = "0"

[node name="Year4Number" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 685.993
offset_top = 140.762
offset_right = 780.993
offset_bottom = 154.762
text = "0"

[node name="Year5Number" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 686.884
offset_top = 156.798
offset_right = 781.884
offset_bottom = 170.798
text = "0"

[node name="Year6Number" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 686.884
offset_top = 175.507
offset_right = 781.884
offset_bottom = 189.507
text = "0"

[node name="Year7Number" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 685.993
offset_top = 195.107
offset_right = 780.993
offset_bottom = 209.107
text = "0"

[node name="Year8Number" type="Label" parent="UI/InfoMenu"]
layout_mode = 0
offset_left = 685.993
offset_top = 213.816
offset_right = 780.993
offset_bottom = 227.816
text = "0"

[node name="MenuButtons" type="Control" parent="UI"]
layout_mode = 3
anchors_preset = 0
offset_left = 8.254
offset_top = 43.1042
offset_right = 48.254
offset_bottom = 83.1042

[node name="DebugMenuOn" type="Button" parent="UI/MenuButtons"]
layout_mode = 0
anchor_left = 0.295
anchor_top = 1.008
anchor_right = 0.295
anchor_bottom = 1.008
offset_left = -11.8
offset_top = -40.32
offset_right = 77.2
offset_bottom = -20.32
text = "DebugMenu"

[node name="BuildMenuOn" type="Button" parent="UI/MenuButtons"]
layout_mode = 0
offset_left = 97.1963
offset_top = 0.537331
offset_right = 178.196
offset_bottom = 20.5373
text = "BuildMenu"

[node name="BudgetMenuOn" type="Button" parent="UI/MenuButtons"]
layout_mode = 0
offset_left = 185.782
offset_top = 1.26985
offset_right = 278.782
offset_bottom = 21.2699
text = "BudgetMenu"

[node name="PolicyMenuOn" type="Button" parent="UI/MenuButtons"]
layout_mode = 0
offset_left = 287.167
offset_top = 1.61415
offset_right = 373.167
offset_bottom = 21.6142
text = "PolicyMenu"

[node name="PrincipalMenuOn" type="Button" parent="UI/MenuButtons"]
layout_mode = 0
offset_left = 380.541
offset_top = 2.37465
offset_right = 483.541
offset_bottom = 22.3747
text = "PrincipalMenu"

[node name="HRMenuButton" type="Button" parent="UI/MenuButtons"]
layout_mode = 0
offset_left = 493.067
offset_top = 2.37467
offset_right = 596.067
offset_bottom = 22.3747
text = "HRMenu"

[node name="InfoButton" type="Button" parent="UI/MenuButtons"]
layout_mode = 0
offset_left = 603.136
offset_top = 1.88774
offset_right = 640.136
offset_bottom = 21.8877
text = "Info"

[node name="DialoguePopup" type="Popup" parent="UI"]
process_mode = 2
exclusive = true
script = SubResource("14")

[node name="DialogBox" type="ColorRect" parent="UI/DialoguePopup"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 0
size_flags_horizontal = 3
size_flags_vertical = 3

[node name="NameBox" type="ColorRect" parent="UI/DialoguePopup/DialogBox"]
layout_mode = 0
offset_left = 60.5675
offset_top = -23.2728
offset_right = 393.568
offset_bottom = 19.7272
color = Color(0.713726, 0.713726, 0.713726, 1)

[node name="NPCName" type="Label" parent="UI/DialoguePopup/DialogBox/NameBox"]
layout_mode = 0
offset_left = 7.0
offset_top = 8.0
offset_right = 329.0
offset_bottom = 34.0
theme_override_colors/font_color = Color(0.0627451, 0, 0.509804, 1)
theme_override_fonts/font = SubResource("9")
text = "Name"

[node name="Dialogue" type="Label" parent="UI/DialoguePopup/DialogBox"]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -295.0
offset_top = -129.5
offset_right = 583.0
offset_bottom = 125.5
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_fonts/font = SubResource("10")
text = "Dialogue"

[node name="ButtonA" type="Button" parent="UI/DialoguePopup/DialogBox"]
layout_mode = 0
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 351.495
offset_top = -40.5745
offset_right = 451.495
offset_bottom = -9.57446
theme_override_fonts/font = SubResource("11")
text = "ButtonA"

[node name="ButtonB" type="Button" parent="UI/DialoguePopup/DialogBox"]
layout_mode = 0
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -489.335
offset_top = -33.7805
offset_right = -389.335
offset_bottom = -8.78052
theme_override_fonts/font = SubResource("13")
theme_override_styles/normal = SubResource("12")
text = "ButtonB"

[node name="Tween" type="Tween" parent="UI/DialoguePopup/DialogBox"]
_import_path = NodePath("")
unique_name_in_owner = false
process_mode = 0
process_priority = 0
editor_description = ""
script = null

[node name="Pupils" type="Node" parent="."]
script = ExtResource("2")

[node name="Buildings" type="Node" parent="."]
script = ExtResource("6")

[node name="ClassTeachers" type="Node" parent="."]
script = ExtResource("7")

[connection signal="pressed" from="UI/MainMenu/SpeedOne" to="UI" method="_on_SpeedOne_pressed"]
[connection signal="pressed" from="UI/MainMenu/SpeedThree" to="UI" method="_on_SpeedThree_pressed"]
[connection signal="pressed" from="UI/MainMenu/SpeedTwo" to="UI" method="_on_SpeedTwo_pressed"]
[connection signal="pressed" from="UI/MainMenu/SpeedPause" to="UI" method="_on_SpeedPause_pressed"]
[connection signal="pressed" from="UI/BuildMenu/BuildMenuClose" to="UI" method="_on_BuildMenuClose_pressed"]
[connection signal="pressed" from="UI/BuildMenu/ClassroomButton" to="UI" method="_on_ClassroomButton_pressed"]
[connection signal="pressed" from="UI/BuildMenu/ClassroomButton" to="Buildings" method="_on_ClassroomButton_pressed"]
[connection signal="pressed" from="UI/BuildMenu/StaffroomButton" to="Buildings" method="_on_StaffroomButton_pressed"]
[connection signal="pressed" from="UI/BuildMenu/CPDRoomButton" to="Buildings" method="_on_CPDRoomButton_pressed"]
[connection signal="pressed" from="UI/DebugMenu/DebugMenuClose" to="UI" method="_on_DebugMenuClose_pressed"]
[connection signal="pressed" from="UI/DebugMenu/AddMoney" to="UI/DebugMenu" method="_on_AddMoney_pressed"]
[connection signal="pressed" from="UI/BudgetMenu/BudgetMenuClose" to="UI" method="_on_BudgetMenuClose_pressed"]
[connection signal="pressed" from="UI/PolicyMenu/ClosePolicyMenu" to="UI" method="_on_ClosePolicyMenu_pressed"]
[connection signal="pressed" from="UI/PolicyMenu/ClassSizeLower" to="UI" method="_on_ClassSizeLower_pressed"]
[connection signal="pressed" from="UI/PolicyMenu/ClassSizeRaise" to="UI" method="_on_ClassSizeRaise_pressed"]
[connection signal="pressed" from="UI/PrincipalMenu/ClosePrincipalMenu" to="UI" method="_on_ClosePrincipalMenu_pressed"]
[connection signal="pressed" from="UI/PrincipalMenu/ChangeFace" to="UI/PrincipalMenu" method="_on_ChangeFace_pressed"]
[connection signal="pressed" from="UI/PrincipalMenu/NameLineOK" to="UI" method="_on_NameLineOK_pressed"]
[connection signal="pressed" from="UI/PrincipalMenu/SchoolNameOK" to="UI/PrincipalMenu" method="_on_SchoolNameOK_pressed"]
[connection signal="pressed" from="UI/HRMenu/CloseHRMenu" to="UI" method="_on_CloseHRMenu_pressed"]
[connection signal="pressed" from="UI/HRMenu/AddTeacher" to="ClassTeachers" method="_on_AddTeacher_pressed"]
[connection signal="pressed" from="UI/InfoMenu/InfoMenuClose" to="UI" method="_on_InfoMenuClose_pressed"]
[connection signal="pressed" from="UI/MenuButtons/DebugMenuOn" to="UI" method="_on_DebugMenuOn_pressed"]
[connection signal="pressed" from="UI/MenuButtons/BuildMenuOn" to="UI" method="_on_BuildMenuOn_pressed"]
[connection signal="pressed" from="UI/MenuButtons/BudgetMenuOn" to="UI" method="_on_BudgetMenuOn_pressed"]
[connection signal="pressed" from="UI/MenuButtons/PolicyMenuOn" to="UI" method="_on_PolicyMenuOn_pressed"]
[connection signal="pressed" from="UI/MenuButtons/PrincipalMenuOn" to="UI" method="_on_PrincipalMenuOn_pressed"]
[connection signal="pressed" from="UI/MenuButtons/HRMenuButton" to="UI" method="_on_HRMenuButton_pressed"]
[connection signal="pressed" from="UI/MenuButtons/InfoButton" to="UI" method="_on_InfoButton_pressed"]
[connection signal="pressed" from="UI/DialoguePopup/DialogBox/ButtonA" to="UI/DialoguePopup" method="_on_ButtonA_pressed"]
[connection signal="pressed" from="UI/DialoguePopup/DialogBox/ButtonB" to="UI/DialoguePopup" method="_on_ButtonB_pressed"]
