Editing lib/edit files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • moonsdad
    Rookie
    • Nov 2008
    • 3

    Editing lib/edit files

    I want to make a new spell book that contains already existing spells -- just renamed, for a new class that I plan to make.

    the addition to objext.txt will be:
    N:##:[Runelore]
    G:?:r
    I:90:4:0
    W:30:0:900
    A:30/1
    P:0:1d1:0:0:0
    F: EASY_KNOW | IGNORE_ELEC | IGNORE_COLD

    in x-spell.c I see that the spell numbers are hard coded, so to edit spell.txt can I add second I:tval:sval:snum line to the spells I want included in my newbook, or should I make duplicate enteries with the same N:serial:spellname line, or do I have to muck around with the code?
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