
/* if it is a new player-give him a racesoul */

static get_racesoul()
{
    object ob;

    enable_commands();
    /*
     * Initilize the character stats, if not already done.
     */
    if (!stats_is_updated) {
	    int tmp;
	    tmp = level;
	    if (tmp > 20)
	        tmp = 20;
	    set_str(tmp); set_int(tmp); set_con(tmp); set_dex(tmp);
	    set_wis(tmp); set_chr(tmp);
	    stats_is_updated = 1;
    }
    /*
     * Now we can enter the game. Check tot_value if the game
     * crashed, and the values of the player was saved.
     */
    set_heart_beat(1);
    add_standard_commands();
    move_object(clone_object("obj/soul"), myself);
    cat("/NEWS");
    move_object(myself, "/players/jug/room/soulroom_start");
	say(cap_name + " enters the soulroom.\n");
    called_from_ip = query_ip_number();
    environment()->long();
    ob = first_inventory(environment());
    while(ob) {
		if (ob != this_object()) {
	    	string sh;
		    sh = call_other(ob, "short");
		    if (sh)
				write(sh + ".\n");
		}
		ob = next_inventory(ob);
    }
    current_path = "players/" + name;
    set_living_name(name);
}
