[gd_scene load_steps=2 format=3 uid="uid://b71653f53iyqe"] [sub_resource type="GDScript" id="GDScript_unn25"] script/source = "extends Node # Called when the node enters the scene tree for the first time. func _ready() -> void: var scripts_dir = \"res://scripts/\" for file in DirAccess.get_files_at(scripts_dir): if file.ends_with(\".gd.txt\"): var node = Node.new() var script = GDScript.new() script.source_code=FileAccess.get_file_as_string(scripts_dir+file) script.reload() node.set_script(script) add_child(node) " [node name="Node" type="Node"] script = SubResource("GDScript_unn25")