ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/alchemy.c
(Generate patch)

Comparing deliantra/server/server/alchemy.c (file contents):
Revision 1.1 by root, Fri Feb 3 07:14:24 2006 UTC vs.
Revision 1.2 by root, Thu Feb 16 14:58:22 2006 UTC

1/* 1/*
2 * static char *rcsid_alchemy_c = 2 * static char *rcsid_alchemy_c =
3 * "$Id: alchemy.c,v 1.1 2006/02/03 07:14:24 root Exp $"; 3 * "$Id: alchemy.c,v 1.2 2006/02/16 14:58:22 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
300 rp->title?rp->title:"unknown"); 300 rp->title?rp->title:"unknown");
301#endif 301#endif
302 302
303 if((item=make_item_from_recipe(cauldron, rp))!=NULL) { 303 if((item=make_item_from_recipe(cauldron, rp))!=NULL) {
304 remove_contents(cauldron->inv, item); 304 remove_contents(cauldron->inv, item);
305 /* Recalc carrying of the cauldron, in case recipe did not conserve mass */
306 sum_weight(cauldron);
305 /* adj lvl, nrof on caster level */ 307 /* adj lvl, nrof on caster level */
306 adjust_product(item, ability, rp->yield?(rp->yield*batches):batches); 308 adjust_product(item, ability, rp->yield?(rp->yield*batches):batches);
307 if(!item->env && (item=insert_ob_in_ob(item,cauldron)) == NULL) { 309 if(!item->env && (item=insert_ob_in_ob(item,cauldron)) == NULL) {
308 new_draw_info(NDI_UNIQUE, 0,caster,"Nothing happened."); 310 new_draw_info(NDI_UNIQUE, 0,caster,"Nothing happened.");
309 /* new_draw_info_format(NDI_UNIQUE, 0,caster, 311 /* new_draw_info_format(NDI_UNIQUE, 0,caster,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines