Bug - Fixed Failure to make (flat) dough?

xKiv

Active member
This is what happens when I try to eat bean burrito:
Code:
☯ flat dough mall=70 make=2147483647
Searching for "wad of dough"...
Search complete.
Searching for "flat dough"...
Search complete.
☯ flat dough mall=70 make=2147483647
☯ wad of dough mall=50 make=70
(repeat last 2 lines many times)
☯ hill of beans mall=100 make=2147483647
Searching for "bean burrito"...
Search complete.
☯ flat dough mall=70 make=2147483647
☯ wad of dough mall=50 make=70
☯ flat dough mall=70 make=50
☯ wad of dough mall=50 make=50
☯ flat dough mall=70 make=50
☯ wad of dough mall=50 make=50
☯ flat dough mall=70 make=50
☯ wad of dough mall=50 make=50
☯ flat dough mall=70 make=50
☯ wad of dough mall=50 make=50
☯ flat dough mall=70 make=50
Searching for "hill of beans"...
Search complete.
☯ hill of beans mall=100 make=2147483647
☯ bean burrito mall=165 make=150
Verifying ingredients for bean burrito (1)...
Using cached search results for hill of beans...
Purchasing hill of beans (1 @ 100)...
Purchases complete.
Removing items from closet...
You acquire an item: rolling pin
Using rolling pin...
Using 1 rolling pin...
Finished using 1 rolling pin.
Creation failed, no results detected.

I have no dough in inventory (flat or wad). I have some wad of dough in closet.
It sort of looks like mafia thinks either a) it can make dough out of nothing by just using the rolling pin or b) it can make flat dough out of closeted wads without uncloseting them first.

If I uncloset the dough and use rolling pin by hand (in mafia CLI), flat dough is correctly created.
If I uncloset the wad of dough and let mafia roll it (by doing acquire bean burrito), it works.
If I try to acquire another bean burrito without uncloseting another wad of dough, I get another "creation failed".
 

Veracity

Developer
Staff member
It would have been nice if you'd actually given commands.

> inv dough

wad of dough

> closet put * wad of dough

Placing items into closet...
Requests complete.

> inv dough

> create 1 bean burrito

Verifying ingredients for bean burrito (1)...
Searching for "hill of beans"...
Search complete.
Purchasing hill of beans (1 @ 100)...
Purchases complete.
Searching for "flat dough"...
Search complete.
Searching for "wad of dough"...
Search complete.
Using rolling pin...
Using 1 rolling pin...
Finished using 1 rolling pin.
Creation failed, no results detected.
 

Veracity

Developer
Staff member
Here is the essence of this bug.

> get autoSatisfyWithCloset

true

> closet put * wad of dough

Placing items into closet...
Requests complete.

> acquire 1 flat dough

Searching for "wad of dough"...
Search complete.
Searching for "flat dough"...
Search complete.
Using rolling pin...
Using 1 rolling pin...
Finished using 1 rolling pin.
Creation failed, no results detected.
I am examining CreateItemRequest.makeDough().
 
Top