In Godot 4, having two or more mods extend the same script causes every script after the first to be ignored. I've found that parent_script.resource_path is blank after the first extension takes over.
After modifying the apply_extension function to sidestep that issue, I found that every extension except the last one is ignored.