Bug - Not A Bug Laser-broiled pear has negative autosell price

Theraze

Active member
The daily special for today is the laser-broiled pear. In tradeitems.txt it has a value of -155 meat. This should probably be 155 meat instead, so that considerations of price actually end up working properly...

Edit: Just checked and there are 12 total items that have negative autosell prices, of which the most common would be disassembled clovers.
 
Last edited:

lostcalpolydude

Developer
Staff member
Isn't that intentional, so mafia knows how much they will cost from an NPC even though they don't have an actual autosell price?
 

Theraze

Active member
Okay, just need to know that anything involving autosell prices of various unknown items should be put through an abs() filter. Is that something that would be useful to have included in base ASH math functions, or should people keep using the zlib or their own versions?
 
Top