This is not a right place to ask, but I will answer it anyway, I hope I worded this to be understand to non coder.
Disclaimer: I will take an analogy instead. This is not what actually happen, but it is similar
The previous condition, when you haven't put a new script.
The actor data only contains an information about ATK, DEF
You create a new game, a new object of actor is created. It creates ATK and DEF for each actor
That actor object changes overtime, eventually ATK and DEF is changed.
You decided to save the game. The actor object is dumped into a save file.
Later, you decided that you need a Physical defense. Say, PDF
You decide that the damage is calculated by ATK minus DEF then multiplied by PDF.
If you decide to start a new game, a new actor object would contain an information about Physical Defense as well as ATK and DEF
But if you load a game from a save file where the actor object does not contain any information about the physical defense, the computer is confused and throw an error because it's undefined.
however if I load in a savegame from back when I had only 10 scripts, does it still not initialise all the scripts, or does the savegame already take this as a given?
So no, load a game does not reinitialize game object. It's loading an object saved within the file.
so why then for some scripts that have never been run before does it seem to be ok, and for some others it seems to cause a conflict?
Scripts that store information in save file will get conflict. Some which does not, will not.
For example, script that alter how the movement like diagonal movement likely will not interfere with the save file since the script just change how the movement works
I guess I'm trying to figure out if there is a way for a script to realise that somehow it has not initialised and force itself to setup correctly... if that is possible: ie, can a script be amended to react successfully to this error.
There is
save file doctor script. But I haven't really test it.