View Single Post
Old 08.07.2005, 16:56   #1
bobby
Архивный участник
 
Join Date: Jul 2005
Posts: 44
Default [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
bobby is offline