Add door interaction system with requirements and HUD integration

This commit is contained in:
2025-10-30 00:57:28 +01:00
parent 9c0cd3f549
commit 5ae8b6f08c
21 changed files with 337 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
using Godot;
namespace CryptonymThunder.Code.Resources;
[GlobalClass]
public partial class RequiresItemRequirementResource : InteractionRequirementResource
{
[Export] public string ItemId { get; set; } = "item_key_green";
[Export(PropertyHint.Range, "1,100,1")] public int Quantity { get; set; } = 1;
[Export] public bool ConsumeItem { get; set; } = true;
}