Feature - Implemented Don't search the mall for really cheap NPC stuff

Darzil

Developer
Just noticed running breakfast that Mafia searches the Mall to see if the best deals for chewing gum are found there.

Got me wondering, is it worth not searching the Mall for anything that costs 100 meat or below from an NPC store, if buying from NPC stores is allowed, and you have access to that store ? (or just below if we want to redistribute meat rather than sink it)

I guess maybe it'd be a little tricky to code, it's not an area I've ever looked at.
 

Veracity

Developer
Staff member
I see no reason to "redistribute rather than sink" if it means an extra server hit to do a mall search.
This is a good idea.
 

Ezandora

Member
Possibly could make the exact test be if MAX(100, autosell_price * 2) >= npc_price, the NPC price is nonzero, and you can access that store?

In other words, compare the accessible NPC price versus the minimum possible mall price. If it's equal to or lower, then it should be (?) impossible for a mall search to find a cheaper source.

Mostly this would be for the knob goblin potions.
 
Top