12 lines
389 B
C#
12 lines
389 B
C#
using Godot;
|
|
|
|
namespace CryptonymThunder.Code.Resources;
|
|
|
|
[GlobalClass]
|
|
public partial class PickupComponentResource : Resource
|
|
{
|
|
[Export] public string ItemId { get; set; }
|
|
[Export] public int Quantity { get; set; } = 1;
|
|
[Export] public bool IsInstantUse { get; set; } = false;
|
|
[Export] public Godot.Collections.Array<EffectResource> OnAcquireEffects { get; set; } = [];
|
|
} |