Item Effects system

This commit is contained in:
Marco 2025-03-17 16:20:22 +01:00
commit dae952af8b
15 changed files with 255 additions and 84 deletions

View file

@ -1,4 +1,5 @@
using Godot;
using Cirno.Scripts.Resources.ItemEffects;
using Godot;
namespace Cirno.Scripts.Resources;
@ -9,6 +10,7 @@ public partial class LootItem : Resource
[Export] public StringName ItemDescription { get; set; }
[Export] public StringName ItemKey { get; set; }
[Export] public ItemTypes Item;
[Export] public ItemEffectResource ItemEffect { get; private set; }
[Export] public WeaponResource WeaponData { get; set; }
[Export] public int Amount;
[Export] public int Max;