Jump to content
  • 0

[Help] l2j Gracia Final shop


Question

Posted

I've made a custom shop and i want players to buy the goods without adena, but with another item. Like exchanger, how can i make that. Maybe from sql merchant_buylist table where i put the the items, price, shop ids etc. something with the 'price' row. Maybe multisell or smth . . .  Edit: I saw this in another topic i the same forum:

 

<?xml version='1.0' encoding='utf-8'?>

 

<!-- Gold Bar System -->

 

<list>

 

<!-- Gold Bar For Apella Helm -->

<item id="1">

<ingredient id='2807' count='5'/>

<production id='7860' count='1'/>

</item>

 

</list>

 

Is this what i am searching?

2 answers to this question

Recommended Posts

  • 0
Posted

Exactly

<ingredient id='2807' count='5'/> 5 Gold bars necessary

<production id='7860' count='1'/> 1 Apella helm

 

== Edited ==

 

Another good example  ;):

 

<!-- Apella Full Set (Heavy) -->

  <item id="1">

    <ingredient id="4048" count="1"/>  <!-- Maestro Mold --> 1 Maestro Mold necessary

    <ingredient id="2807" count="5"/>  <!-- Gold Bar --> 5 gold bars necessary

 

    <production id="7860" count="1"/>  <!-- Apella Helm --> 1 Apella Helm

    <production id="7861" count="1"/>  <!-- Apella Plate Armor --> 1 Apella Plate Armor

    <production id="7862" count="1"/>  <!-- Apella Gauntlet - Heavy Armor --> 1 Apella Gauntlet

    <production id="7863" count="1"/>  <!-- Apella Solleret - Heavy Armor --> 1 Apella Solleret

  </item>

 

Use the imagination now and good luck :P !

  • 0
Posted

means the ingredient id is the item id the player must give and the production id the item he gets. i'll try thx.

 

Edit: deleted :P

Guest
This topic is now closed to further replies.


×
×
  • Create New...