Jump to content
Sign in to follow this  
bojo2736

NPC traders

Recommended Posts

I want to put some NPC traders in my game.  So many questions.

How do  I limit what my NPCs will buy?  For example, I'd like them to only buy crafted items.  The goal is to not just "give" items to players.  I want there to be some effort.

How do I make it so the NPC doesn't get full of purchased items in their inventory?

How do I make it so the NPC doesn't run out of gold pebbles to buy things?

How do I make an NPC only accept gold pebbles as payment for purchased items?  How do I set the price?

Share this post


Link to post
Share on other sites

NPC used to accept gold pebbles as the "normal" payment method. 

Share this post


Link to post
Share on other sites

Right. But without scripting they fill up with the items they bought and they buy anything.

Share this post


Link to post
Share on other sites

can someone please guide me on this?, I was loking on the web any tutorial or instruction to create scripts for my npc, i was trying to start with something simple, i need to trade with the npc, but the npc must restore the inventory for the next day, i spend around 5 days with no result, the npc only walk around and after he sell me the items he keep the pebbles but the items is not resotre. I really appreciate if someone can help me with that. Thanks. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×