Jump to content

Why is ADD_SPELL overwriting?


Recommended Posts

I want to 1) change the IDS entry for the existing Identify spell; and 2) add my new version.  Here is the basic code:

COPY_EXISTING ~spell.ids~ ~override~
	REPLACE_TEXTUALLY ~WIZARD_IDENTIFY~ ~D5_IDENTIFY_OLD~

ADD_SPELL ~%MOD_FOLDER%/data/d5tb110.spl~ 2 1 ~WIZARD_IDENTIFY~

What ends up happening in SPELL.IDS is this:

2110 D5_IDENTIFY_OLD
2110 WIZARD_IDENTIFY

I expect my new spell to have a distinct RES.  What am I missing?

Link to comment

Maybe something special about vanilla IDS names?  This workaround seems to work:

COPY_EXISTING ~spell.ids~ ~override~
	REPLACE_TEXTUALLY ~WIZARD_IDENTIFY~ ~D5_WIZARD_IDENTIFY_OLD~

ADD_SPELL ~%MOD_FOLDER%/data/d5tb110.spl~ 2 1 ~D5_NEW_IDENTIFY~

COPY_EXISTING ~spell.ids~ ~override~
	REPLACE_TEXTUALLY ~D5_NEW_IDENTIFY~ ~WIZARD_IDENTIFY~

 

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...