How to do and work with a fitting room

Deazer

Head Developer
Staff member
Path: data/merchant_buylists.xml

For example, consider a standard fitting room at the NPC id 30060
Bypass:
[npc_%objectId%_Wear 9|Wear Fighters' Equipment]
[npc_%objectId%_Wear 10|Wear Mystics' Equipment]

and we see the bypass with the id of the trade list 9 и 10

Go to data/merchant_buylists.xml

Where 9 it is shop="9"
He : [npc_%objectId%_Wear 9|Wear Fighters' Equipment]

<tradelist npc="30060" shop="9" markup="20" >
<item id="2" name="Long Sword" />
<item id="218" name="Throwing Knife" />
<item id="272" name="Forest Bow" />
........

Where 10 it is shop shop="10"
[npc_%objectId%_Wear 10|Wear Mystics' Equipment]

<tradelist npc="30060" shop="10" markup="20" >
<item id="176" name="Journeyman's Staff" />
<item id="310" name="Relic of The Saints" />
<item id="177" name="Mage Staff" />
..........

Thus, you can write your trade list to your NPC and prescribe items for fitting to them.
 
Back
Top