There seems to be something connected to the way Exult identifies used vs. unused NPCs that prevents unused NPCs from being saved after being created/activated via custom usecode. My test code is attached. Oddly, what is saved/not is inconsistent. NPCs 234-240 will show their intended shapes, new schedules, and all-zero stats, but not their map location or current activity.
Steps to recreate:
Copy usecode file into your SIfixes mod folder.
Start a new game.
Teleport to the House of the Dead, west of Vasculio.
Save the game.
Quit Exult.
Restart Exult and load the game.
No NPCs will appear as created by the usecode.
It may be worth noting that if you try to reload the saved game without quitting/restarting Exult that it crashes. This may be combined with bug 1972 if it's part of the same issue. I've also set DOUBLECLICK on the magic leggings to run the function that recycles and places these NPCs if you need to trigger it.
Per Marzo, Exult was not intented to have NPCs added this way. Maybe this would be better as a feature request?
Ticket moved from /p/exult/bugs/1973/