How to tune recipes and the necessary ingredients.

Deazer

Разработчик
Команда форума
#1
Path to config:
gameserver\data\recipe.xml

The example of the recipe - a format is clear from without the detailed description:
<recipe id="1" name="Recipe: Wooden Arrow" level="1" mp_consume="30" success_rate="100" item_id="1666" is_common="false">
<!--Description: For Dwarves only. The recipe for a Wooden Arrow. Requires Create Item Level 1. The success rate is 100%-->
<materials>
<item id="1864" name="Stem" count="4"/>
<item id="1869" name="Iron Ore" count="2"/>
</materials>
<products>
<item id="17" name="Wooden Arrow" count="500"/>
</products>
<npc_fee>
<item id="1666" name="Recipe: Wooden Arrow" count="1"/>
<item id="57" name="Adena" count="200"/>
</npc_fee>
</recipe>

1. You can delete the only thing in general, or not specify if you create the unique recipe
<npc_fee>
<item id="1666" name="Recipe: Wooden Arrow" count="1"/>
<item id="57" name="Adena" count="200"/>
</npc_fee>

2. Recipe also share for all or for dwarf - is_common= "false" only dwarf is responsible for it. In general all is_common= "true"
Final example :
<recipe id="1" name="Recipe: Wooden Arrow" level="1" mp_consume="30" success_rate="100" item_id="1666" is_common="false">
<!--Description: For Dwarves only. The recipe for a Wooden Arrow. Requires Create Item Level 1. The success rate is 100%-->
<materials>
<item id="1864" name="Stem" count="4"/>
<item id="1869" name="Iron Ore" count="2"/>
</materials>
<products>
<item id="17" name="Wooden Arrow" count="500"/>
</products>
</recipe>
 
Вверх