(Mostly) show status update when using an item. Need to fix up the equipping code here
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[gd_resource type="LabelSettings" load_steps=2 format=3 uid="uid://bqdq5r46uduvd"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://dit3vylt7hmmx" path="res://src/ui/fonts/FT88-Regular.ttf" id="1_gld51"]
|
||||
|
||||
[resource]
|
||||
font = ExtResource("1_gld51")
|
||||
font_size = 24
|
||||
font_color = Color(0.737255, 0.705882, 0.690196, 1)
|
||||
@@ -5,3 +5,4 @@
|
||||
[resource]
|
||||
font = ExtResource("1_ofouc")
|
||||
font_size = 36
|
||||
font_color = Color(1, 0.94902, 0, 1)
|
||||
|
||||
@@ -32,7 +32,7 @@ public partial class PlayerInfoUI : Control, IPlayerInfoUI
|
||||
|
||||
public void OnResolved()
|
||||
{
|
||||
_labelSettings = GD.Load<LabelSettings>("res://src/ui/label_settings/MainTextRegular.tres");
|
||||
_labelSettings = GD.Load<LabelSettings>("res://src/ui/label_settings/InventoryFullAlertLabelSetting.tres");
|
||||
GameRepo.PlayerData.CurrentHP.Sync += CurrentHP_Sync;
|
||||
GameRepo.PlayerData.MaximumHP.Sync += MaximumHP_Sync;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user