Chemistry Mod/Alcohol Container Spawning process

I was going to tackle this idea at some point, in my mod: "Air-Drops", "Chemical Breakdown and Re-creation", "3D Printing", and more, but got bogged down and the air-drop aspect sort of took centre stage, lol.

I graduated with a BSc in Chemistry last year, and would love to collaborate/chip in anyway I can with this project. I’ve recently found the “Lists” used in some recipes (catadda/data/json/requirements:).

If you look up the recipe in dda for hobo drink for example:
{
“type” : “recipe”,
“result”: “drink_hobo”,
“category”: “CC_FOOD”,
“subcategory”: “CSC_FOOD_DRINKS”,
“skill_used”: “cooking”,
“difficulty”: 1,
“time”: 4000,
“autolearn”: true,
“flags”: [“BLIND_HARD”],
“components”: [
[
[ “oj”, 1 ],
[ “lemonade”, 1 ],
[ “apple_cider”, 1 ],
[ “cranberry_juice”, 1 ],
[ “juice”, 1 ]
],
[ [ “weak_liquor”, 1, “LIST” ] ],
[ [ “hard_liquor_chem”, 1, “LIST” ] ]
]
},
…you’ll see that you can just add the list title name to the recipe as a component.

and if you look in the requirements folder (/cooking_components.json) you’ll see how to make the lists.

Obviously this wont work for a lot of reactions as of the reagents used determines the final product, but having a generic list of acids and one of bases for example can help if the reaction needs acidic or basic conditions, so then you don’t have to copy and paste all the known acids and bases down each time for each recipe, you can just paste something like:

“components”: [
[
[ [ “weak_alkali”, 2, “LIST” ] ],
[ [ “strong_alkili”, 1, “LIST” ] ]
]

or something.

Hope this saves you time :smiley:, and good luck!