Bale
Minion
Today I noticed that a rock was stolen from me in PvP. Rocks go for 5,497 Meat in the mall so I wondered why it wasn't automatically closeted like my other items of such price. So I checked is_tradeable($item[rock]) and found that mafia didn't think it could be traded! That was my tip-off that something was wrong.
I almost made an incorrect bug report about rocks being accidentally marked untradeable, ungiftable and undisplayable. Then I discovered that is_tradeable($item[rock] was actually returning information for number 8042, the spelunky item called "rock" not item number 2108, the "rock" which can be traded. Okay not much I can do about that... But WAIT! Why didn't mafia recognize the item in my inventory correctly?
Since it is clearly impossible for the spelunky item to be in my regular inventory, mafia made a mistake about my inventory. That should not happen.
I almost made an incorrect bug report about rocks being accidentally marked untradeable, ungiftable and undisplayable. Then I discovered that is_tradeable($item[rock] was actually returning information for number 8042, the spelunky item called "rock" not item number 2108, the "rock" which can be traded. Okay not much I can do about that... But WAIT! Why didn't mafia recognize the item in my inventory correctly?
Code:
[COLOR="#808000"]> ashq foreach it in Get_inventory() if(to_string(it) == "rock") print("Item " +to_int(it)+ ": " +it);[/COLOR]
Item 8042: rock
Since it is clearly impossible for the spelunky item to be in my regular inventory, mafia made a mistake about my inventory. That should not happen.