all about xml multisell l2

  • Автор темы Автор темы kamil2
  • Дата начала Дата начала

kamil2

Последний из атеистов
Участник
Сообщения
25
Розыгрыши
0
Репутация
0
Реакции
2
Баллы
825
Hello my dear, can you clear my doubts about xml and multisell?

like I have this recipe item, I need the player to exchange any weapon for this recipe, so how do I put it so that the multisell recognizes the desired weapons as an exchange currency without me putting 10 recipes for 10 weapons, with 1 recipe recognizing 10 weapons?

1737667895237.webp
 
Запрещено публиковать исходный код без BB-кода — CODE
Hello dear kamil2,
Using a multisell sheet to exchange items if available:
The path to such a multisell list: action="bypass -h npc_%objectId%_exc_multisell number"
Where number is the file number

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

<!-- weapon1 - recipe1 -->
<item>
<ingredient id="IDRECIPE1" count="1"/>
<production id="IDWEAP1" count="1"/>
</item>
<!-- weapon2 - recipe1 -->
<item>
<ingredient id="IDRECIPE1" count="1"/>
<production id="IDWEAP2" count="1"/>
</item>

</list>

Try it 👌
 

Похожие темы

Назад
Сверху Снизу