Added robot follow button
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user