Fluxxdog
Active member
Code:
boolean is_PvP_stealable(item target){
switch{
case target==$item[toast]:
case !is_tradeable(target):
case autosell_price(target)==0: return false;
default: return true;}}
Update: There are three items I've found so far that the above function would return false on because they have an autosell_price() of 0 but are actually stealable because they do not actually have a "Cannot be discarded" flag: Valentine, banana peel, useless powder
Update update: Pretty flower too
Update update update: Never mind. Unannounced update.
Last edited: