Jump to content

Cooking ingredient table may contain items that don't exist


Faintly Macabre
  • Pending

In cooking.lua, the function that adds items to a list of possible crock pot ingredients and their values accepts additional boolean arguments for cooked and dried variations to make adding them automatic. However, several ingredients without cooked variations are passing true for being cookable to the function. For example:

AddIngredientValues({"honey", "honeycomb"}, {sweetener=1}, true)

Where "true" is passed for the boolean argument "cancook". Currently, honey, honeycomb, royal_jelly, and pondeel (the live version of an eel) pass true, despite not having cooked versions (there's no "pondeel_cooked")

Additionally, the naked nostrils are passed together with morsels with "candry" as true, despite there being no "batnose_dried". It should probably be moved into the call above:

AddIngredientValues({"froglegs", "drumstick", "batwing"}, {meat=.5}, true)
AddIngredientValues({"smallmeat", "batnose"}, {meat=.5}, true, true)

And lastly, an entry for the prefab "egg" is included, but no "egg" prefab exists. Presumably was meant for "bird_egg", but that's added in properly a couple of lines below.

I don't know of any circumstance where this should cause a problem now, but it's probably best fixed to prevent any future issues.


Steps to Reproduce

N/a




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...