Added resource harvesting to DSL.

This commit is contained in:
=
2026-05-05 19:45:50 +02:00
parent a320a86a2f
commit 5882f3865d
8 changed files with 158 additions and 61 deletions
+1 -1
View File
@@ -21,12 +21,12 @@ public partial class Robot : Node3D
switch (currentNode.Execute(this, delta))
{
case NodeResult.SUCCESS:
GD.Print(currentNode.lastExecutionMessage);
currentNode = currentNode.nextNode;
if (currentNode == null)
{
isExecuting = false;
}
GD.Print(currentNode.lastExecutionMessage);
break;
case NodeResult.FAILURE:
isExecuting = false;