[gd_scene load_steps=38 format=2]

[ext_resource path="res://scenes/Map.tscn" type="PackedScene" id=1]
[ext_resource path="res://sprites/symbols/population.svg" type="Texture" id=2]
[ext_resource path="res://scripts/city_status.gd" type="Script" id=3]
[ext_resource path="res://scenes/Advisor.tscn" type="PackedScene" id=4]
[ext_resource path="res://sprites/ui/iccom.png" type="Texture" id=5]
[ext_resource path="res://scenes/DebugConsole.tscn" type="PackedScene" id=6]
[ext_resource path="res://sprites/symbols/graph.svg" type="Texture" id=7]
[ext_resource path="res://sprites/symbols/calendar.svg" type="Texture" id=8]
[ext_resource path="res://sprites/ui/icres.png" type="Texture" id=9]
[ext_resource path="res://sprites/ui/icreshi.png" type="Texture" id=10]
[ext_resource path="res://sprites/ui/icfire.png" type="Texture" id=11]
[ext_resource path="res://sprites/ui/icindhi.png" type="Texture" id=12]
[ext_resource path="res://sprites/ui/icind.png" type="Texture" id=13]
[ext_resource path="res://sprites/ui/icqryhi.png" type="Texture" id=14]
[ext_resource path="res://sprites/ui/icqry.png" type="Texture" id=15]
[ext_resource path="res://sprites/ui/icpol.png" type="Texture" id=16]
[ext_resource path="res://sprites/ui/icdozr.png" type="Texture" id=17]
[ext_resource path="res://sprites/ui/iccoalhi.png" type="Texture" id=18]
[ext_resource path="res://sprites/ui/iccoal.png" type="Texture" id=19]
[ext_resource path="res://scripts/game.gd" type="Script" id=20]
[ext_resource path="res://scenes/Meet.tscn" type="PackedScene" id=21]
[ext_resource path="res://sprites/ui/icparkhi.png" type="Texture" id=22]
[ext_resource path="res://sprites/ui/icnuc.png" type="Texture" id=23]
[ext_resource path="res://sprites/ui/icpark.png" type="Texture" id=24]
[ext_resource path="res://sprites/ui/icnuchi.png" type="Texture" id=25]
[ext_resource path="res://sprites/ui/icseap.png" type="Texture" id=26]
[ext_resource path="res://sprites/ui/icseaphi.png" type="Texture" id=27]
[ext_resource path="res://sprites/ui/icstad.png" type="Texture" id=28]
[ext_resource path="res://sprites/ui/icpolhi.png" type="Texture" id=29]
[ext_resource path="res://sprites/ui/iccomhi.png" type="Texture" id=30]
[ext_resource path="res://sprites/ui/icdozrhi.png" type="Texture" id=31]
[ext_resource path="res://scenes/TaxWindow.tscn" type="PackedScene" id=32]
[ext_resource path="res://sprites/ui/icfirehi.png" type="Texture" id=33]
[ext_resource path="res://scenes/Credits.tscn" type="PackedScene" id=34]
[ext_resource path="res://scripts/ticker.gd" type="Script" id=35]
[ext_resource path="res://sprites/symbols/building.svg" type="Texture" id=36]
[ext_resource path="res://scripts/windows.gd" type="Script" id=37]

[node name="Game" type="Node2D"]
script = ExtResource( 20 )

[node name="Quarters" type="Timer" parent="."]
wait_time = 150.0
autostart = true

[node name="RotateNews" type="Timer" parent="."]
wait_time = 6.0
autostart = true

[node name="Map" parent="." instance=ExtResource( 1 )]

[node name="Controls" type="CanvasLayer" parent="."]

[node name="Windows" type="Control" parent="Controls"]
anchor_right = 0.938477
anchor_bottom = 0.935
script = ExtResource( 37 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": true
}

[node name="Console" parent="Controls/Windows" instance=ExtResource( 6 )]
anchor_left = 0.594727
anchor_top = 0.05
anchor_right = 0.985352
anchor_bottom = 0.3
rect_min_size = Vector2( 400, 150 )
resizable = true

[node name="CityPlanner" parent="Controls/Windows" instance=ExtResource( 4 )]

[node name="TaxWindow" parent="Controls/Windows" instance=ExtResource( 32 )]
anchor_left = 0.297863
anchor_top = 0.409167
anchor_right = 0.702137
anchor_bottom = 0.590833
margin_bottom = 3.05176e-05

[node name="AdvisorMeet" parent="Controls/Windows" instance=ExtResource( 21 )]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -234.609
margin_top = -138.5
margin_right = 234.609
margin_bottom = 138.5

