Feature - Implemented Track Chocolate Consumption

Bale

Minion
Mafia tracks food, drink, spleen, mojo filters and all other sorts of limited quantity consumables, but it is missing one: Chocolate.

Effects of chocolate consumption is limited by how many you have had a day. KoL uses two separate counters to track choco consumption. One counter is used only by vitachoconutriment capsule. The other counter is used by all other chocolates.

I propose that there would two preferences: _vitaConsumption and _chocoConsumption

_vitachocoConsumption will count the number of vitachoconutriment capsules consumed that day.

_chocoConsumption will count number of items consumed from $items[chocolate disco ball, chocolate pasta spoon, chocolate saucepan, chocolate seal-clubbing club, chocolate stolen accordion, chocolate turtle totem, fancy chocolate, fancy but probably evil chocolate, fancy chocolate car]

This is not hugely important since I'm using a workaround. However I would appreciate this if you can find the time. Now that KoL has some reasonably cheap trick-or-treat chocolates, this does seem lacking. Less than 4k in chocolate can give an extra 5 adventures a day and I find that worth tracking.
 
Urk. Why did you have to remind me of that after I finally finished revamping EatDrink to use all the chocolates? Now I'll have to add logic for using essential tofu ALSO!
 
Mafia properties for chocolates (and tofu?)

Probably not high priority, but I thought I'd bring it up since KoL added yet another chocolate counter (chocolate cigars).

Basically, these counters would be daily properties ("_propName") -- those get reset on ascension, right? Also, I guess Mafia would figure out the values of each counter based on adventures received from use, just in case someone decided to switch to Mafia after playing in vanilla KoL.

Info is as follows:

The following use the first chocolate counter and yield diminishing returns of 5/3/1:
* fancy chocolate
* fancy but probably evil chocolate
* fancy chocolate car
Also using this counter are the chocolate starter items, which yield 3/2/1 (just 2/1 if you're the wrong class):
* chocolate disco ball
* chocolate pasta spoon
* chocolate saucepan
* chocolate seal-clubbing club
* chocolate stolen accordion
* chocolate turtle totem

The following have their own unique counters and yield 5/3/1 adventures:
* chocolate cigar
* vitachoconutriment capsule

And finally, essential tofu can be used just once per day.
 
A "Chocolate" panel (next to Food Booze and Spleen) would be overkill, but it would be nice to have counters that scripts could use reliably to handle chocolates.

If I have some time this week, I'll try to play with UseItemRequest.java and add these. It doesn't look like it would be too hard to do.
 
It seems that in r10977 lostcalpolydude has added preferences for _chocolateCigarsUsed, _chocolatesUsed, _essentialTofuUsed and _vitachocCapsulesUsed as well as the code to make them work.

I'm marking this implemented.
 
Last edited:
Back
Top