Files
PolyphiaGame/Scripts/Singleton/ItemStats.cs
T
2025-05-12 18:07:43 -07:00

36 lines
675 B
C#

using Godot;
public partial class ItemStats : Node {
// Item 0
public StatItem[] stats = {
new StatItem{
ItemName = "Sniper",
InventorySize = new Vector2I(1, 4),
Weight = 400,
IsQuantityItem = false,
ToolPath = "res://Prefab/Tools/Sniper.tscn",
ToolDamage = 50
},
// Item 1
new StatItem{
},
// Item 2
new StatItem{
},
};
}
public class StatItem {
public string ItemName {get; set;} = "";
public Vector2I InventorySize {get; set;}
public int Weight {get; set;}
public bool IsQuantityItem {get; set;}
public int MaxQuantity {get; set;}
public string ToolPath {get; set;}
public int ToolDamage { get; set; }
}