-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tscn
233 lines (208 loc) · 5.15 KB
/
main.tscn
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
[gd_scene load_steps=8 format=2]
[ext_resource path="res://main.gd" type="Script" id=1]
[sub_resource type="DynamicFontData" id=1]
font_path = "res://UbuntuMono-Regular.ttf"
[sub_resource type="DynamicFont" id=2]
size = 48
font_data = SubResource( 1 )
[sub_resource type="Theme" id=3]
default_font = SubResource( 2 )
[sub_resource type="DynamicFontData" id=4]
font_path = "res://UbuntuMono-Regular.ttf"
[sub_resource type="DynamicFont" id=5]
size = 20
font_data = SubResource( 4 )
[sub_resource type="Theme" id=6]
default_font = SubResource( 5 )
[node name="Back" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = SubResource( 3 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="base" type="SpinBox" parent="."]
pause_mode = 2
anchor_left = 0.447
anchor_top = 0.09
anchor_right = 0.754
anchor_bottom = 0.189
margin_left = 0.272003
margin_top = -3.8147e-06
margin_right = -0.0960083
margin_bottom = -0.399994
max_value = 1e+06
value = 990.0
allow_greater = true
[node name="label" type="Label" parent="."]
anchor_left = 0.083
anchor_top = 0.101
anchor_right = 0.434
anchor_bottom = 0.183
margin_left = -0.209381
margin_top = -0.0409813
margin_right = 0.366608
margin_bottom = -0.24099
text = "Starting lumps:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Calc" type="Button" parent="."]
pause_mode = 2
anchor_left = 0.441
anchor_top = 0.314
anchor_right = 0.687
anchor_bottom = 0.405
margin_left = -2.74112
margin_top = -0.154282
margin_right = -2.64514
margin_bottom = 0.245712
text = "Start"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="counter" type="Label" parent="."]
anchor_left = 0.019
anchor_top = 0.413
anchor_right = 0.975
anchor_bottom = 0.778
margin_left = -0.456001
margin_top = 0.199997
margin_right = -0.400024
margin_bottom = 0.199951
autowrap = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="stop" type="Button" parent="."]
pause_mode = 2
visible = false
anchor_top = 1.0
anchor_bottom = 1.0
margin_top = -86.0
margin_right = 305.0
text = "Pause"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="exti" type="Button" parent="."]
pause_mode = 2
anchor_left = 0.993
anchor_top = 1.0
anchor_right = 0.993
anchor_bottom = 1.0
margin_left = -270.132
margin_top = -87.7401
margin_right = -0.131714
margin_bottom = 2.25989
text = "EXIT"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="dust" type="Label" parent="."]
anchor_left = 0.634
anchor_top = 0.205
anchor_right = 0.892
anchor_bottom = 0.287
margin_left = 0.402527
margin_top = 0.174461
margin_right = 0.21051
margin_bottom = -0.025528
text = "(1980 dust)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="stacks" type="Label" parent="."]
anchor_left = 0.252
anchor_top = 0.205
anchor_right = 0.51
anchor_bottom = 0.286
margin_left = -1.54407
margin_top = 2.40466
margin_right = -1.73608
margin_bottom = 2.80466
text = "(10 stacks)"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="centrifuges" type="Label" parent="."]
anchor_top = 0.778
anchor_right = 1.0
anchor_bottom = 0.83
margin_top = 0.199951
margin_bottom = -3.05176e-05
theme = SubResource( 6 )
clip_text = true
[node name="onestep" type="Button" parent="."]
pause_mode = 2
visible = false
anchor_left = 0.435
anchor_top = 1.0
anchor_right = 0.435
anchor_bottom = 1.0
margin_left = -140.44
margin_top = -86.0
margin_right = 139.56
text = "One step"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="help" type="Button" parent="."]
margin_right = 56.0
margin_bottom = 55.0
text = "?"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="pop" type="Popup" parent="."]
pause_mode = 2
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="pop"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = 2.37842
margin_bottom = 2.37842
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ok" type="Button" parent="pop"]
anchor_left = 0.482
anchor_top = 0.882
anchor_right = 0.541
anchor_bottom = 0.974
margin_left = -0.0470276
margin_top = -0.00299072
margin_right = -0.463013
margin_bottom = -0.203003
text = "ок"
[node name="Label" type="Label" parent="pop"]
anchor_left = 0.068
anchor_top = 0.097
anchor_right = 0.951
anchor_bottom = 0.82
margin_left = 0.367996
margin_top = -0.200001
margin_right = 0.175964
margin_bottom = -3.05176e-05
text = "Minetest Technic uranium calculator.
Copyright ghaydn 2021, GPLv3,
Icon: LGPLv2,
Font: Ubuntu Font License,
Godot Engine: godotengine.org
https://github.com/
Ghaydn/minetest-uranium-calc"
autowrap = true
[connection signal="value_changed" from="base" to="." method="_on_base_value_changed"]
[connection signal="pressed" from="Calc" to="." method="_on_Calc_pressed"]
[connection signal="pressed" from="stop" to="." method="_on_stop_pressed"]
[connection signal="pressed" from="exti" to="." method="_on_exti_pressed"]
[connection signal="pressed" from="onestep" to="." method="_on_onestep_pressed"]
[connection signal="pressed" from="help" to="." method="_on_help_pressed"]
[connection signal="gui_input" from="pop" to="." method="_on_pop_gui_input"]
[connection signal="gui_input" from="pop/Panel" to="." method="_on_pop_gui_input"]
[connection signal="pressed" from="pop/ok" to="." method="_on_ok_pressed"]