Jump to content
Sign in to follow this  
Billy

Exchanger NPC

Recommended Posts

NPC that allows trading X amount of an amount of items for Y amount of another set of items.

Uses tables to generate exchange rates.

Allows multiple items to exchange for multiple other items.

Allows trades to be refreshed (new trades generated) after X trades are completed.

Specify min/max amount of a set of items to be exchanged to min/max amount of other items.

Trades generated at NPC example:

exchange img.png

Market.lua

Edited by 7n6
  • Like 4

Share this post


Link to post
Share on other sites

@Billy Just tested and works great. :)

 

@Lucky I also tried changing an item into untradable, and then exchanging it. It still deducts the item as normal.

 

 


logo-big.png   logo.png

                                   Sunny Go! Online                                                                    pko.host                                                 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...