Streamlined advisor window

- Streamlined advisor window messages through signals.
- Added TODO file
- Ignore /except directory
- News ticker based on the advisor code with text from SC3k with news from the game, with some exceptions.
- New SC3k-like interface.
- Added icons from Font Awesome.
This commit is contained in:
Tony Bark 2021-05-26 03:35:52 -04:00
parent e5505a3244
commit d1da70a099
38 changed files with 1738 additions and 413 deletions

View file

@ -1,9 +1,8 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=2 format=2]
[ext_resource path="res://scripts/city_planner.gd" type="Script" id=1]
[ext_resource path="res://sprites/avatars/zc.png" type="Texture" id=2]
[ext_resource path="res://scripts/advisor_window.gd" type="Script" id=1]
[node name="CityPlanner" type="AcceptDialog"]
[node name="Advisor" type="AcceptDialog"]
anchor_left = 0.293945
anchor_top = 0.303333
anchor_right = 0.706055
@ -12,10 +11,6 @@ script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": true
}
dialogue_file = "res://dialog/cityplanner.json"
character = "Zack Casey"
rank = "City Planner"
avatar = ExtResource( 2 )
[node name="Container" type="HSplitContainer" parent="."]
anchor_right = 1.0

View file

@ -1,6 +1,7 @@
[gd_scene format=2]
[node name="Credits" type="WindowDialog"]
visible = true
anchor_left = 0.394043
anchor_top = 0.293333
anchor_right = 0.605957
@ -21,6 +22,9 @@ Tony Bark
Assets by
Maxis
Interface Icons by
Font Awesome
Powered by
Godot Engine
@ -34,6 +38,9 @@ Tony Bark
Assets by
Maxis
Interface Icons by
Font Awesome
Powered by
Godot Engine

View file

@ -1,46 +0,0 @@
[gd_scene load_steps=2 format=2]
[sub_resource type="GDScript" id=1]
script/source = "extends WindowDialog
onready var avatar_texture = $Avatar
onready var desc_text = $Description
func hint_message(description: String, avatar: Texture, hint_title: String):
avatar_texture.texture = avatar
desc_text.text = description
"
[node name="HintDialog" type="WindowDialog"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -196.5
margin_top = -75.0
margin_right = 196.5
margin_bottom = 75.0
script = SubResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Avatar" type="TextureRect" parent="."]
anchor_left = 0.0305344
anchor_top = 0.0866667
anchor_right = 0.284987
anchor_bottom = 0.793333
rect_min_size = Vector2( 100, 106 )
stretch_mode = 5
__meta__ = {
"_edit_use_anchors_": true
}
[node name="Description" type="RichTextLabel" parent="."]
anchor_left = 0.310433
anchor_top = 0.126667
anchor_right = 0.964377
anchor_bottom = 0.753333
__meta__ = {
"_edit_use_anchors_": true
}

76
scenes/Menu.tscn Normal file
View file

@ -0,0 +1,76 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://scripts/city_status.gd" type="Script" id=1]
[node name="Menu" type="Panel"]
anchor_right = 1.0
margin_bottom = 32.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="StatCtr" type="HBoxContainer" parent="."]
anchor_left = 0.0136054
anchor_top = 0.257143
anchor_right = 0.312925
anchor_bottom = 0.817143
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": true
}
[node name="CityNameLbl" type="Label" parent="StatCtr"]
margin_top = 1.0
margin_right = 66.0
margin_bottom = 15.0
text = "City Name"
align = 1
[node name="YearLbl" type="Label" parent="StatCtr"]
margin_left = 70.0
margin_top = 1.0
margin_right = 109.0
margin_bottom = 15.0
text = "Y1980"
align = 1
[node name="BudgetLbl" type="Label" parent="StatCtr"]
margin_left = 113.0
margin_top = 1.0
margin_right = 128.0
margin_bottom = 15.0
text = "§0"
align = 1
[node name="ButtonCtr" type="HBoxContainer" parent="."]
anchor_left = 0.733722
anchor_top = 0.212291
anchor_right = 0.987366
anchor_bottom = 0.818005
margin_top = -0.906677
margin_bottom = 3.95047
alignment = 2
__meta__ = {
"_edit_use_anchors_": true
}
[node name="TaxBtn" type="Button" parent="ButtonCtr"]
margin_left = 105.0
margin_right = 138.0
margin_bottom = 24.0
text = "RCI"
flat = true
[node name="AdvsiorBtn" type="Button" parent="ButtonCtr"]
margin_left = 142.0
margin_right = 209.0
margin_bottom = 24.0
text = "Advisors"
flat = true
[node name="ToolsBtn" type="Button" parent="ButtonCtr"]
margin_left = 213.0
margin_right = 259.0
margin_bottom = 24.0
text = "Tools"
flat = true

