Added final features for this release. Now only polishing (if needed) remains.

Features: Sacrifice-Node, Maintain-Node, Options for screen type, lightcolor and soundvolume, tied in sound effects, game pause when menu is open, visibly open up gate when opening it.
This commit is contained in:
2026-05-10 14:09:14 +02:00
parent 228e81ab4e
commit 8170b700b2
28 changed files with 797 additions and 14 deletions
+12
View File
@@ -29,6 +29,8 @@ public partial class Robot : Node3D
public override void _Process(double delta)
{
if (GameData.isPaused) return;
if (isExecuting)
{
if (CanExecute(delta))
@@ -155,6 +157,16 @@ public partial class Robot : Node3D
currentMessage = "";
}
public void Maintain(float amount)
{
maintenance = Math.Clamp(maintenance + amount, 0f, 100f);
if (maintenance > 0f)
{
isBroken = false;
}
currentMessage = "";
}
public RobotSaveData CreateSaveData()
{
return new RobotSaveData