bojo2736 1016 Posted December 29, 2019 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
Igor Q. 519 Posted December 29, 2019 You would need a script to do that. Message me on discord and I'll help you out Share this post Link to post Share on other sites
jchob 354 Posted January 4, 2020 NPC used to accept gold pebbles as the "normal" payment method. Share this post Link to post Share on other sites
bojo2736 1016 Posted January 6, 2020 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
Saint Judas 0 Posted August 13, 2020 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