Long story short:
I would like to solve the problem where there is a magical connection between x-spell.c and spells.txt. I would also like to clean up some of the interactions and/or parsing. Really, ideally, what I think would be nice would be to have books list spells, rather than spells listing books.
More generally, it might be nice to add slightly improved support for symbolic names to the *.txt parsing, so that instead of having to compare tval/sval values, we could do something like:
N:470:[Mordenkainen's Escapes]
SOMETHING_GOES_HERE:BOOK_ESCAPES
and then later:
N:34:Word of Recall
B:BOOK_ESCAPES
instead of "I:90:6:3".
This, then, leads into the OTHER thing I want to do, which may be broken-as-designed but sounds really fun to me:
Scribable spellbooks.
Basic idea: A spellbook is given a capacity in some unit. You can find blank or incomplete spellbooks. You can learn a spell you don't know, and if you have a spellbook with sufficient space, you can scribe the spell there. Spells cannot be removed from books, or reordered, so if you want spells in a given order, you write them that way.
What makes this cool: You could find some but not all of the spells from, say, Resistances. You might have Resist Fire but never have seen Resist Cold, say. This makes finding spells a little smoother in some ways (you don't get an entire dungeon spellbook at once, necessarily), but possibly more annoying if you just happen to never find a given spell.
What makes it possibly broken: A mage with four blank dungeon spellbooks that have been inscribed with all the spells that the mage ever wants to cast, thus using four slots and 12 lbs. to make up for what would normally take 9 slots some of which had to have multiple items in them...
I would like to solve the problem where there is a magical connection between x-spell.c and spells.txt. I would also like to clean up some of the interactions and/or parsing. Really, ideally, what I think would be nice would be to have books list spells, rather than spells listing books.
More generally, it might be nice to add slightly improved support for symbolic names to the *.txt parsing, so that instead of having to compare tval/sval values, we could do something like:
N:470:[Mordenkainen's Escapes]
SOMETHING_GOES_HERE:BOOK_ESCAPES
and then later:
N:34:Word of Recall
B:BOOK_ESCAPES
instead of "I:90:6:3".
This, then, leads into the OTHER thing I want to do, which may be broken-as-designed but sounds really fun to me:
Scribable spellbooks.
Basic idea: A spellbook is given a capacity in some unit. You can find blank or incomplete spellbooks. You can learn a spell you don't know, and if you have a spellbook with sufficient space, you can scribe the spell there. Spells cannot be removed from books, or reordered, so if you want spells in a given order, you write them that way.
What makes this cool: You could find some but not all of the spells from, say, Resistances. You might have Resist Fire but never have seen Resist Cold, say. This makes finding spells a little smoother in some ways (you don't get an entire dungeon spellbook at once, necessarily), but possibly more annoying if you just happen to never find a given spell.
What makes it possibly broken: A mage with four blank dungeon spellbooks that have been inscribed with all the spells that the mage ever wants to cast, thus using four slots and 12 lbs. to make up for what would normally take 9 slots some of which had to have multiple items in them...
Comment