From c931670e9d47f9b1712e7363088910a5091d1893 Mon Sep 17 00:00:00 2001 From: architect-bot Date: Mon, 17 Aug 2026 20:25:30 +0000 Subject: [PATCH] WIP checkpoint: Research and design GDScript sandboxing approach --- sandbox_probe/probe.gd | 6 +++--- sandbox_probe/probe.tscn | 2 +- sandbox_probe/project.godot | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sandbox_probe/probe.gd b/sandbox_probe/probe.gd index e9955cd..73ebb3d 100644 --- a/sandbox_probe/probe.gd +++ b/sandbox_probe/probe.gd @@ -1,6 +1,6 @@ -extends SceneTree +extends Node -func _init(): +func _ready(): print("=== SANDBOX PROBE START ===") probe_script_loading() probe_os_apis() @@ -8,7 +8,7 @@ func _init(): probe_network() probe_engine_apis() print("=== SANDBOX PROBE END ===") - quit() + get_tree().quit() func probe_script_loading(): print("--- Script loading ---") diff --git a/sandbox_probe/probe.tscn b/sandbox_probe/probe.tscn index c9a51ef..236e56a 100644 --- a/sandbox_probe/probe.tscn +++ b/sandbox_probe/probe.tscn @@ -2,5 +2,5 @@ [ext_resource type="Script" path="res://probe.gd" id="1"] -[node name="Probe" type="SceneTree"] +[node name="Probe" type="Node"] script = ExtResource("1") diff --git a/sandbox_probe/project.godot b/sandbox_probe/project.godot index df42527..0a5efb3 100644 --- a/sandbox_probe/project.godot +++ b/sandbox_probe/project.godot @@ -4,5 +4,5 @@ config_version=5 [application] config/name="sandbox_probe" -run/main_scene="" +run/main_scene="res://probe.tscn" config/features=PackedStringArray("4.6")