Bug - Fixed Food Manager eats hotdogs before checking for Milk

Greenen72

Member
I eat a Devil Dog without clicking the Milk button first, it eats the Devil Dog, then asks me if I want to eat without milk.
 

Darzil

Developer
Looks like hot dogs don't check for milk, speakeasy drinks don't check for ode, and don't check if you're ok with overdrinking.
 

Darzil

Developer
You get the warnings with "eat ghost dog" from command line, but not from clicking Consume in Item Manager.

The reason turns out to be that ConcoctionDatabase.consumeItem doesn't do any checks for any restaurants, whereas RestaurantCommand and EatItemRequest does.

I'm tempted to move the checking, which already utilizes code from EatItemRequest, from RestaurantCommand to ClanLoungeRequest.buyHotDogRequest and .buySpeakeasyDrinkRequest, and add it to HellKitchenRequest, ChezSnootieRequest, MicroBreweryRequest and CrimboCafeRequest.

Edit - Or maybe just add the code to ConcoctionDatabase to cover checks for all restaurants from Item Manager.
 
Last edited:
Top