Added robot follow button

This commit is contained in:
2026-05-11 19:37:28 +02:00
parent e43b0a8d37
commit 9a35a11df4
6 changed files with 54 additions and 1 deletions
@@ -85,6 +85,11 @@ public class SurvivalState
{
energy = Math.Clamp(energy + 40f, 0f, maxEnergy);
}
if (GameData.inventory.TryRemoveItem("coal", 1))
{
energy = Math.Clamp(energy + 10f, 0f, maxEnergy);
}
}
private void UpdateStatus()