Added unlock mechanic with testing if player has all items in inventory.

This commit is contained in:
2026-05-09 15:06:46 +02:00
parent 213d0aed97
commit 5eab205a9c
2 changed files with 22 additions and 8 deletions
+10
View File
@@ -264,4 +264,14 @@ public partial class Layer : Node3D
}
return result;
}
public string DisplayGateIngredients()
{
string result = "";
foreach (Ingredient ingredient in gateIngredients)
{
result += $"{ItemData.GetReadableName(ingredient.Item)} ({ingredient.Amount})\r";
}
return result;
}
}