1- [gd_scene load_steps =9 format =3 uid ="uid://bk0js6ji42xrt" ]
1+ [gd_scene load_steps =8 format =3 uid ="uid://bk0js6ji42xrt" ]
22
33[ext_resource type ="Texture2D" uid ="uid://djd6iw2g84bba" path ="res://Scenes/UI/Assets/UI_CenterFrame.png" id ="1_67his" ]
44[ext_resource type ="Script" uid ="uid://dg0xaieus84ns" path ="res://Scenes/ShopScene/Scripts/ShopScene.cs" id ="1_bmt43" ]
77[ext_resource type ="Theme" uid ="uid://d37e3tpsbxwak" path ="res://Scenes/UI/Assets/GeneralTheme.tres" id ="4_3vktw" ]
88[ext_resource type ="Script" uid ="uid://cahjluc6v7ked" path ="res://Scenes/UI/TitleScreen/Scripts/SceneChange.cs" id ="5_w0f8r" ]
99[ext_resource type ="Texture2D" uid ="uid://dyt1cvag13aik" path ="res://SharedAssets/Money.png" id ="6_tf865" ]
10- [ext_resource type ="Texture2D" uid ="uid://dtaf4wcsur721" path ="res://SharedAssets/Heart.png" id ="8_r34tc" ]
1110
12- [node name ="ShopUI" type ="Control" node_paths =PackedStringArray ("_moneyLabel" , "_currentHealthLabel" , " _exitButton" , "_removalButton" , "_healButton" , "_noteGrid" , "_relicGrid" , "_confirmationPopup" , "_confirmationButton" , "_denyButton" , "_descriptionLabel" , "_removalPanel" , "_possessionGrid" , "_removalAcceptButton" , "_cancelRemoveButton" , "_removalCostLabel" )]
11+ [node name ="ShopUI" type ="Control" node_paths =PackedStringArray ("_moneyLabel" , "_exitButton" , "_removalButton" , "_healButton" , "_noteGrid" , "_relicGrid" , "_confirmationPopup" , "_confirmationButton" , "_denyButton" , "_descriptionLabel" , "_removalPanel" , "_possessionGrid" , "_removalAcceptButton" , "_cancelRemoveButton" , "_removalCostLabel" )]
1312z_index = 2
1413layout_mode = 3
1514anchors_preset = 15
@@ -19,10 +18,9 @@ grow_horizontal = 2
1918grow_vertical = 2
2019script = ExtResource ("1_bmt43" )
2120_moneyLabel = NodePath ("MoneyContainer/MoneyFrame/MarginContainer/HBoxContainer/MoneyLabel" )
22- _currentHealthLabel = NodePath ("HealthContainer/HealthFrame/MarginContainer/HBoxContainer/CurrentHealthLabel" )
23- _exitButton = NodePath ("BottomPanel/DescBox/HBoxContainer/OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer/Continue" )
24- _removalButton = NodePath ("BottomPanel/DescBox/HBoxContainer/OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer/Removal" )
25- _healButton = NodePath ("BottomPanel/DescBox/HBoxContainer/OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer/Heal" )
21+ _exitButton = NodePath ("OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer/Continue" )
22+ _removalButton = NodePath ("OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer/Removal" )
23+ _healButton = NodePath ("OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer/Heal" )
2624_noteGrid = NodePath ("TopPanel/MarginContainer/VBoxContainer/NoteSelection/MarginContainer/NotesBox/CenterContainer/NotesGrid" )
2725_relicGrid = NodePath ("TopPanel/MarginContainer/VBoxContainer/RelicSelection/MarginContainer/RelicsBox/CenterContainer/RelicsGrid" )
2826_confirmationPopup = NodePath ("ConfirmPurchase" )
@@ -37,7 +35,7 @@ _removalCostLabel = NodePath("Removal/Panel/MarginContainer/VBoxContainer/Option
3735
3836[node name ="TopPanel" type ="NinePatchRect" parent ="." ]
3937layout_mode = 0
40- offset_right = 508 .0
38+ offset_right = 463 .0
4139offset_bottom = 211.0
4240texture = ExtResource ("1_67his" )
4341patch_margin_left = 12
@@ -140,7 +138,7 @@ columns = 6
140138[node name ="BottomPanel" type ="NinePatchRect" parent ="." ]
141139layout_mode = 0
142140offset_top = 211.0
143- offset_right = 640 .0
141+ offset_right = 463 .0
144142offset_bottom = 360.0
145143texture = ExtResource ("1_67his" )
146144patch_margin_left = 12
@@ -149,10 +147,12 @@ patch_margin_right = 12
149147patch_margin_bottom = 12
150148
151149[node name ="DescBox" type ="MarginContainer" parent ="BottomPanel" ]
152- layout_mode = 2
153- offset_right = 640.0
154- offset_bottom = 149.0
155- grow_vertical = 0
150+ layout_mode = 1
151+ anchors_preset = 15
152+ anchor_right = 1.0
153+ anchor_bottom = 1.0
154+ grow_horizontal = 2
155+ grow_vertical = 2
156156size_flags_vertical = 3
157157size_flags_stretch_ratio = 0.4
158158theme_override_constants/margin_left = 10
@@ -213,9 +213,18 @@ autowrap_mode = 2
213213clip_text = true
214214text_overrun_behavior = 1
215215
216- [node name ="OptionsBG" type ="NinePatchRect" parent ="BottomPanel/DescBox/HBoxContainer " ]
216+ [node name ="OptionsBG" type ="NinePatchRect" parent =". " ]
217217self_modulate = Color (1 , 1 , 1 , 0.75 )
218- layout_mode = 2
218+ layout_mode = 1
219+ anchors_preset = 3
220+ anchor_left = 1.0
221+ anchor_top = 1.0
222+ anchor_right = 1.0
223+ anchor_bottom = 1.0
224+ offset_left = -176.0
225+ offset_top = -179.0
226+ grow_horizontal = 0
227+ grow_vertical = 0
219228size_flags_horizontal = 3
220229size_flags_vertical = 3
221230size_flags_stretch_ratio = 0.39
@@ -225,7 +234,7 @@ patch_margin_top = 6
225234patch_margin_right = 6
226235patch_margin_bottom = 7
227236
228- [node name ="OptionsMargin" type ="MarginContainer" parent ="BottomPanel/DescBox/HBoxContainer/ OptionsBG" ]
237+ [node name ="OptionsMargin" type ="MarginContainer" parent ="OptionsBG" ]
229238layout_mode = 1
230239anchors_preset = 15
231240anchor_right = 1.0
@@ -238,44 +247,44 @@ theme_override_constants/margin_top = 4
238247theme_override_constants/margin_right = 4
239248theme_override_constants/margin_bottom = 4
240249
241- [node name ="OptionsBG" type ="NinePatchRect" parent ="BottomPanel/DescBox/HBoxContainer/ OptionsBG/OptionsMargin" ]
250+ [node name ="OptionsBG" type ="NinePatchRect" parent ="OptionsBG/OptionsMargin" ]
242251layout_mode = 2
243252texture = ExtResource ("3_r34tc" )
244253patch_margin_left = 7
245254patch_margin_top = 7
246255patch_margin_right = 7
247256patch_margin_bottom = 7
248257
249- [node name ="MarginContainer" type ="MarginContainer" parent ="BottomPanel/DescBox/HBoxContainer/ OptionsBG/OptionsMargin/OptionsBG" ]
258+ [node name ="MarginContainer" type ="MarginContainer" parent ="OptionsBG/OptionsMargin/OptionsBG" ]
250259layout_mode = 1
251260anchors_preset = 15
252261anchor_right = 1.0
253262anchor_bottom = 1.0
254263grow_horizontal = 2
255264grow_vertical = 2
256265theme_override_constants/margin_left = 7
257- theme_override_constants/margin_top = 7
266+ theme_override_constants/margin_top = 0
258267theme_override_constants/margin_right = 7
259268
260- [node name ="VBoxContainer" type ="VBoxContainer" parent ="BottomPanel/DescBox/HBoxContainer/ OptionsBG/OptionsMargin/OptionsBG/MarginContainer" ]
269+ [node name ="VBoxContainer" type ="VBoxContainer" parent ="OptionsBG/OptionsMargin/OptionsBG/MarginContainer" ]
261270layout_mode = 2
262271alignment = 1
263272
264- [node name ="Removal" type ="Button" parent ="BottomPanel/DescBox/HBoxContainer/ OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer" ]
273+ [node name ="Removal" type ="Button" parent ="OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer" ]
265274layout_mode = 2
266275size_flags_horizontal = 4
267276size_flags_vertical = 4
268277theme = ExtResource ("4_3vktw" )
269278text = "SHOP_REMOVAL"
270279
271- [node name ="Heal" type ="Button" parent ="BottomPanel/DescBox/HBoxContainer/ OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer" ]
280+ [node name ="Heal" type ="Button" parent ="OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer" ]
272281layout_mode = 2
273282size_flags_horizontal = 4
274283size_flags_vertical = 4
275284theme = ExtResource ("4_3vktw" )
276285text = "SHOP_HEAL"
277286
278- [node name ="Continue" type ="Button" parent ="BottomPanel/DescBox/HBoxContainer/ OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer" ]
287+ [node name ="Continue" type ="Button" parent ="OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer" ]
279288layout_mode = 2
280289size_flags_horizontal = 4
281290size_flags_vertical = 4
@@ -337,59 +346,6 @@ horizontal_alignment = 2
337346vertical_alignment = 1
338347clip_text = true
339348
340- [node name ="HealthContainer" type ="MarginContainer" parent ="." ]
341- layout_mode = 1
342- anchors_preset = 1
343- anchor_left = 1.0
344- anchor_right = 1.0
345- offset_left = -125.0
346- offset_top = 24.0
347- offset_bottom = 53.0
348- grow_horizontal = 0
349- theme_override_constants/margin_left = -1
350- theme_override_constants/margin_top = 5
351- theme_override_constants/margin_right = 5
352- theme_override_constants/margin_bottom = 0
353-
354- [node name ="HealthFrame" type ="NinePatchRect" parent ="HealthContainer" ]
355- layout_mode = 2
356- texture = ExtResource ("2_bmt43" )
357- patch_margin_left = 7
358- patch_margin_top = 7
359- patch_margin_right = 7
360- patch_margin_bottom = 7
361-
362- [node name ="MarginContainer" type ="MarginContainer" parent ="HealthContainer/HealthFrame" ]
363- layout_mode = 1
364- anchors_preset = 15
365- anchor_right = 1.0
366- anchor_bottom = 1.0
367- grow_horizontal = 2
368- grow_vertical = 2
369- theme_override_constants/margin_right = 8
370-
371- [node name ="HBoxContainer" type ="HBoxContainer" parent ="HealthContainer/HealthFrame/MarginContainer" ]
372- layout_mode = 2
373-
374- [node name ="MarginContainer" type ="MarginContainer" parent ="HealthContainer/HealthFrame/MarginContainer/HBoxContainer" ]
375- layout_mode = 2
376- theme_override_constants/margin_left = 6
377-
378- [node name ="TextureRect" type ="TextureRect" parent ="HealthContainer/HealthFrame/MarginContainer/HBoxContainer/MarginContainer" ]
379- layout_mode = 2
380- size_flags_vertical = 4
381- texture = ExtResource ("8_r34tc" )
382-
383- [node name ="CurrentHealthLabel" type ="Label" parent ="HealthContainer/HealthFrame/MarginContainer/HBoxContainer" ]
384- custom_minimum_size = Vector2 (91 , 0 )
385- layout_mode = 2
386- size_flags_horizontal = 10
387- size_flags_vertical = 1
388- text = "0"
389- horizontal_alignment = 2
390- vertical_alignment = 1
391- clip_text = true
392-
393349[node name ="ConfirmPurchase" type ="CenterContainer" parent ="." ]
394350visible = false
395351z_index = 3
0 commit comments