Theraze
Active member
Noticed some weirdness tied into worthless items. Two things. First, in this quote, if you try to retrieve a specific worthless item type, mafia won't retrieve it automatically or fall over to other worthless types.
The second bug is definitely more worrying when trying to plan things out. The first one could be considered a feature, and if you'd like that to be made as a separate FReq, I can do that. The second, having mafia claim you don't have any worthless items though retrieve_item works on it, definitely seems like a bug rather than a 'feature'. Apologies if I'm completely miscategorized this thread though.
Second is that available amount on worthless items completely ignores them...> ash retrieve_item(1, $item[worthless trinket])
Returned:
true
> ash retrieve_item(2, $item[worthless
trinket])
You need 1 more worthless
trinket to continue.
Returned: false
>
ash retrieve_item(2, $item[worthless item])
Purchasing chewing gum on
a string (1 @ 50)...
You acquire an item: chewing gum on a string
You
spent 50 Meat
Purchases complete.
Placing items into closet...
Using
1 chewing gum on a string...
You acquire an item: ravioli hat
Finished
using 1 chewing gum on a string.
Purchasing chewing gum on a string (1
@ 50)...
You acquire an item: chewing gum on a string
You spent 50
Meat
Purchases complete.
Using 1 chewing gum on a string...
You
acquire an item: worthless trinket
Finished using 1 chewing gum on a
string.
Removing items from closet...
You acquire an item: worthless
trinket
Returned: true
> ash retrieve_item(3, $item[worthless item])
Returned:
true
> ash available_amount($item[worthless
item])
Returned: 0
> ash
item_amount($item[worthless item])
Returned: 0
>
inv worthless
worthless gewgaw
worthless trinket (2)
The second bug is definitely more worrying when trying to plan things out. The first one could be considered a feature, and if you'd like that to be made as a separate FReq, I can do that. The second, having mafia claim you don't have any worthless items though retrieve_item works on it, definitely seems like a bug rather than a 'feature'. Apologies if I'm completely miscategorized this thread though.
