Hey, we have forums!

Author Topic: Cooking/Recipes  (Read 5913 times)

0 Members and 1 Guest are viewing this topic.

Offline Kyoma

  • Mini Bit
  • **
  • Posts: 5
    • View Profile
Cooking/Recipes
« on: March 04, 2010, 05:58:20 pm »
Hi, a question about the (fancy) recipes: is it possible to unlearn or remove them through scripting? If not, is such a thing possible to add (or rather, is it worth it to add)?

I'm tinkering with the ingredients.txt file and I got it to work with new/custom recipes. At first I simply added them at the bottom and everything worked nicely, but then I noticed this also ment each new recipe was put at the very beginning of the list. And if I inserted them somewhere between the default recipes it would cause the ingame list (for each save) to 'shift' with regards to which recipes were known and which weren't. I figure each recipe is stored as an integer in the save linking it to a position in the ingredients.txt file (starting at the ==Recipes== header) so if I had a way to remove a recipe I could correct any invalid changes on the recipes list (by recording the current list, then install/copy new file, then read and re-apply list again).  :-\

Maybe this all sounds a bit nitpicky but I happen to like the way all the recipes are sorted....  ;)

-kyoma