namespace Sasalka; [GameResource( "Clothing Item Definition", "clitem", "", Category = "Sasalka", Icon = "inventory_2" )] public class ClothingItemDefinition : BaseItemDefinition, IEquipable { [Property, Category( "Clothing Properties" )] public string ClothUrl { get; set; } [Property, Category( "Clothing Properties" )] public Inventar.InventorySlot Slot { get; set; } [Property, Category( "Clothing Properties" )] public float ArmorValue { get; set; } = 0f; [Property, Category( "Clothing Properties" )] public bool IsVisible { get; set; } = true; [Property, Category( "Clothing Properties" )] public string BodyPart { get; set; } = ""; public override Inventar.InventorySlot? GetSlot() => Slot; public override ItemCategory Category => ItemCategory.Clothing; public override bool CanUse() => true; public override void OnUse( InventoryItem item ) { // Логика экипировки одежды } }