Fix some boxes and global positioning
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user