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 elmex, Sun Aug 13 17:16:03 2006 UTC vs.
Revision 1.2 by elmex, Tue Aug 15 16:19:55 2006 UTC

1/* 1/*
2 * static char *rcsid_alchemy_c = 2 * static char *rcsid_alchemy_c =
3 * "$Id: alchemy.C,v 1.1 2006/08/13 17:16:03 elmex Exp $"; 3 * "$Id: alchemy.C,v 1.2 2006/08/15 16:19:55 elmex 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
110 object *item, *skop; 110 object *item, *skop;
111 111
112 if (caster->type!=PLAYER) 112 if (caster->type!=PLAYER)
113 return; /* only players for now */ 113 return; /* only players for now */
114 114
115 if (get_map_flags(caster->map, NULL, caster->x, caster->y, NULL, NULL) & P_SAFE_MAP)
116 {
117 new_draw_info (NDI_UNIQUE, 0, caster,
118 "This is sacred ground, the gods prevent you from using this device."
119 );
120 return;
121 }
122
115 /* if no ingredients, no formula! lets forget it */ 123 /* if no ingredients, no formula! lets forget it */
116 if (!(formula=content_recipe_value(cauldron))) return; 124 if (!(formula=content_recipe_value(cauldron))) return;
117 125
118 numb=numb_ob_inside(cauldron); 126 numb=numb_ob_inside(cauldron);
119 if ((fl=get_formulalist(numb))) { 127 if ((fl=get_formulalist(numb))) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines