everything_has_a_price_jam/test/test_economy.tscn
2026-09-26 17:07:56 -06:00

90 lines
3.3 KiB
Text

[gd_scene format=3 uid="uid://d06w1wtct0mfs"]
[ext_resource type="Script" uid="uid://6438cbkn3fhm" path="res://test/test_economy.gd" id="1_s48qe"]
[ext_resource type="PackedScene" uid="uid://desvyn6e28oar" path="res://gui/production_chart.tscn" id="2_jd86c"]
[ext_resource type="PackedScene" uid="uid://dx3y20p75chkj" path="res://gui/production_ledger_scroll.tscn" id="3_n4oyp"]
[ext_resource type="PackedScene" uid="uid://75htlmk51oo" path="res://gui/currency_inspector_panel.tscn" id="4_7ya5o"]
[ext_resource type="PackedScene" uid="uid://vanflt5jr7tx" path="res://gui/inbox_panel.tscn" id="5_n4oyp"]
[ext_resource type="PackedScene" uid="uid://coebykrbnhlif" path="res://currency/members/MemberSprite.tscn" id="6_vua3v"]
[ext_resource type="Resource" uid="uid://ihsvxienxbeu" path="res://currency/sentient/knight.tres" id="7_s0mui"]
[ext_resource type="Resource" uid="uid://dfbgxc6nlcjct" path="res://allegiance/bad.tres" id="8_i7808"]
[node name="TestEconomy" type="Control" unique_id=629898212]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_s48qe")
[node name="ProductionChart" parent="." unique_id=1301678172 instance=ExtResource("2_jd86c")]
layout_mode = 0
[node name="ScrollContainer" parent="." unique_id=587807919 instance=ExtResource("3_n4oyp")]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -300.0
offset_top = -100.0
offset_right = 300.0
offset_bottom = 0.0
grow_horizontal = 2
grow_vertical = 0
[node name="Control" type="Control" parent="." unique_id=641955392]
layout_mode = 1
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -145.0
offset_top = -17.0
offset_right = -105.0
offset_bottom = 23.0
grow_horizontal = 0
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Control" unique_id=74649172]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="GetCow" type="Button" parent="Control/VBoxContainer" unique_id=1886603156]
layout_mode = 2
text = "Get cow"
[node name="RunSimulate" type="Button" parent="Control/VBoxContainer" unique_id=158790493]
layout_mode = 2
text = "Run simulate"
[node name="OpenInbox" type="Button" parent="Control/VBoxContainer" unique_id=1148713984]
layout_mode = 2
text = "OpenInbox"
[node name="CurrencyInspectorPanel" parent="." unique_id=169191981 instance=ExtResource("4_7ya5o")]
layout_mode = 1
[node name="InboxPanel" parent="." unique_id=534578339 instance=ExtResource("5_n4oyp")]
layout_mode = 1
[node name="MemberSprite" parent="." unique_id=283117283 instance=ExtResource("6_vua3v")]
instance_shader_parameters/border_color = Color(1, 0, 0, 1)
instance_shader_parameters/border_width = 0.16
instance_shader_parameters/fill_color = Color(0, 1, 0, 1)
custom_minimum_size = Vector2(100, 100)
layout_mode = 0
offset_left = 426.0
offset_top = 306.0
offset_right = 426.0
offset_bottom = 406.0
currency = ExtResource("7_s0mui")
allegiance = ExtResource("8_i7808")
[connection signal="pressed" from="Control/VBoxContainer/GetCow" to="." method="_on_get_cow_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/RunSimulate" to="." method="_on_run_simulate_pressed"]
[connection signal="pressed" from="Control/VBoxContainer/OpenInbox" to="." method="_on_open_inbox_pressed"]