I created a new spell, and a new spellbook that teaches it. Now I want spell vendors to sell it. To do that I need to add the spellbook to the appropriate leveled list. But I want to avoid modifying the leveling list directly, so as to avoid conflicts with other mods. So I should probably use a script to add the item to the leveled list on game start.
I looked for an example on how to do this but couldn't find it. Any way to script this in?