Hello all,
I am interested in knowing how to add a small script to convert S grade crystals to any of the lower level crystals (eg. A, B, C and D grade) and vice versa.
I have seen it on other servers and now that a friend has started his own up using your latest data, I would like to implement this feature.
Does anyone have it and is willing to share it?
Any help would be greatly appreciated!
Converting Crystals
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
-
- Posts: 286
- Joined: Fri Sep 22, 2006 1:03 am
- Location: Red Rock, Mars
Copy and past this text into a file named 200.xml in your \gameserver\data\multisell folder.
Copy and paste this link into your NPC's htm file.
Code: Select all
<?xml version='1.0' encoding='utf-8'?>
<!-- Convert crystals -->
<list>
<!-- [S TO A] for [Crystals] -->
<item id="1">
<ingredient id="1462" count="1" enchant="0"/>
<production id="1461" count="2" enchant="0"/>
</item>
<!-- [A TO B] for [Crystals] -->
<item id="2">
<ingredient id="1461" count="1" enchant="0"/>
<production id="1460" count="2" enchant="0"/>
</item>
<!-- [B to C] for [Crystals] -->
<item id="3">
<ingredient id="1460" count="1" enchant="0"/>
<production id="1459" count="3" enchant="0"/>
</item>
<!-- [C to D] for [Crystals] -->
<item id="4">
<ingredient id="1459" count="1" enchant="0"/>
<production id="1458" count="4" enchant="0"/>
</item>
<!-- [D to C] for [Crystals] -->
<item id="5">
<ingredient id="1458" count="4" enchant="0"/>
<production id="1459" count="1" enchant="0"/>
</item>
<!-- [C to B] for [Crystals] -->
<item id="6">
<ingredient id="1459" count="3" enchant="0"/>
<production id="1460" count="1" enchant="0"/>
</item>
<!-- [B to A] for [Crystals] -->
<item id="7">
<ingredient id="1460" count="2" enchant="0"/>
<production id="1461" count="1" enchant="0"/>
</item>
<!-- [A to S] for [Crystals] -->
<item id="8">
<ingredient id="1461" count="2" enchant="0"/>
<production id="1462" count="1" enchant="0"/>
</item>
</list>
Code: Select all
<a action="bypass -h npc_%objectId%_multisell 200">Convert Crystals</a><br>