private bool CanUse() { if (string.IsNullOrEmpty(RequiredKey) || PlayerInventory.HasItem(RequiredKey)) { return true; } return false; } }