The idea is that spellcrafting will be possible but not on the character's magical mind but on usable scrolls.
Crafters will have to already know the effects as class skills l.
Scrolls will have a cooldown depending on how powerful their effects are and a cast time of x seconds per effect.
A scroll with multiple powerful effects should require rare materials to craft.
Crafting a scroll would require the inscriber to compile a magical program that uses a set of rules on how to run the spell.
The ingredients will be:
-Blank scroll(found in containers mostly as low quality and can be improved with specific materials and blessings of gods at their shrines).
-Ink that must previously be combined with crushed soul gem powder.
-pen of different qualities which would have chance to break like a lockpick only more durable, decreased by fatigue after many uses.
Using scrolls would level up the skill line just enough to unlock some passives that decrease cast time make you uninteruptable for a time of the cast and reduce chance to fail casting the scroll's magic.