Feature Account for Food Drop etc. in Location Details

heeheehee

Developer
Staff member
Currently, the Location Details panel in the Adventure frame does not take into account Food Drop and associated modifiers.

The main obstacle with adding support for this to Mafia is that KoL changed some years ago such that Food Drop also applies to cooking ingredients (similarly, booze drop applies to cocktailcrafting ingredients).

Mafia does not currently directly associate this data with items; the most straightforward way to figure out whether an item is a cooking ingredient or not is to iterate through the concoctions datafile. I attempted to generate the modified datafile via checkitems, but I probably made some mistakes in merging (and/or the itemdescs are faulty, not sure).

The attached patch adds support for all the various drop modifiers and exposes cooking / mixing ingredient status to ASH (via the item proxy record).

One of the patches has the modified items.txt; the other omits it. That should be the only difference.
 

Attachments

  • special_drops.patch
    5.9 KB · Views: 30
  • special_drops_with_datafile.patch
    80.6 KB · Views: 30
Top