Inventory Menu

This commit is contained in:
Marco 2025-02-25 18:11:57 +01:00
commit 0c0174e0ab
14 changed files with 126 additions and 3 deletions

View file

@ -6,6 +6,7 @@ namespace Cirno.Scripts.Resources;
public partial class LootItem : Resource
{
[Export] public string ItemName { get; set; }
[Export] public string ItemDescription { get; set; }
[Export] public string ItemKey { get; set; }
[Export] public ItemTypes Item;
[Export] public WeaponResource WeaponData { get; set; }
@ -14,7 +15,7 @@ public partial class LootItem : Resource
[Export] public bool PickupIfMaxed;
[Export] public bool ConsumeOnUse;
[Export] public UiItemType UiType;
[Export] public bool Selectable;
[Export] public Texture2D InventorySprite;
[Export] public SpriteFrames WorldSprite;
[Export] public PackedScene HudItemScene;