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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.202 by root, Fri Aug 29 02:07:09 2008 UTC vs.
Revision 1.204 by root, Fri Sep 19 01:39:45 2008 UTC

2312const char * 2312const char *
2313gravestone_text (object *op) 2313gravestone_text (object *op)
2314{ 2314{
2315 static dynbuf_text buf; 2315 static dynbuf_text buf;
2316 2316
2317 buf << "---- R.I.P. ----\n\n"; 2317 buf << "---- R.I.P. ----\n\n"
2318 op->name; 2318 << op->name;
2319 2319
2320 if (op->type == PLAYER) 2320 if (op->type == PLAYER)
2321 buf << " the " << op->contr->title; 2321 buf << " the " << op->contr->title;
2322 2322
2323 buf << "\n\n"; 2323 buf << "\n\n";
2792 * exp loss on the stone. 2792 * exp loss on the stone.
2793 */ 2793 */
2794 tmp = arch_to_object (archetype::find ("gravestone")); 2794 tmp = arch_to_object (archetype::find ("gravestone"));
2795 tmp->name = format ("%s's gravestone", &op->name); 2795 tmp->name = format ("%s's gravestone", &op->name);
2796 tmp->name_pl = format ("%s's gravestones", &op->name); 2796 tmp->name_pl = format ("%s's gravestones", &op->name);
2797 tmp->msg = format ("RIP\nHere rests the hero %s the %s,\nwho was killed\nby %s.\n", &op->name, op->contr->title, op->contr->killer_name ()); 2797 tmp->msg = format ("T<RIP>\n\nHere rests the hero %s the %s,\rwho was killed\rby %s.\n",
2798 &op->name, op->contr->title, op->contr->killer_name ());
2798 tmp->x = op->x, tmp->y = op->y; 2799 tmp->x = op->x, tmp->y = op->y;
2799 insert_ob_in_map (tmp, op->map, NULL, 0); 2800 insert_ob_in_map (tmp, op->map, NULL, 0);
2800 2801
2801 /**************************************/ 2802 /**************************************/
2802 /* */ 2803 /* */
2890 if (will_kill_again & (1 << at)) 2891 if (will_kill_again & (1 << at))
2891 force->resist[at] = 100; 2892 force->resist[at] = 100;
2892 2893
2893 insert_ob_in_ob (force, op); 2894 insert_ob_in_ob (force, op);
2894 op->update_stats (); 2895 op->update_stats ();
2895
2896 } 2896 }
2897 2897
2898 new_draw_info (NDI_UNIQUE, 0, op, "YOU HAVE DIED."); 2898 new_draw_info (NDI_UNIQUE, 0, op, "YOU HAVE DIED.");
2899} 2899}
2900 2900

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines