Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
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  
Old 09.07.2005, 03:46   #2
siliticx
Архивный участник
 
Join Date: Jun 2005
Posts: 73
Default

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 ]]
siliticx is offline  
Old 11.07.2005, 07:01   #3
zonule
Архивный участник
 
Join Date: Jul 2005
Posts: 1
Default

thank you
zonule is offline  
Old 11.07.2005, 11:40   #4
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

Quote:
{[adena];10000000}}};
MultiSell_end
Should be:
Quote:
{[adena];10000000}}}}
MultiSell_end
:wink:
hr is offline  
Old 11.07.2005, 16:14   #5
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

hr good catch.
Sakumi is offline  
Old 25.07.2005, 19:36   #6
Lycean
Архивный участник
 
Join Date: Jul 2005
Posts: 5
Default

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.
Lycean is offline  
Old 25.07.2005, 19:51   #7
niriak
Архивный участник
 
Join Date: Jul 2005
Posts: 13
Default

This works if i want an NPC to sell some quest items?
niriak is offline  
Old 26.07.2005, 09:58   #8
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

Quote:
This works if i want an NPC to sell some quest items?
Yep
hr is offline  
Old 26.07.2005, 14:17   #9
niriak
Архивный участник
 
Join Date: Jul 2005
Posts: 13
Default

tks!
niriak is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:09.