Changing Items: A Beginner’s Mod Tutorial
This is for people who want to make a quick change in the items.dat file, where you will find all your weapons, potions, books, scrolls, etc.
You start by finding the ITEMS folder in the game folder. Inside is a list of all the items, called the items.dat.
Right click on this file, choose "open with" and pick a notepad or text document.
Find the item you want to change.
COPY IT on to a separate file. That's what you'll work on.
There is a short tutorial on modding with Windows Explorer here.
Let's start with an axe.
For tutorial purposes, I have colored the following lines.
If it's in red, you can safely change it. Blue means only experienced modders should change these lines*. Green means the game requires these exactly as they are. The actual items file will be in black and white.
*This does not mean someone who has done a few “change items” successfully.
*This does mean someone who knows what the line means and what the results of changing it will be. More in-depth tutorials are available right here in the archive.
You will see the basic weapons code looking like this:
<NAME>:Axe of the Apostles
<DAMAGE>:6:13 #MIN : MAX base damage.
<SPEED>:NORMAL, SLOW, FAST, FASTEST (THOSE ARE YOUR OPTIONS)
<MERCHANT_MINIMUM>:3 #Min character level item is offered in shops.
<MERCHANT_MAXIMUM>:20 #Max character level item is offered in shops.
Now for a BOOK:
<NAME>:Book of Town Portals
<DESCRIPTION>:Open Town Portal
And last, a POTION or CHARM:
<NAME>:Minor Mana Potion
<VALUE>:10 #Determines buy and sell prices.
<TYPE>:MANARECHARGE #Valid entries are HPRECHARGE and MANARECHARGE.
<VALUE>:20 #Determines how much HP/MANA is restored.
#SFX:TYPE:DURATION:LOOPING:PATH TO EFFECT
That covers the three most changed items.
After you have made your changes, copy the code back into the original items.dat file.
Look carefully at the changes and make sure there are no blank lines or extra spaces. These will cause the game to crash on loading.
Save the file as items.dat and close out.
You should be able to start up your game and the item will begin to appear with your changes on it.
Items you already have will not be changed.
Any questions? Click here.