![]() |
[Sharing] NPC which trades item for adena and item.
To have an NPC request an Item and money in exchange for an item.
This is the easiest way I have found to do it. There are other ways of doing it. create the NPC you want to perform this action, you can the blacksmith merchant template, as he already referes to the mutlisell template. edited it so his multisell list matches the one you want to display. you add the following example below, and input whatever you would want. You will also need to edit the html files to match what your doing. In this example the multi list request's an item and adena in order to receive an upgraded item. add this to the multisell.txt MultiSell_begin [blackmerchant_queste] 7 selllist={{{[stormbringer_crt.anger];1};{{[stormbringer];1};{[adena];10000000}}}; {{[stormbringer_focus];1};{{[stormbringer];1};{[adena];10000000}}}; {{[stormbringer_light];1};{{[stormbringer];1};{[adena];10000000}}}; MultiSell_end |
little tutorials for the newbs :P
good job tho, and those who makes huge list of those, always remember that you CANt output more than 1 item and always double check if you got no [[ or ]] |
thank you
|
Quote:
Quote:
|
hr good catch.
|
thx man for the info. I was just wondering if someone brought in an enchanted weapon like +10 Great Sword is there a way to check the enchants and give back a weapon with the same number of enchants.
|
This works if i want an NPC to sell some quest items?
|
Quote:
|
tks!
|
| All times are GMT. The time now is 15:40. |