From The Mana World

Step 3.1: Changing the Desert Shirt's Defense 1. Open /db/item_db.txt

2. Find the "Desert Shirt" on the list. It looks like this: 546,DesertShirt,Desert Shirt,5,2000,1000,10,,6,,-18,0,2,512,,0,0,{},{}

3. Compare this to the header. It looks like this: #ID,Name,Label,Type,Price,Sell,Weight,ATK,DEF,Range,Mbonus,Slot,Gender,Loc,wLV,eLV,View,{UseScript},{EquipScript}

4. What is important for this particular change is the defense or "DEF". It is my desire to make the Desert Shirt a little more viable as an in-between armor. Change the "6" to "8" because that is the "DEF" of the Desert Shirt.

Step 3.2: Removing the Desert Shirt From Sale

  • It would seem I need a better understanding of the client in order to further these aspects and/or an updates server that recognizes this kind of information. I'll attempt to limit my tutorial to mainly server side alterations until I get a better understanding of how this is done.
  • What you are trying to do, is it to remove the Desert Shirt from the NPC shops? Have a look in the npc/ directory if that is the case. (On linux you can do something similar to grep -l "shop" npc/*/*.txt | xargs grep -n --color=auto "546" to find where it is being sold.) ✎ Kess☽ 18:48, 25 July 2009 (UTC)
The command above gives the following result (it is just to remove ,546:10000 here):
npc/020-2_Nivalis/shops.txt:4:020-2.gat,27,26,0 shop Taylor 137,523:2000,524:1600,543:800,544:5000,546:10000,586:1000,741:-1
I added the ability to use item names in shops, so you'll need to search for that too. — Jaxad0127 01:47, 27 July 2009 (UTC)
  • Thank you for your comments! I'll update the tutorial to reflect these changes. My initial comments were more directed to changing the defense, which requires changes to updates.themanaworld.org to make happen fully. I'll stick with the 6% defense that the item gives for the purposes of this step in the tutorial and should I create a step that needs to alter how the client sees things instead of just server side, I'll create that step in the future. Wombat 01:07, 26 July 2009 (UTC)