-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.E8D0.tmp
111 lines (94 loc) · 3.14 KB
/
ui.E8D0.tmp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[gd_scene load_steps=9 format=3 uid="uid://co1tpwdpfc23o"]
[ext_resource type="Script" path="res://UI_init.gd" id="1_j44u1"]
[ext_resource type="Script" path="res://Storyteller.gd" id="2_qy66y"]
[ext_resource type="Script" path="res://PlayerDataObject.gd" id="3_v1l3t"]
[ext_resource type="Script" path="res://WorldMechanics.gd" id="4_bosov"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3c2i6"]
bg_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ttloa"]
bg_color = Color(0.870588, 0, 0.0627451, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wdmpq"]
bg_color = Color(0.337255, 0.701961, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_exy8d"]
bg_color = Color(0, 0, 0, 1)
[node name="UI" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_j44u1")
[node name="explore_wasteland_button" type="Button" parent="."]
layout_mode = 0
offset_left = 67.0
offset_top = 209.0
offset_right = 247.0
offset_bottom = 240.0
text = "Explore the wasteland"
[node name="return_from_wasteland" type="Button" parent="."]
visible = false
layout_mode = 0
offset_left = 66.0
offset_top = 265.0
offset_right = 283.0
offset_bottom = 296.0
text = "Return from the wasteland
"
[node name="Storyteller" type="RichTextLabel" parent="."]
layout_mode = 0
offset_left = 638.0
offset_top = 136.0
offset_right = 932.0
offset_bottom = 373.0
theme_override_styles/normal = SubResource("StyleBoxFlat_3c2i6")
bbcode_enabled = true
text = "Storyteller
"
scroll_following = true
script = ExtResource("2_qy66y")
[node name="ExplorationTickTimer" type="Timer" parent="."]
wait_time = 2.0
[node name="HealthBar" type="ProgressBar" parent="."]
layout_mode = 0
offset_left = 78.0
offset_top = 58.0
offset_right = 215.0
offset_bottom = 104.0
theme_override_styles/background = SubResource("StyleBoxFlat_ttloa")
theme_override_styles/fill = SubResource("StyleBoxFlat_wdmpq")
max_value = 10.0
step = 1.0
value = 5.0
show_percentage = false
metadata/_edit_group_ = true
[node name="Label" type="Label" parent="HealthBar"]
layout_mode = 0
offset_right = 136.0
offset_bottom = 42.0
text = "Health
5/10
"
horizontal_alignment = 1
[node name="DistanceLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 62.0
offset_top = 123.0
offset_right = 259.0
offset_bottom = 172.0
theme_override_styles/normal = SubResource("StyleBoxFlat_exy8d")
text = "Distance from safehouse:
"
[node name="RestButton" type="Button" parent="."]
layout_mode = 0
offset_left = 76.0
offset_top = 311.0
offset_right = 118.0
offset_bottom = 342.0
text = "Rest"
[node name="PlayerDataObject" type="Node" parent="."]
script = ExtResource("3_v1l3t")
[node name="WorldMechanics" type="Node" parent="."]
script = ExtResource("4_bosov")
[connection signal="pressed" from="explore_wasteland_button" to="." method="_on_explore_wasteland_button_pressed"]
[connection signal="pressed" from="return_from_wasteland" to="." method="_on_return_from_wasteland_pressed"]
[connection signal="timeout" from="ExplorationTickTimer" to="." method="_on_exploration_tick_timer_timeout"]
[connection signal="pressed" from="RestButton" to="." method="_on_rest_button_pressed"]