-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tscn
95 lines (76 loc) · 4.05 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
[gd_scene load_steps=8 format=3 uid="uid://fn3b4mru6iln"]
[ext_resource type="Script" path="res://main.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://txypwn4chdvx" path="res://equipment_list.tscn" id="2"]
[ext_resource type="Script" path="res://setups.gd" id="3"]
[ext_resource type="PackedScene" uid="uid://cin3g25bo6qb6" path="res://interface/set.tscn" id="4"]
[ext_resource type="PackedScene" uid="uid://dxq3v6k8u7fws" path="res://interface/monster_list.tscn" id="5"]
[ext_resource type="PackedScene" uid="uid://c8flbqwkgapqu" path="res://interface/prayer_list.tscn" id="6"]
[ext_resource type="PackedScene" uid="uid://bent1173pphl7" path="res://interface/info_overlay.tscn" id="7"]
[node name="interface" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TabContainer" type="TabContainer" parent="HBoxContainer"]
custom_minimum_size = Vector2(350, 0)
layout_mode = 2
[node name="equipment" parent="HBoxContainer/TabContainer" instance=ExtResource("2")]
layout_mode = 2
[node name="monster" parent="HBoxContainer/TabContainer" instance=ExtResource("5")]
visible = false
layout_mode = 2
[node name="prayers" parent="HBoxContainer/TabContainer" instance=ExtResource("6")]
visible = false
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer"]
layout_mode = 2
[node name="new_setup" type="Button" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "New set"
[node name="close_setup" type="Button" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Close setup"
[node name="save_set" type="Button" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Save set to clipboard"
[node name="load_set" type="Button" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Load set from clipboard"
[node name="padding" type="Control" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="info" type="Button" parent="HBoxContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
text = "Info"
[node name="setups" type="TabContainer" parent="HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
drag_to_rearrange_enabled = true
script = ExtResource("3")
[node name="0" parent="HBoxContainer/VBoxContainer/setups" instance=ExtResource("4")]
layout_mode = 2
[node name="info_overlay" parent="." instance=ExtResource("7")]
visible = false
layout_mode = 1
[connection signal="item_selected" from="HBoxContainer/TabContainer/equipment" to="HBoxContainer/VBoxContainer/setups" method="_on_equipment_list_item_selected"]
[connection signal="item_selected" from="HBoxContainer/TabContainer/monster" to="HBoxContainer/VBoxContainer/setups" method="_on_monster_item_selected"]
[connection signal="prayer_selected" from="HBoxContainer/TabContainer/prayers" to="HBoxContainer/VBoxContainer/setups" method="_on_prayer_list_prayer_selected"]
[connection signal="pressed" from="HBoxContainer/VBoxContainer/HBoxContainer/new_setup" to="HBoxContainer/VBoxContainer/setups" method="_on_new_setup_pressed"]
[connection signal="pressed" from="HBoxContainer/VBoxContainer/HBoxContainer/close_setup" to="HBoxContainer/VBoxContainer/setups" method="_on_Button_pressed"]
[connection signal="pressed" from="HBoxContainer/VBoxContainer/HBoxContainer/save_set" to="HBoxContainer/VBoxContainer/setups" method="_on_save_set_pressed"]
[connection signal="pressed" from="HBoxContainer/VBoxContainer/HBoxContainer/load_set" to="HBoxContainer/VBoxContainer/setups" method="_on_load_set_pressed"]
[connection signal="pressed" from="HBoxContainer/VBoxContainer/HBoxContainer/info" to="info_overlay" method="_on_info_pressed"]