Add door interaction system with requirements and HUD integration
This commit is contained in:
13
Code/Resources/RequiresAttributeRequirementResource.cs
Normal file
13
Code/Resources/RequiresAttributeRequirementResource.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user