Added sceneprovider reference to field scripts and made them register on ready. Also added VariableSetter.

This commit is contained in:
2025-11-11 12:15:30 +01:00
parent fe1dd2bcc1
commit 97dcadf07a
9 changed files with 61 additions and 54 deletions
@@ -24,6 +24,7 @@ public partial class FieldService : Node
//Create
public bool TryAddEntry(string sceneName, Vector2I position, FieldBehaviour2D field)
{
GD.Print("Trying to add a field at: " + position);
if (_outerDict != null )
{
FieldsInScene innerDict;