Fix some boxes and global positioning

This commit is contained in:
2026-02-26 22:56:57 -08:00
parent 0c4a424a4d
commit 721a45c6bb
12 changed files with 83 additions and 14 deletions

View File

@@ -21,7 +21,6 @@ public partial class Ammo : Node3D, IEquipableItem, IStackable
_sprite.Texture = Stats.Texture;
}
public string ItemName => Stats.Name;
public string FlavorText => Stats.FlavorText;
@@ -39,7 +38,7 @@ public partial class Ammo : Node3D, IEquipableItem, IStackable
public Texture2D GetTexture() => Stats.Texture;
[Save("ammo_item_count")]
public AutoProp<int> Count { get; private set; }
public AutoProp<int> Count { get; private set; } = new AutoProp<int>(3);
public void SetCount(int count) => Count.OnNext(count);