using Cirno.Scripts.Resources; using Godot; using Godot.Collections; namespace Cirno.Scripts.Interactables; public partial class ItemPickup : Interactable { [Export] public Array LootTable = new Array(); public override bool Activate() { GD.Print("Attempting to Pickup Item"); if (!MeetsRequirements()) return false; foreach (var item in LootTable) { _inventoryManager.AddItem(item); } // Delet This QueueFree(); return true; } }