Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Feature Requests

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2016, 08:41 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default A vendor that ONLY sells?

As the title says, how hard would it be to make a vendor that won't buy any of your junk, and only sells his own? Alternatively, a vendor that just didn't display anything he didn't have unlimited quantities of would accomplish the same thing for my purpose.

What I'm shooting for is making a portal stone vendor that won't fill up with every random bit of junk that people sell him. Sorting by quantity is one way to get around the clutter, but it'd be much slicker if it just didn't have anything listed except his items.

Thoughts?

Thanks!
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
  #2  
Old 02-12-2016, 09:50 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

I thought there was an rule/variable for merchants to not keep temp/bought items
Reply With Quote
  #3  
Old 02-13-2016, 02:32 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Kayen came through on this one

https://github.com/N0ctrnl/VAServer/...aaf4aa38856abf

What this code does is allow you to key off a value from the NPC. I chose STA and a value of 789. So when a set a vendor to have 789 STA, he will not buy anything at all from players:

__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
Reply


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 -4. The time now is 10:43 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3