Adding more cooking recipies?

Need help with your JScripts? Got questions concerning the DFNs? Come forward, step inside :)
Post Reply
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

Adding more cooking recipies?

Post by stranf »

So I've been looking at the .js scripts in the cooking folder to figure out how to do the recipies.

It seems that the .js names are for the final product. For example the bread.js is for double clicking on dough and targeting an oven.

If we threw in 8 more if statements in bread.js we could add most of the steps necessary for 8 more recipies.

Here is a list:

Taget Product
oven bread
honey sweet dough
peach uncooked cobbler
apple uncooked apple pie
pear uncooked fruit pie
bird/ham or fish uncooked meat pie
pumpkin uncooked pumpkin pie
eggs uncooked Quiche
cheese or sausage uncooked pizza

We would have to rename bread.js to "dough2" or "doughmix" to avoid confusion, then create basic scripts (the easy part) for cooking the pies/pizza/etc.

I'll try and work on this if I have time, but if Xuri or someone more familiar with the cooking code wants to give it a try, that'd be appreciated.

I haven't had time to check the .dfns, but if any of these food items aren't listed yet, I'd be more than willing to export them from InsideUO.
Post Reply