-
Notifications
You must be signed in to change notification settings - Fork 0
/
summon_button.tscn
133 lines (120 loc) · 3.42 KB
/
summon_button.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
[gd_scene load_steps=3 format=3 uid="uid://dtntstrceesaa"]
[ext_resource type="Script" path="res://summon_button.gd" id="1_wjstv"]
[ext_resource type="Texture2D" uid="uid://b8frlh3w52834" path="res://items/raw_material/coral.png" id="2_wc6kc"]
[node name="SummonButton" type="ColorRect"]
custom_minimum_size = Vector2(16, 16)
color = Color(0.145098, 0.145098, 0.145098, 0.67451)
script = ExtResource("1_wjstv")
can_summon_bg = Color(0.701961, 0.701961, 0.701961, 0.752941)
cannot_summon_bg = Color(0.145098, 0.145098, 0.145098, 0.67451)
can_summon_color = Color(0.1825, 0.73, 0.1825, 1)
cannot_summon_color = Color(0.760784, 0.168627, 0.168627, 1)
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_wc6kc")
[node name="UI" type="ColorRect" parent="."]
visible = false
z_index = 1
layout_mode = 0
offset_left = -71.0
offset_top = 20.0
offset_right = 97.0
offset_bottom = 95.0
color = Color(0, 0, 0, 1)
[node name="UpgradeTitle" type="Label" parent="UI"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_top = 3.0
offset_bottom = 16.0
grow_horizontal = 2
size_flags_horizontal = 0
size_flags_vertical = 0
theme_type_variation = &"LargeLabel"
text = "OTHERWORLDLY O2 TANK"
horizontal_alignment = 1
[node name="UpgradeDescription" type="Label" parent="UI"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_top = -18.5
offset_bottom = -5.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 0
size_flags_vertical = 0
text = "get some more 02 bruh"
horizontal_alignment = 1
[node name="Requires" type="Label" parent="UI"]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -38.0
offset_bottom = -25.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 0
size_flags_vertical = 0
text = "Summon Recipe"
horizontal_alignment = 1
vertical_alignment = 1
[node name="CanSummonLabel" type="Label" parent="UI"]
unique_name_in_owner = true
modulate = Color(0.223529, 0.560784, 0.172549, 1)
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -20.0
offset_bottom = -7.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 0
size_flags_vertical = 0
text = "Can Summon"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RequirementsHBox" type="HBoxContainer" parent="UI"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -34.0
offset_bottom = -19.0
grow_horizontal = 2
grow_vertical = 0
theme_override_constants/separation = 1
alignment = 1
[node name="TextureRect" type="TextureRect" parent="UI/RequirementsHBox"]
layout_mode = 2
texture = ExtResource("2_wc6kc")
expand_mode = 3
stretch_mode = 4
[node name="TextureRect2" type="TextureRect" parent="UI/RequirementsHBox"]
layout_mode = 2
texture = ExtResource("2_wc6kc")
expand_mode = 3
stretch_mode = 4
[node name="TextureRect3" type="TextureRect" parent="UI/RequirementsHBox"]
layout_mode = 2
texture = ExtResource("2_wc6kc")
expand_mode = 3
stretch_mode = 4
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]