1- [gd_scene load_steps =8 format =3 uid ="uid://bk0js6ji42xrt" ]
1+ [gd_scene load_steps =9 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" ]
1011
11- [node name ="ShopUI" type ="Control" node_paths =PackedStringArray ("_moneyLabel" , "_exitButton" , "_removalButton" , "_noteGrid" , "_relicGrid" , "_confirmationPopup" , "_confirmationButton" , "_denyButton" , "_descriptionLabel" , "_removalPanel" , "_possessionGrid" , "_removalAcceptButton" , "_cancelRemoveButton" , "_removalCostLabel" )]
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" )]
1213z_index = 2
1314layout_mode = 3
1415anchors_preset = 15
@@ -18,8 +19,10 @@ grow_horizontal = 2
1819grow_vertical = 2
1920script = ExtResource ("1_bmt43" )
2021_moneyLabel = NodePath ("MoneyContainer/MoneyFrame/MarginContainer/HBoxContainer/MoneyLabel" )
22+ _currentHealthLabel = NodePath ("HealthContainer/HealthFrame/MarginContainer/HBoxContainer/CurrentHealthLabel" )
2123_exitButton = NodePath ("BottomPanel/DescBox/HBoxContainer/OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer/Continue" )
2224_removalButton = NodePath ("BottomPanel/DescBox/HBoxContainer/OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer/Removal" )
25+ _healButton = NodePath ("BottomPanel/DescBox/HBoxContainer/OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer/Heal" )
2326_noteGrid = NodePath ("TopPanel/MarginContainer/VBoxContainer/NoteSelection/MarginContainer/NotesBox/CenterContainer/NotesGrid" )
2427_relicGrid = NodePath ("TopPanel/MarginContainer/VBoxContainer/RelicSelection/MarginContainer/RelicsBox/CenterContainer/RelicsGrid" )
2528_confirmationPopup = NodePath ("ConfirmPurchase" )
@@ -265,6 +268,13 @@ size_flags_vertical = 4
265268theme = ExtResource ("4_3vktw" )
266269text = "SHOP_REMOVAL"
267270
271+ [node name ="Heal" type ="Button" parent ="BottomPanel/DescBox/HBoxContainer/OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer" ]
272+ layout_mode = 2
273+ size_flags_horizontal = 4
274+ size_flags_vertical = 4
275+ theme = ExtResource ("4_3vktw" )
276+ text = "SHOP_HEAL"
277+
268278[node name ="Continue" type ="Button" parent ="BottomPanel/DescBox/HBoxContainer/OptionsBG/OptionsMargin/OptionsBG/MarginContainer/VBoxContainer" ]
269279layout_mode = 2
270280size_flags_horizontal = 4
@@ -327,6 +337,59 @@ horizontal_alignment = 2
327337vertical_alignment = 1
328338clip_text = true
329339
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+
330393[node name ="ConfirmPurchase" type ="CenterContainer" parent ="." ]
331394visible = false
332395z_index = 3
0 commit comments