|
how to save a few lines of code Posted: 10 Mar 2004 08:01 AM |
I'm going to be fairly specific about food crafting here, but I dont really think it's going to confer an unfair advantage IG to anyone. Since a bakers oven came with Avari's house I thought it might be mildly fun to have her bake some bread. The first thing I realized was that her oven doesnt work (no menu when items are put in). Undaunted I decided to use the bakery in Brandibuck. Come to find out that baking bread is a rather intensive process. There are 4 ingredients needed to make wheat bread. 1 can be bought in the bakery and the other is made available there. Of the other 2 one item takes 3 ingredients to make with Avari's success chance being 45%---upon success no food crafting points are gained. The other item is more complicated. It takes 4 created items to make---each one consisting of 2 items. So 8 eight items total assuming no failures. To create one of the 4 Avari's chance is 45%. Upon a success she receives 5 food crafting points. Then to put the 4 items together she has a 45% chance of success, and if successful receives 5 food crafting points. Then, finally having gotten together the 4 items for wheat bread her success chance is 45%---upon a successful result she gets 3 adventuring xp, 22 food crafting xp, and no bread in sight . At this rate I dont believe very many folks are going to be using the food crafting ingredients and placeables. |
|
|
  |
|
|
Re: how to save a few lines of code Posted: 10 Mar 2004 08:19 AM |
If the oven does not work then that means that whoever built your house did not use the Vives-customized oven placeable. Instead they used the standard CNR oven placeable.
The bread is quite a labor-intensive item, I agree. The steps prior to the actual baking were not examined for possible revision before I ceased to be on the project.
And, thank you for reporting the failure of the bread to appear. It is a mismatch between the item name and the name referred to in the dcript. That can be fixed.
To whoever handles the scripts now:
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuBakeBreads, "Wheat Bread", "rations_2_WheaBr", 1);
should be
sKeyToRecipe = CnrRecipeCreateRecipe(sMenuBakeBreads, "Wheat Bread", "rations_2_WheBr", 1); |
Dieties preserve us from the evil chaotics named Lag, Crash, and Server Reset. PCs: Loli Dankirk (Ftr 18/Brd 8.5 @ 1777 hrs) left Vives for Origins; Gnora Gnombody (Sor 5 @ 54 hrs) and Amanda Stark (Wiz 3 @ ~10 hrs) left Vives for Feline Providence. |
|
  |
|