--- deliantra/server/TODO 2007/06/10 04:24:49 1.67 +++ deliantra/server/TODO 2007/06/28 05:50:31 1.68 @@ -7,6 +7,28 @@ 07:21:48 -cfbot:#cf- [Incen] ayup 07:22:06 -cfbot:#cf- [Lina] dusts/potions/figurines/balms + +* the following semantics was removed form enter_exit, bring it back sensibly and safely + (don't want the savebed set on a random map). + /* mids 02/13/2002 if exit is damned, update players death & WoR home-position and delete town portal */ + if (QUERY_FLAG(exit_ob, FLAG_DAMNED)) { + /* remove an old force with a slaying field == PORTAL_DESTINATION_NAME */ + for(tmp=op->inv; tmp != NULL; tmp = tmp->below) { + if(tmp->type == FORCE && tmp->slaying && !strcmp(tmp->slaying, PORTAL_DESTINATION_NAME)) break; + } + if(tmp) { + remove_ob(tmp); + free_object(tmp); + } + + path_combine_and_normalize(exit_ob->map->path, EXIT_PATH(exit_ob), op->contr->savebed_map, sizeof(op->contr->savebed_map)); + op->contr->bed_x = EXIT_X(exit_ob), op->contr->bed_y = EXIT_Y(exit_ob); + save_player(op, 1); + /* LOG(llevDebug,"enter_exit: Taking damned exit %s to (%d,%d) on map %s\n", + * exit_ob->name?exit_ob->name:"(none)", exit_ob->x, exit_ob->y, + * path_combine_and_normalize(exit_ob->map->path, EXIT_PATH(exit_ob))); */ + } + * new players lack statistics * 21:37:28 -cfbot:#cf- [Drakna] yeah see meditation heals but it eats up food. but if yoiu have no food you can still