using Godot; using Godot.Collections; [GlobalClass] public partial class ItemDefinition : Resource { public enum ItemType { Passive, Weapon } [Export] public string Id { get; set; } = "item_id"; [Export] public string DisplayName { get; set; } = "New Item"; [Export(PropertyHint.MultilineText)] public string Description { get; set; } = string.Empty; [Export] public Texture2D? Icon { get; set; } [Export] public ItemType Type { get; set; } = ItemType.Passive; [Export] public PackedScene? WeaponScene { get; set; } [Export] public Array StatModifiers { get; set; } = new(); [Export] public Array EffectModifiers { get; set; } = new(); }