Bug - Fixed Bento box

magered

New member
Bento boxes from the item manager are not performing as expected. Should you have the items in inventory to create multiple boxes (of the same type), item manager (usable -food) only indicates that one is available for creation. Once a bento box has been consumed (via item manager) the item manager no longer lists bento boxes as an option even if you have the ingredients to create more. After consuming the one bento box from the item manager interface the main interface fullness counter indicates 10 fullness instead of the 5 actually gained.

I see this behavior in 12739 and 12745 (have not tried others). The relay browser does give the correct option and allows consumption of a second bento box from the sushi rolling mat at the campground kitchen.

V/R,
MageRed
 

Veracity

Developer
Staff member
I have the following in inventory:

Mer-kin lunchbox (3)
tempura carrot (3)
beefy fish meat (4)
glistening fish meat (4)
slick fish meat (5)
white rice (25)
seaweed (3)
inky squid sauce (6)

I have a sushi-rolling mat installed in my kitchen.

The Item Manager says the following on the Usable/Food panel:

tempura carrot bento box with inky squid sauce (3 possible, 0 current)

The fullness counter on the GUI says I have 0/15 fullness.

I select the tempura carrot bento box with inky squid sauce and click on enqueue.
A dialog asks me how many I want to enqueue. "3" - the maiximum- is pre-filled.
I select 3. It queues three and says 15 fullness queued.
I click the undo button. It empties the queue and says 0 fullness queued.
I select and click again.
I select 1. It queues 1 and says 5 fullness queued.
I click the "consume" button.

The gCLI says:

Verifying ingredients for tempura carrot bento box with inky squid sauce (1)...
Creating/consuming tempura carrot bento box with inky squid sauce (1 of 1)...
You gain 29 Adventures
You acquire an effect: Fishy (duration: 80 Adventures)
You gain 15 Fortitude
You gain 148 Magicalness
You gain 16 Sarcasm
Requests complete.

The session log says:

Pack and eat tempura carrot bento box with inky squid sauce from 1 Mer-kin lunchbox, 1 beefy fish meat, 1 glistening fish meat, 1 slick fish meat, 1 white rice, 1 seaweed, 1 inky squid sauce, 1 tempura carrot
You gain 29 Adventures
You acquire an effect: Fishy (duration: 80 Adventures)
You gain 15 Fortitude
You gain 148 Magicalness
You gain 16 Sarcasm

--> My fullness counter says 10
(obviously, when I click the Refresh Status button, that corrects to 5)

Mer-kin lunchbox (2)
tempura carrot (2)
beefy fish meat (3)
glistening fish meat (3)
slick fish meat (4)
white rice (24)
seaweed (2)
inky squid sauce (5)

The Item Manager still says:

tempura carrot bento box with inky squid sauce (3 possible, 0 current)

Interestingly, it also says:

tempura carrot (3 possible, 2 current)

In summary, of everything you report, the only thing that I am able to reproduce is the erroneous fullness. Fortunately, I understand how that happened:

Make a request of sushi.php
The response came back with a request to update status
-> we called api.php and updated fullness
Then we parsed the response, saw it was successful, and added 5 to fullness.

That's an interesting little puzzle. I'll have to think about it.
 

Veracity

Developer
Staff member
Revision 12747 only updates fullness after eating sushi via an external request - visit_url() or the Relay Browser - since internal requests will update it via api.php. It also refreshes the Concoction List after processing the queue.

Those fix both of the issues that I was able to observe. I did not see any of the "it only says I can make one even though I have the ingredients for two" stuff you reported.
 

magered

New member
Very many thanks, Veracity. Whatever you did seems to have fixed all of the problems indicated. Now showing that I can make more than one and indicating I can make them after I have eaten one. Thanks again for your awesomeness!

YHS,
MageRed
 
Top