[node name="ToolsWindow" type="WindowDialog" parent="Controls/Windows"]
anchor_left = 0.402435
anchor_top = 0.315697
anchor_right = 0.60263
anchor_bottom = 0.684303
window_title = "Tools"
__meta__ = {
"_edit_use_anchors_": true
}

[node name="CenterCtr" type="CenterContainer" parent="Controls/Windows/ToolsWindow"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="VertCtr" type="VBoxContainer" parent="Controls/Windows/ToolsWindow/CenterCtr"]
margin_left = 6.0
margin_top = 17.0
margin_right = 186.0
margin_bottom = 189.0

[node name="LargeCtr" type="HBoxContainer" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr"]
margin_right = 180.0
margin_bottom = 42.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="TextureButton" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr"]
margin_right = 42.0
margin_bottom = 42.0
texture_normal = ExtResource( 28 )

[node name="TextureButton2" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr"]
margin_left = 46.0
margin_right = 88.0
margin_bottom = 42.0
texture_normal = ExtResource( 26 )
texture_pressed = ExtResource( 27 )

[node name="NuclearBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr"]
margin_left = 92.0
margin_right = 134.0
margin_bottom = 42.0
texture_normal = ExtResource( 23 )
texture_pressed = ExtResource( 25 )

[node name="CoalBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr"]
margin_left = 138.0
margin_right = 180.0
margin_bottom = 42.0
texture_normal = ExtResource( 19 )
texture_pressed = ExtResource( 18 )

[node name="SmallCtr" type="HBoxContainer" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr"]
margin_top = 46.0
margin_right = 180.0
margin_bottom = 80.0
__meta__ = {
"_edit_use_anchors_": true
}

[node name="PoliceBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/SmallCtr"]
margin_right = 34.0
margin_bottom = 34.0
texture_normal = ExtResource( 29 )
texture_pressed = ExtResource( 16 )

[node name="FireBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/SmallCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 34.0
texture_normal = ExtResource( 33 )
texture_pressed = ExtResource( 11 )

[node name="ParkBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/SmallCtr"]
margin_left = 76.0
margin_right = 110.0
margin_bottom = 34.0
texture_normal = ExtResource( 24 )
texture_pressed = ExtResource( 22 )

[node name="ToolsCtr" type="HBoxContainer" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr"]
margin_top = 84.0
margin_right = 180.0
margin_bottom = 118.0
__meta__ = {
"_edit_use_anchors_": true
}

[node name="InfoBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/ToolsCtr"]
margin_right = 34.0
margin_bottom = 34.0
texture_normal = ExtResource( 15 )
texture_pressed = ExtResource( 14 )

[node name="BulldozeBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/ToolsCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 34.0
texture_normal = ExtResource( 17 )
texture_pressed = ExtResource( 31 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ZonesCtr" type="HBoxContainer" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr"]
margin_top = 122.0
margin_right = 180.0
margin_bottom = 172.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ResBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/ZonesCtr"]
margin_right = 34.0
margin_bottom = 50.0
texture_normal = ExtResource( 9 )
texture_pressed = ExtResource( 10 )

[node name="ComBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/ZonesCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 50.0
texture_normal = ExtResource( 5 )
texture_pressed = ExtResource( 30 )

[node name="IndBtn" type="TextureButton" parent="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/ZonesCtr"]
margin_left = 76.0
margin_right = 110.0
margin_bottom = 50.0
texture_normal = ExtResource( 13 )
texture_pressed = ExtResource( 12 )

[node name="Credits" parent="Controls/Windows" instance=ExtResource( 34 )]
visible = false

[node name="Menu" type="Panel" parent="Controls"]
anchor_left = 0.919922
anchor_top = -0.02
anchor_right = 1.0
anchor_bottom = 0.963333
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": true
}

[node name="ButtonCtr" type="VBoxContainer" parent="Controls/Menu"]
anchor_top = 0.0305085
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 7.62939e-06
__meta__ = {
"_edit_use_anchors_": true
}

[node name="TaxBtn" type="Button" parent="Controls/Menu/ButtonCtr"]
margin_left = 10.0
margin_right = 72.0
margin_bottom = 56.0
size_flags_horizontal = 4
icon = ExtResource( 7 )

[node name="ToolsBtn" type="Button" parent="Controls/Menu/ButtonCtr"]
margin_left = 13.0
margin_top = 60.0
margin_right = 68.0
margin_bottom = 121.0
size_flags_horizontal = 4
icon = ExtResource( 36 )

[node name="AdvsiorBtn" type="Button" parent="Controls/Menu/ButtonCtr"]
margin_left = 7.0
margin_top = 125.0
margin_right = 74.0
margin_bottom = 145.0
size_flags_horizontal = 4
text = "Advisors"

[node name="Status" type="Panel" parent="Controls"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -55.0
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}

[node name="StatCtr" type="HBoxContainer" parent="Controls/Status"]
anchor_left = 0.00878906
anchor_top = 0.527273
anchor_right = 1.0
anchor_bottom = 0.963636
custom_constants/separation = 100
alignment = 1
script = ExtResource( 3 )
__meta__ = {
"_edit_use_anchors_": true
}

[node name="CityNameLbl" type="Label" parent="Controls/Status/StatCtr"]
margin_left = 123.0
margin_top = 4.0
margin_right = 189.0
margin_bottom = 18.0
text = "City Name"

[node name="CityYearSep" type="VSeparator" parent="Controls/Status/StatCtr"]
margin_left = 289.0
margin_right = 293.0
margin_bottom = 23.0

[node name="YearCtr" type="HBoxContainer" parent="Controls/Status/StatCtr"]
margin_left = 393.0
margin_right = 443.0
margin_bottom = 23.0

[node name="CalIcon" type="TextureRect" parent="Controls/Status/StatCtr/YearCtr"]
margin_right = 14.0
margin_bottom = 23.0
texture = ExtResource( 8 )
stretch_mode = 4

[node name="YearLbl" type="Label" parent="Controls/Status/StatCtr/YearCtr"]
margin_left = 18.0
margin_top = 4.0
margin_right = 50.0
margin_bottom = 18.0
text = "1980"

[node name="YearBudgetSep" type="VSeparator" parent="Controls/Status/StatCtr"]
margin_left = 543.0
margin_right = 547.0
margin_bottom = 23.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="BudgetLbl" type="Label" parent="Controls/Status/StatCtr"]
margin_left = 647.0
margin_top = 4.0
margin_right = 662.0
margin_bottom = 18.0
text = "§0"

[node name="BudgetPopSep" type="VSeparator" parent="Controls/Status/StatCtr"]
margin_left = 762.0
margin_right = 766.0
margin_bottom = 23.0
__meta__ = {
"_edit_use_anchors_": false
}

[node name="PopCtr" type="HBoxContainer" parent="Controls/Status/StatCtr"]
margin_left = 866.0
margin_right = 892.0
margin_bottom = 23.0

[node name="PopIcon" type="TextureRect" parent="Controls/Status/StatCtr/PopCtr"]
margin_right = 14.0
margin_bottom = 23.0
texture = ExtResource( 2 )
stretch_mode = 4

[node name="PopLbl" type="Label" parent="Controls/Status/StatCtr/PopCtr"]
margin_left = 18.0
margin_top = 4.0
margin_right = 26.0
margin_bottom = 18.0
text = "0"

[node name="TickerBg" type="ColorRect" parent="Controls/Status"]
anchor_left = 0.00976562
anchor_top = 0.0909091
anchor_right = 0.987305
anchor_bottom = 0.490909
color = Color( 0, 0, 0, 1 )
script = ExtResource( 35 )
__meta__ = {
"_edit_use_anchors_": true
}

[node name="TickerTxt" type="RichTextLabel" parent="Controls/Status/TickerBg"]
anchor_left = 0.00601721
anchor_top = 0.181818
anchor_right = 0.994298
anchor_bottom = 0.954545
__meta__ = {
"_edit_use_anchors_": true
}

[connection signal="timeout" from="Quarters" to="." method="_on_Quarters_timeout"]
[connection signal="timeout" from="RotateNews" to="Controls/Status/TickerBg" method="_on_RotateNews_timeout"]
[connection signal="pressed" from="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/LargeCtr/CoalBtn" to="Map" method="_on_CoalBtn_pressed"]
[connection signal="pressed" from="Controls/Windows/ToolsWindow/CenterCtr/VertCtr/ZonesCtr/ResBtn" to="Map" method="_on_ResBtn_pressed"]
[connection signal="pressed" from="Controls/Menu/ButtonCtr/TaxBtn" to="Controls/Windows" method="_on_TaxBtn_pressed"]
[connection signal="pressed" from="Controls/Menu/ButtonCtr/ToolsBtn" to="Controls/Windows" method="_on_ToolsBtn_pressed"]
[connection signal="pressed" from="Controls/Menu/ButtonCtr/AdvsiorBtn" to="Controls/Windows" method="_on_AdvsiorBtn_pressed"]
