-
Notifications
You must be signed in to change notification settings - Fork 1
/
inventory.tscn
226 lines (198 loc) · 7.39 KB
/
inventory.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
[gd_scene load_steps=12 format=2]
[ext_resource path="res://ui/font/secret_society_large.tres" type="DynamicFont" id=1]
[ext_resource path="res://ui/span_limiter.gd" type="Script" id=2]
[ext_resource path="res://inventory_list.gd" type="Script" id=3]
[ext_resource path="res://ui/font/secret_society_med.tres" type="DynamicFont" id=4]
[ext_resource path="res://ui/font/caveat_regular.tres" type="DynamicFont" id=5]
[ext_resource path="res://debug/icon.png" type="Texture" id=6]
[ext_resource path="res://ui/shop2.theme" type="Theme" id=7]
[ext_resource path="res://audio/transition_button.mp3" type="AudioStream" id=8]
[ext_resource path="res://inventory.gd" type="Script" id=11]
[ext_resource path="res://inventory_skip_button.gd" type="Script" id=12]
[sub_resource type="Animation" id=1]
resource_name = "fade_in"
tracks/0/type = "value"
tracks/0/path = NodePath("Container:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.6 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
}
[node name="Node" type="Node"]
script = ExtResource( 11 )
[node name="Container" type="Container" parent="."]
modulate = Color( 1, 1, 1, 0 )
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 1
size_flags_vertical = 3
theme = ExtResource( 7 )
script = ExtResource( 2 )
rect_max_size = Vector2( 1080, 700 )
[node name="VBoxContainer" type="VBoxContainer" parent="Container"]
margin_right = 800.0
margin_bottom = 600.0
size_flags_vertical = 3
alignment = 1
[node name="MarginContainer2" type="MarginContainer" parent="Container/VBoxContainer"]
margin_right = 800.0
margin_bottom = 74.0
[node name="Label2" type="Label" parent="Container/VBoxContainer/MarginContainer2"]
margin_left = 16.0
margin_top = 8.0
margin_right = 784.0
margin_bottom = 66.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 1 )
text = "Build Your Deck"
align = 1
valign = 1
[node name="SkipButton" type="Button" parent="Container/VBoxContainer/MarginContainer2"]
margin_left = 644.0
margin_top = 8.0
margin_right = 784.0
margin_bottom = 55.0
rect_min_size = Vector2( 140, 47 )
size_flags_horizontal = 8
size_flags_vertical = 0
text = "Continue"
script = ExtResource( 12 )
[node name="MarginContainer" type="MarginContainer" parent="Container/VBoxContainer"]
margin_top = 82.0
margin_right = 800.0
margin_bottom = 600.0
mouse_filter = 1
size_flags_vertical = 3
[node name="Cards" type="HBoxContainer" parent="Container/VBoxContainer/MarginContainer"]
margin_left = 16.0
margin_top = 8.0
margin_right = 784.0
margin_bottom = 510.0
size_flags_vertical = 3
custom_constants/separation = 22
[node name="VBoxContainer" type="VBoxContainer" parent="Container/VBoxContainer/MarginContainer/Cards"]
margin_right = 290.0
margin_bottom = 502.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="DeckLabel" type="Label" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer"]
unique_name_in_owner = true
margin_right = 290.0
margin_bottom = 47.0
custom_fonts/font = ExtResource( 4 )
text = "10 of 12 cards"
align = 1
[node name="PanelContainer" type="PanelContainer" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer"]
margin_top = 55.0
margin_right = 290.0
margin_bottom = 502.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ItemList" type="ScrollContainer" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer/PanelContainer"]
margin_top = 10.0
margin_right = 290.0
margin_bottom = 437.0
mouse_filter = 1
size_flags_horizontal = 3
size_flags_vertical = 11
script = ExtResource( 3 )
[node name="VBoxContainer" type="VBoxContainer" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer/PanelContainer/ItemList"]
margin_right = 290.0
size_flags_horizontal = 3
custom_constants/separation = 1
[node name="VBoxContainer2" type="VBoxContainer" parent="Container/VBoxContainer/MarginContainer/Cards"]
margin_left = 312.0
margin_right = 768.0
margin_bottom = 502.0
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 1.57
[node name="MarginContainer" type="MarginContainer" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer2"]
margin_right = 456.0
margin_bottom = 284.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/margin_top = 24
custom_constants/margin_bottom = 12
[node name="PreviewTarget" type="TextureRect" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer2/MarginContainer"]
unique_name_in_owner = true
margin_left = 16.0
margin_top = 24.0
margin_right = 440.0
margin_bottom = 272.0
size_flags_horizontal = 3
size_flags_vertical = 3
texture = ExtResource( 6 )
expand = true
stretch_mode = 6
[node name="PanelContainer2" type="PanelContainer" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer2"]
margin_top = 292.0
margin_right = 456.0
margin_bottom = 502.0
size_flags_horizontal = 3
size_flags_stretch_ratio = 1.92
[node name="MarginContainer" type="MarginContainer" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer2/PanelContainer2"]
margin_top = 10.0
margin_right = 456.0
margin_bottom = 200.0
custom_constants/margin_right = 24
custom_constants/margin_top = 12
custom_constants/margin_left = 24
custom_constants/margin_bottom = 0
[node name="VBoxContainer" type="VBoxContainer" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer2/PanelContainer2/MarginContainer"]
margin_left = 24.0
margin_top = 12.0
margin_right = 432.0
margin_bottom = 190.0
[node name="Title" type="Label" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer2/PanelContainer2/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
margin_right = 408.0
margin_bottom = 47.0
size_flags_horizontal = 3
size_flags_vertical = 7
custom_fonts/font = ExtResource( 4 )
text = "Wall"
valign = 2
autowrap = true
[node name="MarginContainer" type="MarginContainer" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer2/PanelContainer2/MarginContainer/VBoxContainer"]
margin_top = 55.0
margin_right = 408.0
margin_bottom = 118.0
custom_constants/margin_right = 0
custom_constants/margin_top = 10
custom_constants/margin_left = 0
custom_constants/margin_bottom = 10
[node name="Description" type="Label" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer2/PanelContainer2/MarginContainer/VBoxContainer/MarginContainer"]
unique_name_in_owner = true
margin_top = 10.0
margin_right = 408.0
margin_bottom = 53.0
rect_min_size = Vector2( 0, 40 )
size_flags_horizontal = 3
text = "Stops monsters in their tracks, until they knock it down! asdf asdf awdf waef awef waef waef"
autowrap = true
max_lines_visible = 2
[node name="Lore" type="Label" parent="Container/VBoxContainer/MarginContainer/Cards/VBoxContainer2/PanelContainer2/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
margin_top = 126.0
margin_right = 408.0
margin_bottom = 178.0
rect_min_size = Vector2( 0, 52 )
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 5 )
text = "Who knew monsters were weak to cinderblock?"
align = 1
autowrap = true
max_lines_visible = 2
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/fade_in = SubResource( 1 )
[node name="DigSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
volume_db = -4.948
bus = "SFX"
[connection signal="pressed" from="Container/VBoxContainer/MarginContainer2/SkipButton" to="." method="_on_SkipButton_pressed"]