13 lines
449 B
C#
13 lines
449 B
C#
using GameCore.Attributes;
|
|
using GameCore.Interaction;
|
|
using Godot;
|
|
|
|
namespace CryptonymThunder.Code.Resources;
|
|
|
|
[GlobalClass]
|
|
public partial class RequiresAttributeRequirementResource : InteractionRequirementResource
|
|
{
|
|
[Export] public Attribute Attribute { get; set; } = Attribute.Level;
|
|
[Export] public float RequiredValue { get; set; } = 1.0f;
|
|
[Export] public ComparisonType Comparison { get; set; } = ComparisonType.GreaterOrEqual;
|
|
} |