PDA

View Full Version : [Sharing] NPC which trades item for adena and item.


bobby
08.07.2005, 16:56
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

siliticx
09.07.2005, 03:46
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 ]]

zonule
11.07.2005, 07:01
thank you

hr
11.07.2005, 11:40
{[adena];10000000}}};
MultiSell_end

Should be:
{[adena];10000000}}}}
MultiSell_end
:wink:

Sakumi
11.07.2005, 16:14
hr good catch.

Lycean
25.07.2005, 19:36
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.

niriak
25.07.2005, 19:51
This works if i want an NPC to sell some quest items?

hr
26.07.2005, 09:58
This works if i want an NPC to sell some quest items? Yep

niriak
26.07.2005, 14:17
tks!