-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinventory.tscn
196 lines (162 loc) · 5.82 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
[gd_scene load_steps=7 format=3 uid="uid://cftoisbhfytx2"]
[ext_resource type="Script" path="res://inventory.gd" id="1_w6ekb"]
[ext_resource type="Texture2D" uid="uid://coqfc4kh7r77w" path="res://InventoryRect.png" id="2_uawfs"]
[ext_resource type="PackedScene" uid="uid://cv5kikv2v1anj" path="res://panel.tscn" id="3_3my4d"]
[ext_resource type="PackedScene" uid="uid://d353gwpd1hqth" path="res://potionSelection.tscn" id="4_aii3v"]
[ext_resource type="PackedScene" uid="uid://blinnbo5jotyt" path="res://createButton.tscn" id="5_qkawc"]
[ext_resource type="PackedScene" uid="uid://d1usvmq3jlfxt" path="res://assets/potionMessage.tscn" id="6_5aox5"]
[node name="Inventory" type="Node2D"]
position = Vector2(5, 44)
scale = Vector2(5.425, 5.425)
script = ExtResource("1_w6ekb")
[node name="NinePatchRect" type="NinePatchRect" parent="."]
z_index = 1
offset_right = 110.0
offset_bottom = 108.0
texture = ExtResource("2_uawfs")
patch_margin_left = 6
patch_margin_top = 6
patch_margin_right = 6
patch_margin_bottom = 6
[node name="GridContainer" type="GridContainer" parent="NinePatchRect"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -46.0
offset_top = -35.7579
offset_right = 46.0
offset_bottom = 32.2421
grow_horizontal = 2
grow_vertical = 2
columns = 4
[node name="Panel" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel2" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel3" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel4" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel5" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel6" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel7" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel8" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel9" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel10" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel11" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel12" parent="NinePatchRect/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="PotionTypes" type="NinePatchRect" parent="."]
z_index = 1
offset_left = 109.0
offset_right = 171.0
offset_bottom = 108.0
texture = ExtResource("2_uawfs")
patch_margin_left = 6
patch_margin_top = 6
patch_margin_right = 6
patch_margin_bottom = 6
[node name="PotionSelection2" parent="PotionTypes" instance=ExtResource("4_aii3v")]
z_index = -1
layout_mode = 0
offset_left = 56.5783
offset_top = 24.6176
offset_right = 96.5783
offset_bottom = 39.6176
scale = Vector2(0.705, 0.705)
keep_pressed_outside = true
potionName = "healing"
iconPic = "res://dialogues/Pixel Heart Sprite Sheet 32x32.png"
[node name="PotionSelection" parent="PotionTypes" instance=ExtResource("4_aii3v")]
z_index = -1
layout_mode = 0
offset_left = 57.5115
offset_top = 38.5253
offset_right = 97.5115
offset_bottom = 53.5253
scale = Vector2(0.685, 0.685)
potionName = "death"
iconPic = "res://Skull&Bones - FrodoUndead.png"
[node name="Ingredients" type="NinePatchRect" parent="."]
z_index = 1
offset_left = 115.0
offset_top = 21.0
offset_right = 164.0
offset_bottom = 39.0
[node name="GridContainer" type="GridContainer" parent="Ingredients"]
layout_mode = 0
offset_left = 3.35365
offset_top = -3.22609
offset_right = 62.3536
offset_bottom = 64.7739
columns = 2
[node name="Panel" parent="Ingredients/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel3" parent="Ingredients/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel5" parent="Ingredients/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel6" parent="Ingredients/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel2" parent="Ingredients/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Panel4" parent="Ingredients/GridContainer" instance=ExtResource("3_3my4d")]
layout_mode = 2
[node name="Label2" type="Label" parent="."]
z_index = 1
offset_left = 28.9401
offset_top = 3.31797
offset_right = 121.94
offset_bottom = 26.318
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_font_sizes/font_size = 9
text = "My Inventory"
[node name="Label" type="Label" parent="."]
z_index = 1
offset_left = 125.083
offset_top = 3.447
offset_right = 159.083
offset_bottom = 26.447
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_font_sizes/font_size = 9
text = "Recipe"
[node name="CreateButton" parent="." instance=ExtResource("5_qkawc")]
z_index = 1
offset_left = 118.525
offset_top = 88.6636
offset_right = 175.525
offset_bottom = 119.664
scale = Vector2(0.375, 0.375)
[node name="PotionMessage" parent="." instance=ExtResource("6_5aox5")]
z_index = 1
position = Vector2(-2.58064, 75.2074)
scale = Vector2(0.54, 0.54)
[node name="NinePatchRect2" type="NinePatchRect" parent="."]
offset_left = 167.29
offset_right = 211.29
offset_bottom = 23.0
texture = ExtResource("2_uawfs")
patch_margin_left = 6
patch_margin_top = 6
patch_margin_right = 6
patch_margin_bottom = 6
[node name="Label3" type="Label" parent="."]
z_index = 1
offset_left = 172.369
offset_top = 3.553
offset_right = 206.369
offset_bottom = 16.553
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_font_sizes/font_size = 9
text = "Potions"
[connection signal="pressed" from="CreateButton" to="CreateButton" method="_on_pressed"]