View file

@ -10,17 +10,13 @@
[node name="Controls" type="CanvasLayer" parent="."]
[node name="Start" type="Panel" parent="Controls"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -142.0
margin_top = -76.0
margin_right = 130.0
margin_bottom = 70.0
anchor_left = 0.367188
anchor_top = 0.378333
anchor_right = 0.632812
anchor_bottom = 0.646667
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
"_edit_use_anchors_": true
}
[node name="Container" type="VBoxContainer" parent="Controls/Start"]
@ -44,7 +40,17 @@ align = 1
margin_top = 18.0
margin_right = 219.0
margin_bottom = 42.0
text = "Furtropolis"
align = 1
caret_blink = true
caret_blink_speed = 0.5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="MayorNameEdit" type="LineEdit" parent="Controls/Start/Container"]
margin_top = 46.0
margin_right = 219.0
margin_bottom = 70.0
align = 1
caret_blink = true
caret_blink_speed = 0.5
@ -53,9 +59,9 @@ __meta__ = {
}
[node name="BudgetMenu" type="MenuButton" parent="Controls/Start/Container"]
margin_top = 46.0
margin_top = 74.0
margin_right = 219.0
margin_bottom = 66.0
margin_bottom = 94.0
text = "Starting Budget"
items = [ "20000", null, 0, false, false, 0, 0, null, "", false, "10000", null, 0, false, false, 1, 0, null, "", false, "500", null, 0, false, false, 2, 0, null, "", false ]
__meta__ = {
@ -63,9 +69,9 @@ __meta__ = {
}
[node name="CreateBtn" type="Button" parent="Controls/Start/Container"]
margin_top = 70.0
margin_top = 98.0
margin_right = 219.0
margin_bottom = 90.0
margin_bottom = 118.0
text = "Create"
[connection signal="pressed" from="Controls/Start/Container/CreateBtn" to="Controls/Start" method="_on_CreateBtn_pressed"]

163
scenes/ToolsWindow.tscn Normal file
View file

@ -0,0 +1,163 @@
[gd_scene load_steps=24 format=2]
[ext_resource path="res://sprites/ui/iccom.png" type="Texture" id=1]
[ext_resource path="res://sprites/ui/icpolhi.png" type="Texture" id=2]
[ext_resource path="res://sprites/ui/iccomhi.png" type="Texture" id=3]
[ext_resource path="res://sprites/ui/icres.png" type="Texture" id=4]
[ext_resource path="res://sprites/ui/icreshi.png" type="Texture" id=5]
[ext_resource path="res://sprites/ui/icfire.png" type="Texture" id=6]
[ext_resource path="res://sprites/ui/icindhi.png" type="Texture" id=7]
[ext_resource path="res://sprites/ui/icind.png" type="Texture" id=8]
[ext_resource path="res://sprites/ui/icqry.png" type="Texture" id=9]
[ext_resource path="res://sprites/ui/icpol.png" type="Texture" id=10]
[ext_resource path="res://sprites/ui/icnuc.png" type="Texture" id=11]
[ext_resource path="res://sprites/ui/icpark.png" type="Texture" id=12]
[ext_resource path="res://sprites/ui/icseap.png" type="Texture" id=13]
[ext_resource path="res://sprites/ui/icseaphi.png" type="Texture" id=14]
[ext_resource path="res://sprites/ui/icstad.png" type="Texture" id=15]
[ext_resource path="res://sprites/ui/icdozrhi.png" type="Texture" id=16]
[ext_resource path="res://sprites/ui/icfirehi.png" type="Texture" id=17]
[ext_resource path="res://sprites/ui/iccoal.png" type="Texture" id=18]
[ext_resource path="res://sprites/ui/icqryhi.png" type="Texture" id=19]
[ext_resource path="res://sprites/ui/icparkhi.png" type="Texture" id=20]
[ext_resource path="res://sprites/ui/icdozr.png" type="Texture" id=21]
[ext_resource path="res://sprites/ui/iccoalhi.png" type="Texture" id=22]
[ext_resource path="res://sprites/ui/icnuchi.png" type="Texture" id=23]
[node name="ToolsWindow" type="WindowDialog"]
anchor_left = 0.40332
anchor_top = 0.315
anchor_right = 0.544922
anchor_bottom = 0.683333
window_title = "Tools"
__meta__ = {
"_edit_use_anchors_": true
}
[node name="CenterCtr" type="CenterContainer" parent="."]
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -90.0
margin_right = 90.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VertCtr" type="VBoxContainer" parent="CenterCtr"]
margin_top = 24.0
margin_right = 180.0
margin_bottom = 196.0
[node name="LargeCtr" type="HBoxContainer" parent="CenterCtr/VertCtr"]
margin_right = 180.0
margin_bottom = 42.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton" type="TextureButton" parent="CenterCtr/VertCtr/LargeCtr"]
margin_right = 42.0
margin_bottom = 42.0
texture_normal = ExtResource( 15 )
[node name="TextureButton2" type="TextureButton" parent="CenterCtr/VertCtr/LargeCtr"]
margin_left = 46.0
margin_right = 88.0
margin_bottom = 42.0
texture_normal = ExtResource( 13 )
texture_pressed = ExtResource( 14 )
[node name="NuclearBtn" type="TextureButton" parent="CenterCtr/VertCtr/LargeCtr"]
margin_left = 92.0
margin_right = 134.0
margin_bottom = 42.0
texture_normal = ExtResource( 11 )
texture_pressed = ExtResource( 23 )
[node name="CoalBtn" type="TextureButton" parent="CenterCtr/VertCtr/LargeCtr"]
margin_left = 138.0
margin_right = 180.0
margin_bottom = 42.0
texture_normal = ExtResource( 18 )
texture_pressed = ExtResource( 22 )
[node name="SmallCtr" type="HBoxContainer" parent="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="CenterCtr/VertCtr/SmallCtr"]
margin_right = 34.0
margin_bottom = 34.0
texture_normal = ExtResource( 2 )
texture_pressed = ExtResource( 10 )
[node name="FireBtn" type="TextureButton" parent="CenterCtr/VertCtr/SmallCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 34.0
texture_normal = ExtResource( 17 )
texture_pressed = ExtResource( 6 )
[node name="ParkBtn" type="TextureButton" parent="CenterCtr/VertCtr/SmallCtr"]
margin_left = 76.0
margin_right = 110.0
margin_bottom = 34.0
texture_normal = ExtResource( 12 )
texture_pressed = ExtResource( 20 )
[node name="ToolsCtr" type="HBoxContainer" parent="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="CenterCtr/VertCtr/ToolsCtr"]
margin_right = 34.0
margin_bottom = 34.0
texture_normal = ExtResource( 9 )
texture_pressed = ExtResource( 19 )
[node name="BulldozeBtn" type="TextureButton" parent="CenterCtr/VertCtr/ToolsCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 34.0
texture_normal = ExtResource( 21 )
texture_pressed = ExtResource( 16 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ZonesCtr" type="HBoxContainer" parent="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="CenterCtr/VertCtr/ZonesCtr"]
margin_right = 34.0
margin_bottom = 50.0
texture_normal = ExtResource( 4 )
texture_pressed = ExtResource( 5 )
[node name="ComBtn" type="TextureButton" parent="CenterCtr/VertCtr/ZonesCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 50.0
texture_normal = ExtResource( 1 )
texture_pressed = ExtResource( 3 )
[node name="IndBtn" type="TextureButton" parent="CenterCtr/VertCtr/ZonesCtr"]
margin_left = 76.0
margin_right = 110.0
margin_bottom = 50.0
texture_normal = ExtResource( 8 )
texture_pressed = ExtResource( 7 )

View file

@ -1,49 +0,0 @@
[gd_scene load_steps=7 format=2]
[ext_resource path="res://scenes/advisors/CityPlanner.tscn" type="PackedScene" id=5]
[ext_resource path="res://scenes/DebugConsole.tscn" type="PackedScene" id=7]
[ext_resource path="res://scenes/AdvisorMeet.tscn" type="PackedScene" id=8]
[ext_resource path="res://scenes/advisors/FinanceAdvisor.tscn" type="PackedScene" id=9]
[ext_resource path="res://scripts/windows.gd" type="Script" id=10]
[ext_resource path="res://scenes/TaxWindow.tscn" type="PackedScene" id=11]
[node name="Windows" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 10 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Console" parent="." instance=ExtResource( 7 )]
anchor_left = 0.594727
anchor_top = 0.05
anchor_right = 0.985352
anchor_bottom = 0.3
margin_right = 0.0
margin_bottom = 0.0
rect_min_size = Vector2( 400, 150 )
resizable = true
[node name="TaxWindow" parent="." instance=ExtResource( 11 )]
anchor_left = 0.297863
anchor_top = 0.409167
anchor_right = 0.702137
anchor_bottom = 0.590833
margin_left = 0.0
margin_right = 0.0
margin_bottom = 3.05176e-05
[node name="AdvisorMeet" parent="." instance=ExtResource( 8 )]
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="CityPlanner" parent="." instance=ExtResource( 5 )]
[node name="FinancialAdvisor" parent="." instance=ExtResource( 9 )]

View file

@ -1,54 +0,0 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://sprites/avatars/kit.png" type="Texture" id=1]
[ext_resource path="res://scripts/finance_advisor.gd" type="Script" id=2]
[node name="FinancialAdvisor" type="AcceptDialog"]
anchor_left = 0.293945
anchor_top = 0.303333
anchor_right = 0.706055
anchor_bottom = 0.696667
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": true
}
dialogue_file = "res://dialog/finacial.json"
character = "Kit Welsh"
rank = "Financial"
avatar = ExtResource( 1 )
[node name="Container" type="HSplitContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 8.0
margin_top = 8.0
margin_right = -8.0
margin_bottom = -36.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Advisor" type="VBoxContainer" parent="Container"]
margin_right = 100.0
margin_bottom = 192.0
[node name="Avatar" type="TextureRect" parent="Container/Advisor"]
margin_right = 100.0
rect_min_size = Vector2( 100, 0 )
[node name="RankLbl" type="Label" parent="Container/Advisor"]
margin_top = 4.0
margin_right = 100.0
margin_bottom = 18.0
align = 1
[node name="NameLbl" type="Label" parent="Container/Advisor"]
margin_top = 22.0
margin_right = 100.0
margin_bottom = 36.0
align = 1
[node name="DescriptionLbl" type="RichTextLabel" parent="Container"]
margin_left = 112.0
margin_right = 406.001
margin_bottom = 192.0

View file

@ -1,13 +1,13 @@
[gd_scene load_steps=28 format=2]
[gd_scene load_steps=38 format=2]
[ext_resource path="res://scenes/Map.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/Windows.tscn" type="PackedScene" id=2]
[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://sprites/ui/icpolhi.png" type="Texture" id=4]
[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://sprites/ui/icfirehi.png" type="Texture" id=6]
[ext_resource path="res://sprites/ui/icdozrhi.png" type="Texture" id=7]
[ext_resource path="res://sprites/ui/iccomhi.png" type="Texture" id=8]
[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]
@ -20,6 +20,7 @@
[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]
@ -27,291 +28,365 @@
[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 = 15.0
wait_time = 150.0
autostart = true
[node name="RotateNews" type="Timer" parent="."]
wait_time = 5.0
autostart = true
[node name="Map" parent="." instance=ExtResource( 1 )]
[node name="Controls" type="CanvasLayer" parent="."]
[node name="Core" type="Control" parent="Controls"]
anchor_left = -0.00268195
anchor_top = -0.000954026
anchor_right = 0.997318
anchor_bottom = 0.999044
margin_left = -0.172424
margin_top = 2.77234
margin_right = -0.172424
margin_bottom = 2.77234
[node name="Windows" type="Control" parent="Controls"]
anchor_right = 0.938477
anchor_bottom = 0.935
script = ExtResource( 37 )
__meta__ = {
"_edit_use_anchors_": false
"_edit_lock_": true,
"_edit_use_anchors_": true
}
[node name="Windows" parent="Controls/Core" instance=ExtResource( 2 )]
anchor_bottom = 0.835002
margin_bottom = -3.05176e-05
[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="ControlPanel" type="Panel" parent="Controls/Core"]
anchor_left = 0.00195312
anchor_top = 0.828335
anchor_right = 1.00684
anchor_bottom = 1.00834
margin_bottom = -2.0
[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="Tabs" type="TabContainer" parent="Controls/Core/ControlPanel"]
anchor_left = 0.00485909
anchor_top = 0.0471698
anchor_right = 0.995141
anchor_bottom = 0.971698
__meta__ = {
"_edit_use_anchors_": true
}
[node name="Zones" type="Tabs" parent="Controls/Core/ControlPanel/Tabs"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="CenterZones" type="CenterContainer" parent="Controls/Core/ControlPanel/Tabs/Zones"]
[node name="CenterCtr" type="CenterContainer" parent="Controls/Windows/ToolsWindow"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ZonesCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel/Tabs/Zones/CenterZones"]
margin_left = 450.0
margin_top = 5.0
margin_right = 560.0
margin_bottom = 55.0
[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="ResBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Zones/CenterZones/ZonesCtr"]
margin_right = 34.0
margin_bottom = 50.0
texture_normal = ExtResource( 9 )
texture_pressed = ExtResource( 10 )
[node name="ComBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Zones/CenterZones/ZonesCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 50.0
texture_normal = ExtResource( 5 )
texture_pressed = ExtResource( 8 )
[node name="IndBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Zones/CenterZones/ZonesCtr"]
margin_left = 76.0
margin_right = 110.0
margin_bottom = 50.0
texture_normal = ExtResource( 13 )
texture_pressed = ExtResource( 12 )
[node name="Small" type="Tabs" parent="Controls/Core/ControlPanel/Tabs"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="CenterSmall" type="CenterContainer" parent="Controls/Core/ControlPanel/Tabs/Small"]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="SmallCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel/Tabs/Small/CenterSmall"]
margin_left = 450.0
margin_top = 13.0
margin_right = 560.0
margin_bottom = 47.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="PoliceBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Small/CenterSmall/SmallCtr"]
margin_right = 34.0
margin_bottom = 34.0
texture_normal = ExtResource( 4 )
texture_pressed = ExtResource( 16 )
[node name="FireBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Small/CenterSmall/SmallCtr"]
margin_left = 38.0
margin_right = 72.0
margin_bottom = 34.0
texture_normal = ExtResource( 6 )
texture_pressed = ExtResource( 11 )
[node name="ParkBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Small/CenterSmall/SmallCtr"]
margin_left = 76.0
margin_right = 110.0
margin_bottom = 34.0
texture_normal = ExtResource( 24 )
texture_pressed = ExtResource( 22 )
[node name="Large" type="Tabs" parent="Controls/Core/ControlPanel/Tabs"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="CenterLarge" type="CenterContainer" parent="Controls/Core/ControlPanel/Tabs/Large"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LargeCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel/Tabs/Large/CenterLarge"]
margin_left = 415.0
margin_top = 9.0
margin_right = 595.0
margin_bottom = 51.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr"]
[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/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr"]
[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/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr"]
[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/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr"]
[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="Tools" type="Tabs" parent="Controls/Core/ControlPanel/Tabs"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 32.0
margin_right = -4.0
margin_bottom = -4.0
[node name="CenterTools" type="CenterContainer" parent="Controls/Core/ControlPanel/Tabs/Tools"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ToolsCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel/Tabs/Tools/CenterTools"]
margin_left = 469.0
margin_top = 13.0
margin_right = 541.0
margin_bottom = 47.0
[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="InfoBtn" type="TextureButton" parent="Controls/Core/ControlPanel/Tabs/Tools/CenterTools/ToolsCtr"]
[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/Core/ControlPanel/Tabs/Tools/CenterTools/ToolsCtr"]
[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( 7 )
texture_pressed = ExtResource( 31 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="StatCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel"]
anchor_left = 0.0136054
anchor_top = 0.0571429
anchor_right = 0.312925
anchor_bottom = 0.214286
[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/Core/ControlPanel/StatCtr"]
margin_top = 1.0
margin_right = 66.0
margin_bottom = 15.0
[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"
align = 1
[node name="YearLbl" type="Label" parent="Controls/Core/ControlPanel/StatCtr"]
margin_left = 70.0
margin_top = 1.0
margin_right = 109.0
margin_bottom = 15.0
text = "Y1980"
align = 1
[node name="CityYearSep" type="VSeparator" parent="Controls/Status/StatCtr"]
margin_left = 289.0
margin_right = 293.0
margin_bottom = 23.0
[node name="BudgetLbl" type="Label" parent="Controls/Core/ControlPanel/StatCtr"]
margin_left = 113.0
margin_top = 1.0
margin_right = 128.0
margin_bottom = 15.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"
align = 1
[node name="ButtonCtr" type="HBoxContainer" parent="Controls/Core/ControlPanel"]
anchor_left = 0.733722
anchor_top = 0.0522911
anchor_right = 0.987366
anchor_bottom = 0.195148
margin_top = -0.906677
margin_bottom = 3.95047
alignment = 2
[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="TaxBtn" type="Button" parent="Controls/Core/ControlPanel/ButtonCtr"]
margin_left = 157.0
margin_right = 190.0
margin_bottom = 20.0
text = "RCI"
[node name="AdvsiorBtn" type="Button" parent="Controls/Core/ControlPanel/ButtonCtr"]
margin_left = 194.0
margin_right = 261.0
margin_bottom = 20.0
text = "Advisors"
[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="pressed" from="Controls/Core/ControlPanel/Tabs/Zones/CenterZones/ZonesCtr/ResBtn" to="Map" method="_on_ResBtn_pressed"]
[connection signal="pressed" from="Controls/Core/ControlPanel/Tabs/Large/CenterLarge/LargeCtr/CoalBtn" to="Map" method="_on_CoalBtn_pressed"]
[connection signal="pressed" from="Controls/Core/ControlPanel/ButtonCtr/TaxBtn" to="Controls/Core/Windows" method="_on_TaxBtn_pressed"]
[connection signal="pressed" from="Controls/Core/ControlPanel/ButtonCtr/AdvsiorBtn" to="Controls/Core/Windows" method="_on_AdvsiorBtn_pressed"]
[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"]