I want to move the behavior trees and state from my actor nodes to the autoload. Gotta figure out a few things like the schema for the data, the format for the node IDs, what data I'll need to copy from the nodes themselves to the state resources.
Does anyone know if there's a way from #GDScript to scan and register all the nodes of a certain type at startup, regardless of whether or not they're in the tree? I'd like to move the node registration code out of _init(), even though by using the node path I can be reasonably sure that I'm not going to have namespace issues as nodes are freed and loaded.