in_room
DBZu/src/in_room · 471.5 KB
From the archive DBZu.zip
Download the archive « Back to the archive contents
act_comm.c: if ( IS_NPC( ch ) || !ch->pcdata ) return (char *) argument;
act_comm.c: drunk = ch->pcdata->condition[COND_DRUNK];
act_comm.c: if ( ch->speaking & lang_array[lang] )
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c: if ( ch->master )
act_comm.c: send_to_char( "I don't think so...\n\r", ch->master );
act_comm.c: if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_SILENCE) )
act_comm.c: REMOVE_BIT(ch->deaf, channel);
act_comm.c: ch_printf( ch, "&R(&wCRP&R)&W %s %s &D\n\r", ch->name, argument );
act_comm.c: ch_printf( ch, "&w[&gRoleplay&w]&w %s %s \n\r", ch->name, argument );
act_comm.c: position = ch->position;
act_comm.c: ch->position = POS_STANDING;
act_comm.c: ch->position = position;
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c: sprintf( buf2, "%s: %s (%s)", IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c: IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c: && !IS_SET(och->deaf, channel) )
act_comm.c: && !( och->pcdata->council &&
act_comm.c: !str_cmp( och->pcdata->council->name, "Newbie Council" ) ) ) )
act_comm.c: if ( xIS_SET( vch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c: && vch->in_room->area != ch->in_room->area )
act_comm.c: if ( vch->pcdata->clan != ch->pcdata->clan )
act_comm.c: if ( vch->race != ch->race )
act_comm.c: if ( xIS_SET(ch->act, PLR_WIZINVIS) &&
act_comm.c: sprintf(lbuf, "(%d) ", (!IS_NPC(ch))?ch->pcdata->wizinvis
act_comm.c: :ch->mobinvis);
act_comm.c: position = vch->position;
act_comm.c: vch->position = POS_STANDING;
act_comm.c: if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c: int speakswell = UMIN(knows_language(vch, ch->speaking, ch),
act_comm.c: knows_language(ch, ch->speaking, vch));
act_comm.c: if ( !knows_language(vch, ch->speaking, ch)
act_comm.c: && (!IS_NPC(ch) || ch->speaking != 0) )
act_comm.c: sbuf = scramble(argument, ch->speaking);
act_comm.c: if ( !IS_NPC(ch) && ch->pcdata->nuisance
act_comm.c: && ch->pcdata->nuisance->flags > 7
act_comm.c: && (number_percent()<((ch->pcdata->nuisance->flags-7)*10*
act_comm.c: ch->pcdata->nuisance->power)))
act_comm.c: if ( !IS_NPC(vch) && vch->pcdata->nuisance &&
act_comm.c: vch->pcdata->nuisance->flags > 7
act_comm.c: &&(number_percent()<((vch->pcdata->nuisance->flags-7)*10*
act_comm.c: vch->pcdata->nuisance->power)))
act_comm.c: vch->position = position;
act_comm.c: && !IS_SET(och->deaf, channel)
act_comm.c: if ( IS_NPC( ch ) || !ch->pcdata->clan
act_comm.c: || ch->pcdata->clan->clan_type == CLAN_ORDER
act_comm.c: || ch->pcdata->clan->clan_type == CLAN_GUILD )
act_comm.c: && !( ch->pcdata->council &&
act_comm.c: !str_cmp( ch->pcdata->council->name, "Newbie Council" ) ) ) )
act_comm.c: if ( IS_NPC( ch ) || !ch->pcdata->clan
act_comm.c: || ch->pcdata->clan->clan_type != CLAN_ORDER )
act_comm.c: if ( IS_NPC( ch ) || !ch->pcdata->clan || ch->pcdata->clan->clan_type != CLAN_GUILD )
act_comm.c: if ( ch->speaking & lang_array[lang] )
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c: actflags = ch->act;
act_comm.c: xREMOVE_BIT( ch->act, ACT_SECRETIVE );
act_comm.c: for ( vch = ch->in_room->first_person; vch; vch = vch->next_in_room )
act_comm.c: " are unable to do so.\n\r", ch->name);
act_comm.c: if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c: int speakswell = UMIN(knows_language(vch, ch->speaking, ch),
act_comm.c: knows_language(ch, ch->speaking, vch));
act_comm.c: if ( !knows_language(vch, ch->speaking, ch)
act_comm.c: && (!IS_NPC(ch) || ch->speaking != 0) )
act_comm.c: sbuf = scramble(argument, ch->speaking);
act_comm.c:/* if ( xIS_SET(ch->act, PLR_NAMEKFUSION ) )
act_comm.c: ch->act = actflags;
act_comm.c:/* if( xIS_SET(ch->act, PLR_NAMEKFUSION ) )
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c: sprintf( buf, "%s: %s", IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c: if ( ch->speaking & lang_array[lang] )
act_comm.c: REMOVE_BIT( ch->deaf, CHANNEL_WHISPER );
act_comm.c: "are unable to do so.\n\r", ch->name);
act_comm.c: if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c: int speakswell = UMIN(knows_language(victim, ch->speaking, ch),
act_comm.c: knows_language(ch, ch->speaking, victim));
act_comm.c: if ( !knows_language(vch, ch->speaking, ch ) &&
act_comm.c: ( !IS_NPC(ch) || ch->speaking != 0) )
act_comm.c: if ( !xIS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c: IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c: if ( ch->speaking & lang_array[lang] )
act_comm.c: REMOVE_BIT( ch->deaf, CHANNEL_TELLS );
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c: && ( xIS_SET(ch->act, PLR_SILENCE)
act_comm.c: || xIS_SET(ch->act, PLR_NO_TELL) ) )
act_comm.c: || ( IS_NPC(victim) && victim->in_room != ch->in_room )
act_comm.c: ch_printf( victim, "&RYour DND flag just stopped %s's tell.\n\r", ch->name);
act_comm.c: "are unable to do so.\n\r", ch->name);
act_comm.c: ch->retell = victim;
act_comm.c: isalpha(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]))
act_comm.c: capitalize(IS_NPC(ch) ? ch->short_descr : ch->name),
act_comm.c: tolower(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]) - 'a';
act_comm.c: if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c: int speakswell = UMIN(knows_language(victim, ch->speaking, ch),
act_comm.c: knows_language(ch, ch->speaking, victim));
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c: IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c: if ( ch->speaking & lang_array[lang] )
act_comm.c: REMOVE_BIT( ch->deaf, CHANNEL_TELLS );
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c: if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_SILENCE) )
act_comm.c: if ( ( victim = ch->reply ) == NULL )
act_comm.c: "are unable to do so.\n\r", ch->name);
act_comm.c: if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c: int speakswell = UMIN(knows_language(victim, ch->speaking, ch),
act_comm.c: knows_language(ch, ch->speaking, victim));
act_comm.c: if ( knows_language( victim, ch->speaking, ch ) ||
act_comm.c: (IS_NPC(ch) && !ch->speaking) )
act_comm.c: act( AT_TELL, "$n tells you '$t'", ch, scramble(argument, ch->speaking), victim, TO_VICT );
act_comm.c: ch->retell = victim;
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c: IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c: isalpha(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]))
act_comm.c: capitalize(IS_NPC(ch) ? ch->short_descr : ch->name),
act_comm.c: tolower(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]) - 'a';
act_comm.c: if ( ch->speaking & lang_array[lang] )
act_comm.c: REMOVE_BIT(ch->deaf, CHANNEL_TELLS);
act_comm.c: if(xIS_SET(ch->in_room->room_flags, ROOM_SILENCE))
act_comm.c: if ( !IS_NPC(ch) && (xIS_SET(ch->act, PLR_SILENCE)
act_comm.c: || xIS_SET(ch->act, PLR_NO_TELL)) )
act_comm.c: victim = ch->retell;
act_comm.c: "are unable to do so.\n\r", ch->name);
act_comm.c: isalpha(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0]))
act_comm.c: capitalize(IS_NPC(ch) ? ch->short_descr : ch->name),
act_comm.c: tolower(IS_NPC(ch) ? ch->short_descr[0] : ch->name[0])
act_comm.c: if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c: int speakswell = UMIN(knows_language(victim, ch->speaking, ch),
act_comm.c: knows_language(ch, ch->speaking, victim));
act_comm.c: if(knows_language(victim, ch->speaking, ch) ||
act_comm.c: (IS_NPC(ch) && !ch->speaking))
act_comm.c: scramble(argument, ch->speaking), victim, TO_VICT);
act_comm.c: if(xIS_SET(ch->in_room->room_flags, ROOM_LOGSPEECH))
act_comm.c: IS_NPC(ch) ? ch->short_descr : ch->name,
act_comm.c: if(IS_NPC(ch) || !IS_IMMORTAL(ch) || !ch->pcdata->tell_history)
act_comm.c: index = ch->pcdata->lt_index;
act_comm.c: if(ch->pcdata->tell_history[index])
act_comm.c: ch_printf(ch, ch->pcdata->tell_history[index]);
act_comm.c: if ( ch->speaking & lang_array[lang] )
act_comm.c: if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_NO_EMOTE) )
act_comm.c: actflags = ch->act;
act_comm.c: xREMOVE_BIT( ch->act, ACT_SECRETIVE );
act_comm.c: for ( vch = ch->in_room->first_person; vch; vch = vch->next_in_room )
act_comm.c: " are unable to do so.\n\r", ch->name);
act_comm.c: if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c: int speakswell = UMIN(knows_language(vch, ch->speaking, ch),
act_comm.c: knows_language(ch, ch->speaking, vch));
act_comm.c: if ( !knows_language( vch, ch->speaking, ch ) &&
act_comm.c: (!IS_NPC(ch) && ch->speaking != 0) )
act_comm.c: sbuf = scramble(buf, ch->speaking);
act_comm.c: ch->act = actflags;
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_LOGSPEECH ) )
act_comm.c: sprintf( buf, "%s %s (emote)", IS_NPC( ch ) ? ch->short_descr : ch->name,
act_comm.c: if ( ch->position == POS_FIGHTING
act_comm.c: || ch->position == POS_EVASIVE
act_comm.c: || ch->position == POS_DEFENSIVE
act_comm.c: || ch->position == POS_AGGRESSIVE
act_comm.c: || ch->position == POS_BERSERK
act_comm.c: if ( ch->position < POS_STUNNED )
act_comm.c: if ( xIS_SET(ch->in_room->room_flags, ROOM_HBTC ) )
act_comm.c: if (ch->pcdata->in_progress)
act_comm.c: free_note (ch->pcdata->in_progress);
act_comm.c: if ( IS_PKILL( ch ) && ch->wimpy > (int) ch->max_hit / 2.25 )
act_comm.c: xREMOVE_BIT(ch->act, PLR_EBAR); xREMOVE_BIT(ch->act, PLR_USSJ);
act_comm.c: xREMOVE_BIT(ch->act, PLR_POWERUP1); xREMOVE_BIT(ch->act, PLR_POWERUP2);
act_comm.c: xREMOVE_BIT(ch->act, PLR_POWERUP3); xREMOVE_BIT(ch->act, PLR_POWERUP4);
act_comm.c: xREMOVE_BIT(ch->act, PLR_POWERUP5); xREMOVE_BIT(ch->act, PLR_POWERUP6);
act_comm.c: xREMOVE_BIT(ch->act, PLR_POWERUP7); xREMOVE_BIT(ch->act, PLR_MUTATE2); xREMOVE_BIT(ch->act, PLR_MUTATE3);
act_comm.c: xREMOVE_BIT(ch->act, PLR_MUTATE4); xREMOVE_BIT(ch->act, PLR_SNAMEK); xREMOVE_BIT(ch->act, PLR_SUPPRESS);
act_comm.c: xREMOVE_BIT(ch->act, PLR_KAIOKEN); xREMOVE_BIT(ch->act, PLR_SSJ1); xREMOVE_BIT(ch->act, PLR_SSJ2);
act_comm.c: xREMOVE_BIT(ch->act, PLR_SSJ3); xREMOVE_BIT(ch->act, PLR_MYSTIC); xREMOVE_BIT(ch->act, PLR_DDD);
act_comm.c: xREMOVE_BIT(ch->act, PLR_SSJ4); xREMOVE_BIT(ch->act, PLR_ACCELERATE );
act_comm.c: xREMOVE_BIT(ch->act, PLR_SUPERHUMAN); xREMOVE_BIT(ch->act, PLR_DESTRUCTO);
act_comm.c: xREMOVE_BIT(ch->act, PLR_BBARRIER); xREMOVE_BIT(ch->act, PLR_SEMIP);
act_comm.c: xREMOVE_BIT(ch->act, PLR_TRANSFORM2); xREMOVE_BIT(ch->act, PLR_TRANSFORM3);
act_comm.c: xREMOVE_BIT(ch->act, PLR_TRANSFORM4); xREMOVE_BIT(ch->act, PLR_TRANSFORM5);
act_comm.c: xREMOVE_BIT(ch->act, PLR_ADULT); xREMOVE_BIT(ch->act, PLR_PERFECT);
act_comm.c: xREMOVE_BIT(ch->act, PLR_OOZARU);
act_comm.c: xREMOVE_BIT(ch->act, PLR_GOLDEN);
act_comm.c: ch->barrier = 0;
act_comm.c: ch->mod = 1;
act_comm.c: ch->mod_str = 0;
act_comm.c: ch->mod_con = 0;
act_comm.c: ch->mod_dex = 0;
act_comm.c: ch->mod_cha = 0;
act_comm.c: ch->mod_lck = 0;
act_comm.c: ch->mod_int = 0;
act_comm.c: ch->height_mod = 0;
act_comm.c: ch->weight_mod = 0;
act_comm.c: if ( ch->position == POS_MOUNTED )
act_comm.c: sprintf( log_buf, "%s has quit (Room %d).", ch->name,
act_comm.c: ( ch->in_room ? ch->in_room->vnum : -1 ) );
act_comm.c:ch->name );
act_comm.c: if ( sysdata.save_pets && ch->pcdata->pet )
act_comm.c: ch->pcdata->pet, TO_ROOM );
act_comm.c: extract_char( ch->pcdata->pet, TRUE );
act_comm.c: if( ch->pcdata->in_progress )
act_comm.c: free_global_note( ch->pcdata->in_progress );
act_comm.c: if ( ch->pcdata->clan )
act_comm.c: save_clan( ch->pcdata->clan );
act_comm.c: write_to_buffer(ch->desc,BUFF,num);
act_comm.c: write_to_buffer(ch->desc,BUFF,num);
act_comm.c: write_to_buffer(ch->desc,BUFF,num);
act_comm.c: write_to_buffer(ch->desc,BUFF,num);
act_comm.c: ch->inter_type = OBJ_TYPE;
act_comm.c: ch->inter_substate = SUB_NORTH;
act_comm.c: if( ch->inter_editing != NULL) DISPOSE(ch->inter_editing);
act_comm.c: ch->inter_editing = str_dup(obj->pIndexData->name);
act_comm.c: sscanf(ch->inter_editing,"%s",ch->inter_editing); /*one-arg*/
act_comm.c: ch->inter_editing_vnum = obj->pIndexData->vnum;
act_comm.c: idx = ch->in_room;
act_comm.c: ch->inter_type = ROOM_TYPE;
act_comm.c: ch->inter_substate = SUB_NORTH;
act_comm.c: if( ch->inter_editing != NULL) DISPOSE(ch->inter_editing);
act_comm.c: ch->inter_editing = str_dup(idx->name);
act_comm.c: sscanf(ch->inter_editing,"%s",ch->inter_editing); /*one-arg*/
act_comm.c: ch->inter_editing_vnum = idx->vnum;
act_comm.c: ch->inter_type = CONTROL_TYPE;
act_comm.c: if( ch->inter_editing != NULL) DISPOSE(ch->inter_editing);
act_comm.c: ch->inter_editing = str_dup("Control Panel");
act_comm.c: sscanf(ch->inter_editing,"%s",ch->inter_editing); /*one-arg*/
act_comm.c: ch->inter_type = MOB_TYPE;
act_comm.c: if( ch->inter_editing != NULL) DISPOSE(ch->inter_editing);
act_comm.c: ch->inter_editing = str_dup(arg1);
act_comm.c: sscanf(ch->inter_editing,"%s",ch->inter_editing); /*one-arg*/
act_comm.c: ch->inter_editing_vnum = victim->pIndexData->vnum;
act_comm.c: xSET_BIT(ch->act,PLR_RIP);
act_comm.c: xSET_BIT(ch->act,PLR_ANSI);
act_comm.c: xREMOVE_BIT(ch->act,PLR_RIP);
act_comm.c: xSET_BIT(ch->act,PLR_ANSI);
act_comm.c: xREMOVE_BIT(ch->act,PLR_ANSI);
act_comm.c: if ( IS_AFFECTED(ch, AFF_CHARM) && ch->master )
act_comm.c: act( AT_PLAIN, "But you'd rather follow $N!", ch, NULL, ch->master, TO_CHAR );
act_comm.c: if ( !ch->master )
act_comm.c: if ( ( ch->level - victim->level < -10 || ch->level - victim->level > 10 )
act_comm.c: && !IS_HERO(ch) && !(ch->level < 15 && !IS_NPC(victim)
act_comm.c: if ( ch->master )
act_comm.c: if ( ch->master )
act_comm.c: ch->master = master;
act_comm.c: ch->leader = NULL;
act_comm.c: if ( IS_NPC(ch) && xIS_SET(ch->act, ACT_PET) && !IS_NPC(master) )
act_comm.c: if ( !ch->master )
act_comm.c: if ( IS_NPC(ch) && !IS_NPC(ch->master) && ch->master->pcdata->pet == ch )
act_comm.c: ch->master->pcdata->pet = NULL;
act_comm.c: xREMOVE_BIT( ch->affected_by, AFF_CHARM );
act_comm.c: if ( !IS_NPC(ch->master) )
act_comm.c: ch->master->pcdata->charmies--;
act_comm.c: if ( can_see( ch->master, ch ) )
act_comm.c: if (!(!IS_NPC(ch->master) && IS_IMMORTAL(ch) && !IS_IMMORTAL(ch->master)))
act_comm.c: act( AT_ACTION, "$n stops following you.", ch, NULL, ch->master, TO_VICT );
act_comm.c: act( AT_ACTION, "You stop following $N.", ch, NULL, ch->master, TO_CHAR );
act_comm.c: ch->master = NULL;
act_comm.c: ch->leader = NULL;
act_comm.c: if ( ch->master )
act_comm.c: ch->leader = NULL;
act_comm.c: for ( fch = first_char; fch; fch = fch->next )
act_comm.c: if ( fch->master == ch )
act_comm.c: if ( fch->leader == ch )
act_comm.c: fch->leader = fch;
act_comm.c: for ( och = ch->in_room->first_person; och; och = och_next )
act_comm.c: och_next = och->next_in_room;
act_comm.c: if ( IS_AFFECTED(och, AFF_CHARM) && och->master == ch
act_comm.c: sprintf( log_buf, "%s: order %s.", ch->name, argbuf );
act_comm.c: log_string_plus( log_buf, LOG_NORMAL, ch->level );
act_comm.c: leader = ch->leader ? ch->leader : ch;
act_comm.c: for ( gch = first_char; gch; gch = gch->next )
act_comm.c: gch->exp,
act_comm.c: IS_NPC(gch) ? "Mob" : class_table[gch->class]->who_name,
act_comm.c: if ( gch->alignment > 750 ) sprintf(buf, "Good");
act_comm.c: else if ( gch->alignment > 350 ) sprintf(buf, "Good");
act_comm.c: else if ( gch->alignment > 150 ) sprintf(buf, "Neutral");
act_comm.c: else if ( gch->alignment > -150 ) sprintf(buf, "Neutral");
act_comm.c: else if ( gch->alignment > -350 ) sprintf(buf, "Neutral");
act_comm.c: else if ( gch->alignment > -750 ) sprintf(buf, "Evil");
act_comm.c: gch->exp,
act_comm.c: IS_NPC(gch) ? "Mob" : class_table[gch->class]->who_name );
act_comm.c: if ( gch->hit < gch->max_hit/4 )
act_comm.c: else if ( gch->hit < gch->max_hit/2.5 )
act_comm.c: ch_printf( ch, "%5d", gch->hit );
act_comm.c: ch_printf( ch, "/%-5d ", gch->max_hit );
act_comm.c: ch_printf( ch, "%5d/%-5d ", gch->mana, gch->max_mana );
act_comm.c:/* if ( gch->mental_state < -25 || gch->mental_state > 25 )
act_comm.c: gch->mental_state > 75 ? "+++" :
act_comm.c: gch->mental_state > 50 ? "=++" :
act_comm.c: gch->mental_state > 25 ? "==+" :
act_comm.c: gch->mental_state > -25 ? "===" :
act_comm.c: gch->mental_state > -50 ? "-==" :
act_comm.c: gch->mental_state > -75 ? "--=" :
act_comm.c: gch->race == 0 ? "Saiyan" :
act_comm.c: gch->race == 1 ? "Android" :
act_comm.c: gch->race == 2 ? "Namek" :
act_comm.c: gch->race == 3 ? "Icer" :
act_comm.c: gch->race == 4 ? "Biodroid" :
act_comm.c: gch->race == 5 ? "Namek" :
act_comm.c: gch->race == 6 ? "Mutant" :
act_comm.c: gch->race == 7 ? "Halfbreed" :
act_comm.c: gch->race == 8 ? "Half-troll" :
act_comm.c: gch->race == 9 ? "h-elf" :
act_comm.c: gch->race ==10 ? "gith" :
act_comm.c: gch->race ==11 ? "drow" :
act_comm.c: gch->race ==12 ? "seaelf" :
act_comm.c: gch->race ==13 ? "lizard" :
act_comm.c: gch->race ==14 ? "gnome" :
act_comm.c: if ( ch->leader || ch->master )
act_comm.c: for ( gch = first_char; gch; gch = gch->next )
act_comm.c: gch->leader = NULL;
act_comm.c: gch->master = NULL;
act_comm.c: for ( rch = ch->in_room->first_person; rch; rch = rch->next_in_room )
act_comm.c: && rch->master == ch
act_comm.c: && !ch->master
act_comm.c: && !ch->leader
act_comm.c: && abs( ch->level - rch->level ) < 9
act_comm.c: rch->leader = ch;
act_comm.c: if ( ch->master || ( ch->leader && ch->leader != ch ) )
act_comm.c: if ( ch->gold < amount )
act_comm.c: for ( gch = ch->in_room->first_person; gch; gch = gch->next_in_room )
act_comm.c: if ( xIS_SET(ch->act, PLR_AUTOGOLD) && members < 2 )
act_comm.c: ch->gold -= amount;
act_comm.c: ch->gold += share + extra;
act_comm.c: for ( gch = ch->in_room->first_person; gch; gch = gch->next_in_room )
act_comm.c: gch->gold += share;
act_comm.c: if ( ch->speaking & lang_array[lang] )
act_comm.c: if ( xIS_SET(ch->act, PLR_NO_TELL) )
act_comm.c:/* sprintf( buf, "%s tells the group '%s'.\n\r", ch->name, argument );*/
act_comm.c: for ( gch = first_char; gch; gch = gch->next )
act_comm.c: if ( speaking != -1 && (!IS_NPC(ch) || ch->speaking) )
act_comm.c: int speakswell = UMIN(knows_language(gch, ch->speaking, ch),
act_comm.c: knows_language(ch, ch->speaking, gch));
act_comm.c: ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, translate(speakswell, argument, lang_names[speaking]) );
act_comm.c: ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, argument );
act_comm.c: ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, argument );
act_comm.c: if ( knows_language( gch, ch->speaking, gch )
act_comm.c: || (IS_NPC(ch) && !ch->speaking) )
act_comm.c: ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, argument );
act_comm.c: ch_printf( gch, "%s tells the group '%s'.\n\r", ch->name, scramble(argument, ch->speaking) );
act_comm.c: if ( ach->leader ) ach = ach->leader;
act_comm.c: if ( bch->leader ) bch = bch->leader;
act_comm.c: if ( IS_NPC(ch) && !ch->speaks ) /* No langs = knows all for npcs */
act_comm.c: if ( IS_NPC(ch) && IS_SET(ch->speaks, (language & ~LANG_CLAN)) )
act_comm.c: if ( ch->pcdata->clan == cch->pcdata->clan &&
act_comm.c: ch->pcdata->clan != NULL )
act_comm.c: if ( IS_SET(race_table[ch->race]->language, language) )
act_comm.c: IS_SET(ch->speaks, lang_array[lang]) )
act_comm.c: return ch->pcdata->learned[sn];
act_comm.c: if ( race_table[ch->race]->language & language )
act_comm.c: if ( ch->speaks & language )
act_comm.c: if ( ch->pcdata->learned[sn] >= 99 )
act_comm.c: ch->speaking = ~LANG_CLAN;
act_comm.c: (IS_NPC(ch) || !ch->pcdata->clan) )
act_comm.c: ch->speaking = lang_array[langs];
act_comm.c: if ( race_table[ch->race]->language & lang_array[lang] ||
act_comm.c: ch->pcdata->learned[sn] >= 99 )
act_comm.c: for ( sch = ch->in_room->first_person; sch; sch = sch->next_in_room )
act_comm.c: if ( IS_NPC(sch) && xIS_SET(sch->act, ACT_BREAKLF)
act_comm.c: && knows_language( sch, ch->speaking, ch )
act_comm.c: && (!sch->speaking || knows_language( ch, sch->speaking, sch )) )
act_comm.c: if ( countlangs(ch->speaks) >= (ch->level / 10) &&
act_comm.c: ch->pcdata->learned[sn] <= 0 )
act_comm.c: if ( ch->practice < prac )
act_comm.c: ch->practice -= prac;
act_comm.c: ch->pcdata->learned[sn] += prct;
act_comm.c: ch->pcdata->learned[sn] = UMIN(ch->pcdata->learned[sn], 99);
act_comm.c: SET_BIT( ch->speaks, lang_array[lang] );
act_comm.c: if ( ch->pcdata->learned[sn] == prct )
act_comm.c: else if ( ch->pcdata->learned[sn] < 60 )
act_comm.c: else if ( ch->pcdata->learned[sn] < 60 + prct )
act_comm.c: else if ( ch->pcdata->learned[sn] < 99 )
act_comm.c: if ( ch->speaking & lang_array[lang] ||
act_comm.c: (IS_NPC(ch) && !ch->speaking) )
act_comm.c: if ( xIS_SET(ch->act, PLR_NOCHAT) )
act_comm.c: if ( !IS_NPC(ch) && !xIS_SET(ch->act, PLR_IN_CRP) )
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c: if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_SILENCE) )
act_comm.c: gain *= ch->rplevel;
act_comm.c: if ( ch->exp >= 5000000 && ch->exp < 25000000) {pl = ch->pcdata->learned[gsn_chikone] * 250000;}
act_comm.c: else if ( ch->exp >= 25000000 && ch->exp < 55000000){pl = ch->pcdata->learned[gsn_chiktwo] * 550000; }
act_comm.c: else if ( ch->exp >= 55000000 && ch->exp < 75000000){pl = ch->pcdata->learned[gsn_chikthree] * 750000; }
act_comm.c: else if ( ch->exp >= 75000000 && ch->exp < 100000000){pl = ch->pcdata->learned[gsn_chikfour] * 1000000;}
act_comm.c: if (ch->exp >= 5000000)
act_comm.c: if ( pl < ch->exp )
act_comm.c: ch->rpneed++;
act_comm.c: ch->rpneed++;
act_comm.c: sprintf( buf, "%s: %s", ch->name, argument);
act_comm.c: ch->exp += gain;
act_comm.c: if (ch->rpneed >= ch->rplevel * 2 )
act_comm.c: ch->rplevel++;
act_comm.c: ch->rpneed = 0;
act_comm.c: ch_printf(ch, "&WYou have just achieved roleplay level &R%d&W!\n\r", ch->rplevel);
act_comm.c: adjust_hiscore( "rplevel", ch, ch->rplevel );
act_comm.c: if ( xIS_SET(ch->act, PLR_NOCHAT) )
act_comm.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_SILENCE ) )
act_comm.c: if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_SILENCE) )
act_comm.c: gain *= ch->rplevel;
act_comm.c: if ( ch->exp >= 5000000 && ch->exp < 25000000) {pl = ch->pcdata->learned[gsn_chikone] * 250000;}
act_comm.c: else if ( ch->exp >= 25000000 && ch->exp < 55000000){pl = ch->pcdata->learned[gsn_chiktwo] * 550000; }
act_comm.c: else if ( ch->exp >= 55000000 && ch->exp < 75000000){pl = ch->pcdata->learned[gsn_chikthree] * 750000; }
act_comm.c: else if ( ch->exp >= 75000000 && ch->exp < 100000000){pl = ch->pcdata->learned[gsn_chikfour] * 1000000;}
act_comm.c: if (ch->exp >= 5000000)
act_comm.c: if ( pl < ch->exp )
act_comm.c: ch->rpneed++;
act_comm.c: sprintf( buf, "%s: %s", ch->name, argument);
act_comm.c: ch->exp += gain;
act_comm.c: zenigain = ch->rplevel * (ch->exp * 0.02) / number_range(40,100);
act_comm.c: if (ch->rpneed >= ch->rplevel * 2 )
act_comm.c: ch->rplevel++;
act_comm.c: ch->rpneed = 0;
act_comm.c: ch_printf(ch, "&WYou have just achieved roleplay level &R%d&W!\n\r", ch->rplevel);
act_comm.c: ch->gold += zenigain;
act_comm.c: adjust_hiscore( "rplevel", ch, ch->rplevel );
act_info.c: if ( (IS_AFFECTED(ch, AFF_DETECT_EVIL) || ch->class==CLASS_PALADIN)
act_info.c: if ( ch->class==CLASS_PALADIN
act_info.c: if ( ch->class==CLASS_PALADIN
act_info.c: if ( ch->class==CLASS_PALADIN
act_info.c: if ( ch->class==CLASS_PALADIN
act_info.c: if ( ch->class==CLASS_PALADIN
act_info.c: if ( ch->class==CLASS_PALADIN
act_info.c: if ( !ch->desc )
act_info.c: if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c: ms = (ch->mental_state ? ch->mental_state : 1)
act_info.c: * (IS_NPC(ch) ? 1 : (ch->pcdata->condition[COND_DRUNK] ? (ch->pcdata->condition[COND_DRUNK]/12) : 1));
act_info.c: if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c: if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c:/* if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) ) */
act_info.c: if ( IS_NPC(ch) || xIS_SET(ch->act, PLR_COMBINE) )
act_info.c: && ( IS_AFFECTED(ch, AFF_DETECT_EVIL) || ch->class==CLASS_PALADIN) ) strcat( buf, "(Red Aura) " );
act_info.c: if ( IS_NPC(victim) && ch->mount && ch->mount == victim
act_info.c: && ch->in_room == ch->mount->in_room ) strcat( buf, "&Y(&OMount&Y)&D " );
act_info.c: if ( !IS_NPC(victim) && !xIS_SET(ch->act, PLR_BRIEF) )
act_info.c: if ( !IS_NPC(victim) && !xIS_SET(ch->act, PLR_BRIEF) )
act_info.c: if (ch->position == POS_SITTING || ch->position == POS_RESTING )
act_info.c: if (ch->position == POS_RESTING)
act_info.c: if (ch->position == POS_MOUNTED)
act_info.c: if (ch->position == POS_SITTING)
act_info.c: if (ch->position == POS_RESTING)
act_info.c: if ( can_see( victim, ch ) && !IS_NPC( ch ) && !xIS_SET( ch->act, PLR_WIZINVIS ) )
act_info.c: if ( ch->pcdata->learned[gsn_peek] > 0 )
act_info.c: for ( rch = list; rch; rch = rch->next_in_room )
act_info.c: else if ( room_is_dark( ch->in_room )
act_info.c: if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_info.c: if ( !ch->desc )
act_info.c: if ( ch->position < POS_SLEEPING )
act_info.c: if ( ch->position == POS_SLEEPING )
act_info.c: && !xIS_SET(ch->act, PLR_HOLYLIGHT)
act_info.c: && room_is_dark( ch->in_room ) )
act_info.c: show_char_to_char( ch->in_room->first_person, ch );
act_info.c: switch ( ch->inter_page ) /* rmenu */
act_info.c:/* send_to_char( ch->in_room->name, ch ); */
act_info.c: ch_printf( ch, "&z>>&D %s&z <<&D", ch->in_room->name );
act_info.c: if ( (ship = ship_from_cockpit(ch->in_room->vnum)) != NULL )
act_info.c: || ( !IS_NPC(ch) && !xIS_SET(ch->act, PLR_BRIEF) ) )
act_info.c: send_to_char( ch->in_room->description, ch );
act_info.c: if ( xIS_SET(ch->in_room->room_flags, ROOM_ARENA) || xIS_SET(ch->in_room->room_flags, ROOM_HEAL) || xIS_SET(ch->in_room->room_flags, ROOM_GRAVITY) || xIS_SET(ch->in_room->room_flags, ROOM_SPAR) || xIS_SET(ch->in_room->room_flags, ROOM_UGT) || xIS_SET(ch->in_room->room_flags, ROOM_EXTRACT) )
act_info.c: xIS_SET(ch->in_room->room_flags, ROOM_HEAL) ? "&W[&CHealing&W]&D " : "",
act_info.c: xIS_SET(ch->in_room->room_flags, ROOM_ARENA) ? "&W[&RPkill&W]&D " : "",
act_info.c: xIS_SET(ch->in_room->room_flags, ROOM_SPAR) ? "&W[&YSpar&W]&D " : "",
act_info.c: xIS_SET(ch->in_room->room_flags, ROOM_GRAVITY) ? "&W[&GGravity&W]&G 10x&D " : "",
act_info.c: xIS_SET(ch->in_room->room_flags, ROOM_UGT) ? "&W[&GGravity&W]&G 100x&D " : "",
act_info.c: xIS_SET(ch->in_room->room_flags, ROOM_EXTRACT) ? "&W[&gResources&W]&D " : "" );
act_info.c: if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_AUTOMAP) ) /* maps */
act_info.c: if(ch->in_room->map != NULL)
act_info.c: if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_AUTOEXIT) )
act_info.c: show_list_to_char( ch->in_room->first_content, ch, FALSE, FALSE );
act_info.c: show_ships_to_char( ch->in_room->first_ship, ch );
act_info.c: show_char_to_char( ch->in_room->first_person, ch );
act_info.c: if ( (ship = ship_from_entrance(ch->in_room->vnum)) == NULL )
act_info.c: if ( (ship = ship_from_entrance(ch->in_room->vnum)) == NULL )
act_info.c: if ( (ship = ship_from_entrance(ch->in_room->vnum)) == NULL )
act_info.c:if ( xIS_SET(ch->act, PLR_OOZARU) )
act_info.c: else if ( xIS_SET(ch->act, PLR_GOLDEN) )
act_info.c: if ( IS_SAIYAN(ch) && ch->rage >= 2000 && !xIS_SET(ch->act, PLR_CAN_SSJ4) && xIS_SET(ch->act, PLR_GOLDEN) )
act_info.c: xSET_BIT(ch->act, PLR_CAN_SSJ4);
act_info.c: xREMOVE_BIT(ch->act, PLR_OOZARU);
act_info.c: xREMOVE_BIT(ch->act, PLR_GOLDEN);
act_info.c: ch->mod_str = 0;
act_info.c: ch->mod_int = 0;
act_info.c: ch->mod_wis = 0;
act_info.c: ch->mod_con = 0;
act_info.c: ch->mod_dex = 0;
act_info.c: ch->mod_lck = 0;
act_info.c: ch->mod_cha = 0;
act_info.c: if ( !CAN_WEAR( obj, ITEM_TAKE ) && ch->level < sysdata.level_getobjnotake )
act_info.c: if ( ch->carry_weight + obj->weight > can_carry_w( ch ) )
act_info.c: for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_info.c: original = ch->in_room;
act_info.c: if ( (pdesc=get_extra_descr(arg1, ch->in_room->first_extradesc)) != NULL )
act_info.c: || ch->class == CLASS_THIEF
act_info.c: if ( ch->class == CLASS_THIEF )
act_info.c: original = ch->in_room;
act_info.c: for ( cnt = 0, obj = ch->last_carrying; obj; obj = obj->prev_content )
act_info.c: for ( obj = ch->in_room->last_content; obj; obj = obj->prev_content )
act_info.c: if ( !ch->desc )
act_info.c: if ( ch->position < POS_SLEEPING )
act_info.c: if ( ch->position == POS_SLEEPING )
act_info.c: if ( xIS_SET(ch->act, PLR_BRIEF) )
act_info.c: xSET_BIT( ch->act, PLR_BRIEF );
act_info.c: xREMOVE_BIT(ch->act, PLR_BRIEF);
act_info.c: for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_info.c: for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_info.c: DT = (IS_IMMORTAL(ch) && ch->level == -1 );
act_info.c: temp = (ch->in_room->area->weather->temp + 3*weath_unit - 1)/
act_info.c: precip = (ch->in_room->area->weather->precip + 3*weath_unit - 1)/
act_info.c: wind = (ch->in_room->area->weather->wind + 3*weath_unit - 1)/
act_info.c: for ( mob = ch->in_room->first_person; mob; mob = mob->next_in_room )
act_info.c: if (cost > ch->gold )
act_info.c: ch->gold -= cost;
act_info.c: ch->mana += dice(2,8) + ch->level / 3;
act_info.c: ch->mana += UMIN(ch->level,ch->max_mana - ch->mana);
act_info.c: spell(sn,ch->level,mob,ch);
act_info.c: SET_BIT(ch->pcdata->flags, PCFLAG_HELPSTART);
act_info.c: SET_BIT( ch->pcdata->flags, PCFLAG_HELPSTART );
act_info.c: if ( !ch->desc )
act_info.c: switch( ch->substate )
act_info.c: if ( (pHelp = ch->dest_buf) == NULL )
act_info.c: bug( "hedit: sub_help_edit: NULL ch->dest_buf", 0 );
act_info.c: ch->substate = SUB_HELP_EDIT;
act_info.c: ch->dest_buf = pHelp;
act_info.c: if (!wch->leader || wch->leader == wch || !wch->leader->desc ||
act_info.c: IS_NPC(wch->leader) || IS_IMMORTAL(wch) || IS_IMMORTAL(wch->leader))
act_info.c: if (wch->leader && wch->leader != wch && wch->leader->desc &&
act_info.c: !IS_NPC(wch->leader) && !IS_IMMORTAL(wch) &&
act_info.c: !IS_IMMORTAL(wch->leader) &&
act_info.c: (whogr_t = find_whogr(wch->leader->desc, first_whogr)))
act_info.c: if ( wch->level < iLevelLower
act_info.c: || wch->level > iLevelUpper
act_info.c: || ( fImmortalOnly && wch->level < LEVEL_IMMORTAL )
act_info.c: || ( fClassRestrict && !rgfClass[wch->class] )
act_info.c: || ( fRaceRestrict && !rgfRace[wch->race] )
act_info.c: || ( fClanMatch && ( pClan != wch->pcdata->clan )) /* SB */
act_info.c: || ( fCouncilMatch && ( pCouncil != wch->pcdata->council )) /* SB */
act_info.c: || ( fDeityMatch && ( pDeity != wch->pcdata->deity )) )
act_info.c: if ( fLeader && !(wch->pcdata->council &&
act_info.c: ((wch->pcdata->council->head2 &&
act_info.c: !str_cmp(wch->pcdata->council->head2, wch->name)) ||
act_info.c: (wch->pcdata->council->head &&
act_info.c: !str_cmp(wch->pcdata->council->head, wch->name)))) &&
act_info.c: !(wch->pcdata->clan && ((wch->pcdata->clan->deity &&
act_info.c: !str_cmp(wch->pcdata->clan->deity,wch->name) )
act_info.c: || (wch->pcdata->clan->leader
act_info.c: && !str_cmp(wch->pcdata->clan->leader, wch->name ) )
act_info.c: || (wch->pcdata->clan->number1
act_info.c: && !str_cmp(wch->pcdata->clan->number1, wch->name ) )
act_info.c: || (wch->pcdata->clan->number2
act_info.c: && !str_cmp(wch->pcdata->clan->number2, wch->name )))))
act_info.c: if (fGroup && !wch->leader &&
act_info.c: !IS_SET(wch->pcdata->flags, PCFLAG_GROUPWHO) &&
act_info.c: && wch->pcdata->homepage
act_info.c: && wch->pcdata->homepage[0] != '\0' )
act_info.c: show_tilde( wch->pcdata->homepage ), wch->name );
act_info.c: strcpy( char_name, wch->name );
act_info.c: switch ( wch->level )
act_info.c: if ( !str_cmp( wch->name, sysdata.guild_overseer ) )
act_info.c: else if ( !str_cmp( wch->name, sysdata.guild_advisor ) )
act_info.c: else if ( wch->pcdata->clan
act_info.c: && !str_cmp( wch->name, wch->pcdata->clan->leader )
act_info.c: && wch->pcdata->clan->leadrank[0] != '\0' )
act_info.c: class = wch->pcdata->clan->leadrank;
act_info.c: else if ( wch->pcdata->clan
act_info.c: && !str_cmp( wch->name, wch->pcdata->clan->number1 )
act_info.c: && wch->pcdata->clan->onerank[0] != '\0' )
act_info.c: class = wch->pcdata->clan->onerank;
act_info.c: else if ( wch->pcdata->clan
act_info.c: && !str_cmp( wch->name, wch->pcdata->clan->number2 )
act_info.c: && wch->pcdata->clan->tworank[0] != '\0' )
act_info.c: class = wch->pcdata->clan->tworank;
act_info.c: else if ( wch->pcdata->rank && wch->pcdata->rank[0] != '\0' && xIS_SET(wch->act, PLR_SEMI) )
act_info.c: class = wch->pcdata->rank;
act_info.c: if ( wch->pcdata->clan )
act_info.c: CLAN_DATA *pclan = wch->pcdata->clan;
act_info.c: if ( !str_cmp( wch->name, pclan->deity ) )
act_info.c: if ( !str_cmp( wch->name, pclan->leader ) )
act_info.c: if ( !str_cmp( wch->name, pclan->number1 ) )
act_info.c: if ( !str_cmp( wch->name, pclan->number2 ) )
act_info.c: if ( !str_cmp( wch->name, pclan->leader ) )
act_info.c: if ( !str_cmp( wch->name, pclan->number1 ) )
act_info.c: if ( !str_cmp( wch->name, pclan->number2 ) )
act_info.c: if ( !str_cmp( wch->name, pclan->deity ) )
act_info.c: if ( !str_cmp( wch->name, pclan->leader ) )
act_info.c: if ( !str_cmp( wch->name, pclan->number1 ) )
act_info.c: if ( !str_cmp( wch->name, pclan->number2 ) )
act_info.c: if ( wch->pcdata->clan )
act_info.c: CLAN_DATA *pclan = wch->pcdata->clan;
act_info.c: if ( !str_cmp( wch->name, pclan->deity ) )
act_info.c: if ( !str_cmp( wch->name, pclan->leader ) )
act_info.c: if ( !str_cmp( wch->name, pclan->number1 ) )
act_info.c: if ( !str_cmp( wch->name, pclan->number2 ) )
act_info.c: if ( wch->pcdata->council )
act_info.c: if ( wch->pcdata->council->head2 == NULL )
act_info.c: if (!str_cmp (wch->name, wch->pcdata->council->head))
act_info.c: if (!str_cmp (wch->name, wch->pcdata->council->head)
act_info.c: || !str_cmp ( wch->name, wch->pcdata->council->head2) )
act_info.c: strcat( council_name, wch->pcdata->council_name );
act_info.c: if ( wch->pcdata->clan )
act_info.c: clanbadge = wch->pcdata->clan->whoname; */
act_info.c: if ( xIS_SET(wch->act, PLR_WIZINVIS) )
act_info.c: sprintf( invis_str, "&G(&g%d&G)&D ", wch->pcdata->wizinvis );
act_info.c: (wch->desc && wch->desc->connected) ? "&R[WRITING]&D " : "",
act_info.c: xIS_SET(wch->act, PLR_AFK) ? "&R[AFK]&D " : "",
act_info.c: xIS_SET(wch->act, PLR_ATTACKER) ? "(ATTACKER) " : "",
act_info.c: xIS_SET(wch->act, PLR_KILLER) ? "&R(KILLER)&D " : "",
act_info.c: xIS_SET(wch->act, PLR_THIEF) ? "(THIEF) " : "",
act_info.c: xIS_SET(wch->act, PLR_DUMBASS) ? "&g(&GD&gU&BM&CB&RA&YS&GS&g) " : "",
act_info.c: wch->pcdata->title,
act_info.c: (wch->desc && wch->desc->connected) ? "&R[WRITING]&D " : "",
act_info.c: xIS_SET(wch->act, PLR_AFK) ? "&R[AFK]&D " : "",
act_info.c: xIS_SET(wch->act, PLR_DND) ? "&r[DND]&D " : "",
act_info.c: xIS_SET(wch->act, PLR_ATTACKER) ? "(ATTACKER) " : "",
act_info.c: xIS_SET(wch->act, PLR_KILLER) ? "&R(KILLER)&R " : "",
act_info.c: xIS_SET(wch->act, PLR_THIEF) ? "(THIEF) " : "",
act_info.c: wch->pcdata->title,
act_info.c: if ( wch->level > 99 && IS_IMMORTAL( wch ) )
act_info.c:/* else if ( wch->exp >= 105000000 )
act_info.c: else if ( wch->exp >= 95000000 )
act_info.c: else if (wch->exp > 45000000)
act_info.c: else if ( wch->exp >= 5000000 )
act_info.c: for ( obj2 = ch->first_carrying; obj2; obj2 = obj2->next_content )
act_info.c: pager_printf( ch, "\n\rPlayers near you in %s:\n\r", ch->in_room->area->name );
act_info.c: && victim->in_room->area == ch->in_room->area
act_info.c: && victim->in_room->area == ch->in_room->area
act_info.c: diff = victim->exp - ch->exp;
act_info.c: if ( ch->level < 2 )
act_info.c: || (ch->pcdata->clan->class != skill_table[sn]->guild) ) ) )
act_info.c: if ( ch->level < skill_table[sn]->skill_level[ch->class]
act_info.c: || (!IS_IMMORTAL(ch) && skill_table[sn]->skill_level[ch->class] == 0) )
act_info.c: if ( ch->pcdata->learned[sn] <= 0
act_info.c: if ( ch->pcdata->learned[sn] > 0 )
act_info.c: pager_printf( ch, " &z[&C%3d%%&z]&D ", ch->pcdata->learned[sn] );
act_info.c: pager_printf( ch, "&WYou have&C %d&W practice sessions left.&D\n\r", ch->practice );
act_info.c: ch->train );
act_info.c: for ( mob = ch->in_room->first_person; mob; mob = mob->next_in_room )
act_info.c: if ( ch->practice <= 0 )
act_info.c: && ch->level < skill_table[sn]->skill_level[ch->class]
act_info.c: && ch->level < skill_table[sn]->race_level[ch->race]
act_info.c: && ch->pcdata->clan->class != skill_table[sn]->guild )
act_info.c: if ( mob->level < skill_table[sn]->skill_level[ch->class]
act_info.c: adept = class_table[ch->class]->skill_adept * 0.2;
act_info.c: if ( ch->pcdata->learned[sn] >= 75 )
act_info.c: ch->practice--;
act_info.c: ch->pcdata->learned[sn] += 5;
act_info.c: wimpy = (int) ch->max_hit / 2.25;
act_info.c: wimpy = (int) ch->max_hit / 1.2;
act_info.c: wimpy = (int) ch->max_hit / 5;
act_info.c: if ( IS_PKILL( ch ) && wimpy > (int) ch->max_hit / 2.25 )
act_info.c: else if ( wimpy > (int) ch->max_hit / 1.2 )
act_info.c: ch->wimpy = wimpy;
act_info.c: if ( strcmp( crypt( arg1, ch->pcdata->pwd ), ch->pcdata->pwd ) )
act_info.c: pwdnew = crypt( arg2, ch->name );
act_info.c: DISPOSE( ch->pcdata->pwd );
act_info.c: ch->pcdata->pwd = str_dup( pwdnew );
act_info.c: if ( ch->desc && ch->desc->host[0] != '\0' )
act_info.c: sprintf(log_buf, "%s changing password from site %s\n", ch->name,
act_info.c: ch->desc->host );
act_info.c: sprintf(log_buf, "%s changing thier password with no descriptor!", ch->name);
act_info.c: if ( !IS_NPC(ch) && xIS_SET(ch->act, PLR_SILENCE) )
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_RACETALK )?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_INFO )?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_OOC )?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_GEMOTE )?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_SPOTLIGHT )?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_CHAT ) ?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_AUCTION ) ?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_QUEST ) ?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_WARTALK ) ?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_MUSIC ) ?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_ASK ) ?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_YELL ) ?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_TELLS ) ?
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_WHISPER ) ?
act_info.c: if ( !IS_NPC( ch ) && ch->pcdata->clan )
act_info.c: if ( ch->pcdata->clan->clan_type == CLAN_ORDER )
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_ORDER ) ?
act_info.c: else if ( ch->pcdata->clan->clan_type == CLAN_GUILD )
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_GUILD ) ?
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_CLAN ) ?
act_info.c: if ( IS_IMMORTAL(ch) || ( ch->pcdata->council
act_info.c: && !str_cmp( ch->pcdata->council->name, "Newbie Council" ) ) )
act_info.c: ch_printf_color( ch, "%s", !IS_SET( ch->deaf, CHANNEL_NEWBIE) ?
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_IMMTALK ) ?
act_info.c:/* send_to_char_color( !IS_SET( ch->deaf, CHANNEL_PRAY ) ?
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_HIGHGOD ) ?
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_MONITOR ) ?
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_AUTH ) ?
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_LOG ) ?
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_BUILD) ?
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_COMM ) ?
act_info.c: send_to_char_color( !IS_SET (ch->deaf, CHANNEL_WARN)
act_info.c: send_to_char_color( !IS_SET( ch->deaf, CHANNEL_HIGH ) ?
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_RACETALK);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_AUCTION);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_CHAT);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_QUEST);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_WARTALK);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_PRAY);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_TRAFFIC);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_MUSIC);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_ASK);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_YELL);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_INFO);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_OOC);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_GEMOTE);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_SPOTLIGHT);
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_GAMES);
act_info.c: /* if (ch->pcdata->clan)
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_CLAN);
act_info.c: if (ch->pcdata->guild)
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_GUILD);
act_info.c: if (ch->level >= LEVEL_IMMORTAL)
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_AVTALK);
act_info.c: if (ch->level >= sysdata.log_level )
act_info.c: REMOVE_BIT (ch->deaf, CHANNEL_COMM);
act_info.c: SET_BIT (ch->deaf, CHANNEL_RACETALK);
act_info.c: SET_BIT (ch->deaf, CHANNEL_AUCTION);
act_info.c: SET_BIT (ch->deaf, CHANNEL_TRAFFIC);
act_info.c: SET_BIT (ch->deaf, CHANNEL_CHAT);
act_info.c: SET_BIT (ch->deaf, CHANNEL_QUEST);
act_info.c: SET_BIT (ch->deaf, CHANNEL_PRAY);
act_info.c: SET_BIT (ch->deaf, CHANNEL_MUSIC);
act_info.c: SET_BIT (ch->deaf, CHANNEL_ASK);
act_info.c: SET_BIT (ch->deaf, CHANNEL_WARTALK);
act_info.c: SET_BIT (ch->deaf, CHANNEL_YELL);
act_info.c: SET_BIT (ch->deaf, CHANNEL_INFO);
act_info.c: SET_BIT (ch->deaf, CHANNEL_OOC);
act_info.c: SET_BIT (ch->deaf, CHANNEL_GEMOTE);
act_info.c: SET_BIT (ch->deaf, CHANNEL_SPOTLIGHT);
act_info.c: SET_BIT (ch->deaf, CHANNEL_GAMES);
act_info.c: /* if (ch->pcdata->clan)
act_info.c: SET_BIT (ch->deaf, CHANNEL_CLAN);
act_info.c: SET_BIT (ch->deaf, CHANNEL_GUILD);
act_info.c: if (ch->level >= LEVEL_IMMORTAL)
act_info.c: SET_BIT (ch->deaf, CHANNEL_AVTALK);
act_info.c: if (ch->level >= sysdata.log_level)
act_info.c: SET_BIT (ch->deaf, CHANNEL_COMM);
act_info.c: REMOVE_BIT (ch->deaf, bit);
act_info.c: SET_BIT (ch->deaf, bit);
act_info.c: IS_SET( ch->pcdata->flags, PCFLAG_PAGERON ) ? "[+] PAGER"
act_info.c: IS_SET( ch->pcdata->flags, PCFLAG_GAG ) ? "[+] GAG"
act_info.c: xIS_SET(ch->act, PLR_BRIEF ) ? "[+] BRIEF"
act_info.c: xIS_SET(ch->act, PLR_COMBINE ) ? "[+] COMBINE"
act_info.c: xIS_SET(ch->act, PLR_BLANK ) ? "[+] BLANK"
act_info.c: xIS_SET(ch->act, PLR_PROMPT ) ? "[+] PROMPT"
act_info.c: xIS_SET(ch->act, PLR_ANSI ) ? "[+] ANSI"
act_info.c: xIS_SET(ch->act, PLR_RIP ) ? "[+] RIP"
act_info.c: xIS_SET(ch->act, PLR_AUTOSAC ) ? "[+] AUTOSAC"
act_info.c: xIS_SET(ch->act, PLR_AUTOGOLD ) ? "[+] AUTOGOLD"
act_info.c: xIS_SET(ch->act, PLR_AUTOLOOT ) ? "[+] AUTOLOOT"
act_info.c: xIS_SET(ch->act, PLR_AUTOEXIT ) ? "[+] AUTOEXIT"
act_info.c: IS_SET( ch->pcdata->flags, PCFLAG_NORECALL ) ? "[+] NORECALL"
act_info.c: IS_SET( ch->pcdata->flags, PCFLAG_NOSUMMON ) ? "[+] NOSUMMON"
act_info.c: if ( !IS_SET( ch->pcdata->flags, PCFLAG_DEADLY ) )
act_info.c: xIS_SET(ch->act, PLR_SHOVEDRAG ) ? "[+] DRAG"
act_info.c: xIS_SET(ch->act, PLR_NICE ) ? "[+] NICE"
act_info.c: xIS_SET(ch->act, PLR_TELNET_GA ) ? "[+] TELNETGA"
act_info.c: IS_SET( ch->pcdata->flags, PCFLAG_GROUPWHO ) ? "[+] GROUPWHO"
act_info.c: IS_SET( ch->pcdata->flags, PCFLAG_NOINTRO ) ? "[+] NOINTRO"
act_info.c: ch->pcdata->pagerlen,
act_info.c: ch->wimpy );
act_info.c: xIS_SET(ch->act, PLR_ROOMVNUM ) ? "+"
act_info.c: xIS_SET(ch->act, PLR_AUTOMAP ) ? "+"
act_info.c: xIS_SET(ch->act, PLR_SILENCE ) ?
act_info.c: xIS_SET(ch->act, PLR_NO_EMOTE ) ?
act_info.c: xIS_SET(ch->act, PLR_NO_TELL ) ?
act_info.c: xIS_SET(ch->act, PLR_LITTERBUG )?
act_info.c: xIS_SET(ch->act, PLR_THIEF ) ?
act_info.c: xIS_SET(ch->act, PLR_KILLER ) ?
act_info.c: && IS_SET( ch->pcdata->flags, PCFLAG_DEADLY ) )
act_info.c: xSET_BIT (ch->act, bit);
act_info.c: xREMOVE_BIT(ch->act, bit);
act_info.c: SET_BIT (ch->pcdata->flags, bit);
act_info.c: REMOVE_BIT (ch->pcdata->flags, bit);
act_info.c: if xIS_SET(ch->act, PLR_AFK)
act_info.c: xREMOVE_BIT(ch->act, PLR_AFK);
act_info.c: xSET_BIT(ch->act, PLR_AFK);
act_info.c: if ( ch->pcdata->learned[sn] <= 0
act_info.c: if(i==skill_table[sn]->skill_level[ch->class] )
act_info.c: ch->pcdata->learned[sn] );
act_info.c: if ( IS_SET(ch->pcdata->flags, PCFLAG_PAGERON) )
act_info.c: ch_printf( ch, "Pager is now enabled at %d lines.\n\r", ch->pcdata->pagerlen );
act_info.c: ch->pcdata->pagerlen = atoi(arg);
act_info.c: if ( ch->pcdata->pagerlen < 5 )
act_info.c: ch->pcdata->pagerlen = 5;
act_info.c: ch_printf( ch, "Page pausing set to %d lines.\n\r", ch->pcdata->pagerlen );
act_info.c: if(!ch->pcdata->first_ignored)
act_info.c: for(temp = ch->pcdata->first_ignored; temp;
act_info.c: for(temp = ch->pcdata->first_ignored; temp; temp = next)
act_info.c: UNLINK(temp, ch->pcdata->first_ignored,
act_info.c: ch->pcdata->last_ignored,
act_info.c: else if(!strcmp(arg, "self") || nifty_is_name(arg, ch->name))
act_info.c: if(!ch->reply)
act_info.c: strcpy(arg, ch->reply->name);
act_info.c: for(temp = ch->pcdata->first_ignored, i = 0; temp;
act_info.c: UNLINK(temp, ch->pcdata->first_ignored,
act_info.c: ch->pcdata->last_ignored,
act_info.c: LINK(new, ch->pcdata->first_ignored,
act_info.c: ch->pcdata->last_ignored, next, prev);
act_info.c: for(temp = ch->pcdata->first_ignored; temp; temp = temp->next)
act_info.c: if(nifty_is_name(temp->name, ign_ch->name))
act_info.c: for ( mob = ch->in_room->first_person; mob; mob = ch->next_in_room )
act_info.c: if ( cost > ch->practice )
act_info.c: ch->practice -= 4;
act_info.c: ch->max_hit += add_hp;
act_info.c: if ( cost > ch->practice )
act_info.c: ch->train -= 1;
act_info.c: ch->max_mana += add_mana;
act_info.c: if ( ch->perm_def >= 255 )
act_info.c: if ( 1 > ch->train )
act_info.c: ch->train -= 1;
act_info.c: ch->perm_def += 1;
act_info.c: if ( ch->perm_str >= 255 )
act_info.c: if ( 1 > ch->train )
act_info.c: ch->train -= 1;
act_info.c: ch->perm_str += 1;
act_info.c: if ( ch->perm_int >= 255 )
act_info.c: if ( 1 > ch->train )
act_info.c: ch->train -= 1;
act_info.c: ch->perm_int += 1;
act_info.c: if ( ch->perm_cha >= 255 )
act_info.c: if ( 1 > ch->train )
act_info.c: ch->train -= 1;
act_info.c: ch->perm_cha += 1;
act_info.c: if ( ch->perm_int >= 255 )
act_info.c: if ( 1 > ch->train )
act_info.c: ch->train -= 1;
act_info.c: ch->perm_int += 1;
act_info.c: if ( ch->perm_lck >= 255 )
act_info.c: if ( 1 > ch->train )
act_info.c: ch->train -= 1;
act_info.c: ch->perm_lck += 1;
act_info.c: if ( ch->perm_wis >= 255 )
act_info.c: if ( 1 > ch->train )
act_info.c: ch->train -= 1;
act_info.c: ch->perm_wis += 1;
act_info.c: if ( ch->perm_dex >= 255 )
act_info.c: if ( 1 > ch->train )
act_info.c: ch->train -= 1;
act_info.c: ch->perm_dex += 1;
act_info.c: if ( ch->perm_con >= 255 )
act_info.c: if ( 1 > ch->train )
act_info.c: ch->train -= 1;
act_info.c: ch->perm_con += 1;
act_move.c: cur = ch->carry_weight;
act_move.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_NOFLOOR )
act_move.c: || ( ch->mount && !IS_AFFECTED( ch->mount, AFF_FLYING ) ) ) )
act_move.c: bug( "Falling (in a loop?) more than 80 rooms: vnum %d", ch->in_room->vnum );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_DOWN), ++fall );
act_move.c: if ( IS_DRUNK( ch, 2 ) && ( ch->position != POS_SHOVE )
act_move.c: && ( ch->position != POS_DRAG ) )
act_move.c: if ( ch->pcdata->nuisance && ch->pcdata->nuisance->flags > 8 &&
act_move.c: ( ch->position != POS_SHOVE ) && ( ch->position != POS_DRAG ) &&
act_move.c: number_percent() > (ch->pcdata->nuisance->flags*ch->pcdata->nuisance->power))
act_move.c: pexit = get_exit( ch->in_room, door );
act_move.c: sprintf( buf, "move_char: %s to door %d", ch->name, pexit->vdir );
act_move.c: if ( IS_NPC(ch) && xIS_SET(ch->act, ACT_MOUNTED) )
act_move.c: in_room = ch->in_room;
act_move.c: if ( drunk && ch->position != POS_MOUNTED
act_move.c: && ch->in_room->sector_type != SECT_WATER_SWIM
act_move.c: && ch->in_room->sector_type != SECT_WATER_NOSWIM
act_move.c: && ch->in_room->sector_type != SECT_UNDERWATER
act_move.c: && ch->in_room->sector_type != SECT_OCEANFLOOR )
act_move.c: ch->position = POS_RESTING;
act_move.c: ch->position = POS_INCAP;
act_move.c: && ch->master
act_move.c: && in_room == ch->master->in_room )
act_move.c: if ( number_percent( ) <= chance && ch->exp < 80000000 )
act_move.c: sprintf(logbuf, "%s has died inside a UGT chamber.\n\r", ch->name );
act_move.c: && ch->in_room->area != to_room->area )
act_move.c: if ( ch->level < to_room->area->low_hard_range )
act_move.c: switch( to_room->area->low_hard_range - ch->level )
act_move.c: if ( ch->level > to_room->area->hi_hard_range && ch->level == -1 )
act_move.c: if ( iClass != ch->class
act_move.c: && !IS_SET( ch->in_room->area->flags, AFLAG_NOPKILL )
act_move.c: if ( ch->mount && !IS_AFFECTED( ch->mount, AFF_FLYING ) )
act_move.c: if ( !ch->mount && !IS_AFFECTED(ch, AFF_FLYING) )
act_move.c: if ( (ch->mount && !IS_FLOATING(ch->mount)) || !IS_FLOATING(ch) )
act_move.c: if ( ch->mount )
act_move.c: if ( ch->mount && IS_AFFECTED( ch->mount, AFF_FLYING ) )
act_move.c: if ( !found && !ch->mount )
act_move.c: || drunk || ch->mental_state < -90 )
act_move.c: if ( ch->mount )
act_move.c: switch (ch->mount->position)
act_move.c: if ( !IS_FLOATING(ch->mount) )
act_move.c: if ( ch->mount->move < move )
act_move.c: if ( ch->move < move )
act_move.c: if ( ch->mount )
act_move.c: ch->mount->move -= move;
act_move.c: ch->move -= move;
act_move.c: int count = ch->mount ? 1 : 0;
act_move.c: if ( ch->mount && count == to_room->tunnel )
act_move.c: && ( IS_NPC(ch) || !xIS_SET(ch->act, PLR_WIZINVIS) ) )
act_move.c: if ( ch->mount )
act_move.c: if ( IS_AFFECTED( ch->mount, AFF_FLOATING ) )
act_move.c: if ( IS_AFFECTED( ch->mount, AFF_FLOATING ) )
act_move.c: if ( ch->position == POS_SHOVE )
act_move.c: if ( ch->position == POS_DRAG )
act_move.c: if ( ch->mount )
act_move.c: act( AT_ACTION, buf, ch, NULL, ch->mount, TO_NOTVICT );
act_move.c: if ( ch->mount )
act_move.c: rprog_leave_trigger( ch->mount );
act_move.c: if( ch->mount )
act_move.c: char_from_room( ch->mount );
act_move.c: char_to_room( ch->mount, to_room );
act_move.c: && ( IS_NPC(ch) || !xIS_SET(ch->act, PLR_WIZINVIS) ) )
act_move.c: if ( ch->mount )
act_move.c: if ( IS_AFFECTED( ch->mount, AFF_FLOATING ) )
act_move.c: if ( IS_AFFECTED( ch->mount, AFF_FLOATING ) )
act_move.c: if ( ch->position == POS_SHOVE )
act_move.c: if ( ch->position == POS_DRAG )
act_move.c: if ( ch->mount )
act_move.c: act( AT_ACTION, buf, ch, NULL, ch->mount, TO_ROOM );
act_move.c: && ch->in_room->area != to_room->area )
act_move.c: if ( ch->level < to_room->area->low_soft_range )
act_move.c: if ( ch->level > to_room->area->hi_soft_range )
act_move.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_DEATH ) && !IS_IMMORTAL( ch ) )
act_move.c: if ( xIS_SET(ch->act, PLR_BRIEF) )
act_move.c: xREMOVE_BIT(ch->act, PLR_BRIEF);
act_move.c: xSET_BIT(ch->act, PLR_BRIEF);
act_move.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_DEATH ) && !IS_IMMORTAL( ch ) )
act_move.c: ch->name, ch->in_room->vnum );
act_move.c: for ( fch = from_room->first_person; fch; fch = fch->next_in_room )
act_move.c: nextinroom = fch->next_in_room;
act_move.c: && fch->master == ch
act_move.c: && fch->position == POS_STANDING )
act_move.c: if ( ch->in_room->first_content )
act_move.c: || ( ch->mount && !IS_AFFECTED( ch->mount, AFF_FLOATING ) ) )
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_NORTH), 0 );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_EAST), 0 );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_SOUTH), 0 );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_WEST), 0 );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_UP), 0 );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_DOWN), 0 );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_NORTHEAST), 0 );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_NORTHWEST), 0 );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_SOUTHEAST), 0 );
act_move.c: move_char( ch, get_exit(ch->in_room, DIR_SOUTHWEST), 0 );
act_move.c: for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c: if ( (pexit = get_exit( ch->in_room, door )) == NULL )
act_move.c: && pexit_rev->to_room == ch->in_room )
act_move.c: for ( rch = pexit->to_room->first_person; rch; rch = rch->next_in_room )
act_move.c: && pexit_rev->to_room == ch->in_room )
act_move.c: for ( rch = pexit->to_room->first_person; rch; rch = rch->next_in_room )
act_move.c: for ( obj = ch->first_carrying; obj; obj = obj->next_content )
act_move.c: if ( (ship = ship_from_entrance(ch->in_room->vnum)) != NULL )
act_move.c:/* if ( ( ship = ship_in_room( ch->in_room , arg2 ) ) == NULL )
act_move.c: if ( ( ship = ship_in_room( ch->in_room , arg2 ) ) != NULL )
act_move.c: if ( (ship = ship_from_entrance(ch->in_room->vnum)) != NULL )
act_move.c: if ( ( ship = ship_in_room( ch->in_room, arg2 ) ) != NULL )
act_move.c: if ( ch->fighting )
act_move.c: && pexit_rev->to_room == ch->in_room )
act_move.c: for ( rch = to_room->first_person; rch; rch = rch->next_in_room )
act_move.c: ch->mana -= 500;
act_move.c: damage( ch, ch, ( ch->max_hit / 20 ) + 10, gsn_bashdoor );
act_move.c: damage( ch, ch, ( ch->max_hit / 20 ) + 10, gsn_bashdoor );
act_move.c: for ( gch = ch->in_room->first_person; gch; gch = gch->next_in_room )
act_move.c: && !gch->fighting
act_move.c: && ( ch->level - gch->level <= 4 )
act_move.c: switch ( ch->position )
act_move.c: if ( xIS_SET(ch->act, PLR_TENT ) )
act_move.c: ch->position = POS_STANDING;
act_move.c: xREMOVE_BIT(ch->act, PLR_TENT);
act_move.c: ch->position = POS_STANDING;
act_move.c: ch->position = POS_STANDING;
act_move.c: ch->position = POS_STANDING;
act_move.c: switch ( ch->position )
act_move.c: ch->position = POS_SITTING;
act_move.c: ch->position = POS_SITTING;
act_move.c: ch->position = POS_SITTING;
act_move.c: if (xIS_SET(ch->act, PLR_EBAR) || xIS_SET(ch->act, PLR_ESPHERE) || xIS_SET(ch->act, PLR_BBARRIER) ||
act_move.c: xIS_SET(ch->act, PLR_DDD) || xIS_SET(ch->act, PLR_DESTRUCTO) || xIS_SET(ch->act, PLR_EBALL) )
act_move.c: switch ( ch->position )
act_move.c: ch->position = POS_RESTING;
act_move.c: ch->position = POS_RESTING;
act_move.c: ch->position = POS_RESTING;
act_move.c: if (xIS_SET(ch->act, PLR_EBAR) || xIS_SET(ch->act, PLR_ESPHERE) || xIS_SET(ch->act, PLR_BBARRIER) ||
act_move.c: xIS_SET(ch->act, PLR_DDD) || xIS_SET(ch->act, PLR_DESTRUCTO) || xIS_SET(ch->act, PLR_EBALL) )
act_move.c: switch ( ch->position )
act_move.c: if ( ch->mental_state > 30 && (number_percent()+10) < ch->mental_state )
act_move.c: ch->position = POS_SLEEPING;
act_move.c: if ( ch->mental_state > 30 && (number_percent()+5) < ch->mental_state )
act_move.c: ch->position = POS_SLEEPING;
act_move.c: if ( ch->mental_state > 30 && number_percent() < ch->mental_state )
act_move.c: for ( pobj = ch->first_carrying; pobj; pobj = pobj->next_content )
act_move.c: ch->position = POS_SLEEPING;
act_move.c: xSET_BIT(ch->act, PLR_TENT);
act_move.c: ch->position = POS_SLEEPING;
act_move.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_DEATH ) && !IS_IMMORTAL( ch ) )
act_move.c: ch->name, ch->in_room->vnum );
act_move.c: ROOM_INDEX_DATA *start = ch->in_room, *dest;
act_move.c: nch_next = nch->next_in_room;
act_move.c: for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c: for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c: if ( ch->in_room->sector_type != SECT_INSIDE && IS_OUTSIDE(ch) )
act_move.c: for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c: for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c: if ( ch->in_room->sector_type == SECT_INSIDE || !IS_OUTSIDE(ch) )
act_move.c: for ( pexit = ch->in_room->first_exit; pexit; pexit = pexit->next )
act_move.c: if ( (room=ch->in_room) == NULL )
act_move.c: bug( "pullcheck: %s not in a room?!?", ch->name );
act_move.c: if ( (ch->mount && !IS_FLOATING(ch->mount))
act_move.c: || (!ch->mount && !IS_FLOATING(ch)) )
act_move.c: if ( (ch->mount && !IS_FLOATING(ch->mount))
act_move.c: || (!ch->mount && !IS_FLOATING(ch)) )
act_move.c: if ( ch->mount )
act_move.c: char_from_room(ch->mount);
act_move.c: char_to_room(ch->mount, xit->to_room);
act_move.c: do_look(ch->mount, "auto");
act_obj.c: && (ch->level < sysdata.level_getobjnotake ) )
act_obj.c: if ( ch->level - obj->value[5] > 5
act_obj.c: || obj->value[5] - ch->level > 5 )
act_obj.c: if ( ch->carry_number + get_obj_number( obj ) > can_carry_n( ch ) )
act_obj.c: if ( ch->carry_weight + weight > can_carry_w( ch ) )
act_obj.c: && !IS_NPC( ch ) && str_cmp( container->name+7, ch->name ) )
act_obj.c: if ( xIS_SET(ch->in_room->room_flags, ROOM_CLANSTOREROOM)
act_obj.c: if ( clan->storeroom == ch->in_room->vnum )
act_obj.c: switch(ch->race){
act_obj.c: ch->gold += amt;
act_obj.c: if ( (ch->carry_number + number) > can_carry_n(ch) )
act_obj.c: obj = get_obj_list( ch, arg1, ch->in_room->first_content );
act_obj.c: save_house_by_vnum(ch->in_room->vnum); /* House Object Saving */
act_obj.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_CLANSTOREROOM ) )
act_obj.c: for ( obj = ch->in_room->last_content; obj; obj = obj_next )
act_obj.c: || ch->carry_number >= can_carry_n( ch )
act_obj.c: || ch->carry_weight >= can_carry_w( ch )
act_obj.c: save_house_by_vnum(ch->in_room->vnum); /* House Object Saving */
act_obj.c: if ( ch->carry_weight + container->weight > can_carry_w( ch ) )
act_obj.c: && str_cmp( name, ch->name ) )
act_obj.c: && str_cmp( name, ch->name )
act_obj.c: && str_cmp( container->action_desc, ch->name ) )
act_obj.c: && !IS_NPC(ch) && str_cmp( name, ch->name )
act_obj.c: && !IS_NPC(ch) && IS_SET( ch->pcdata->flags, PCFLAG_DEADLY )
act_obj.c: && container->value[4] - ch->level < 6
act_obj.c: && container->value[4] - ch->level > -6 )
act_obj.c: if ( str_cmp( name, ch->name ) && !IS_IMMORTAL(ch) )
act_obj.c: for ( gch = first_char; gch; gch = gch->next )
act_obj.c: && !str_cmp( name, gch->name ) )
act_obj.c: && str_cmp( ch->name, container->name+7 ) )
act_obj.c: || ch->carry_number >= can_carry_n( ch )
act_obj.c: || ch->carry_weight >= can_carry_w( ch )
act_obj.c: if ( ch->carry_weight + container->weight > can_carry_w(ch) )
act_obj.c: if ( xIS_SET(ch->in_room->room_flags, ROOM_CLANSTOREROOM)
act_obj.c: if ( clan->storeroom == ch->in_room->vnum )
act_obj.c: for ( obj = ch->first_carrying; obj; obj = obj_next )
act_obj.c: if ( xIS_SET(ch->in_room->room_flags, ROOM_CLANSTOREROOM)
act_obj.c: if ( clan->storeroom == ch->in_room->vnum )
act_obj.c: for( obj = ch->first_carrying; obj; obj = obj_next )
act_obj.c:/* if( !can_drop_obj( ch, obj ) && ch->level < LEVEL_IMMORTAL )
act_obj.c: if ( !IS_NPC(ch) && xIS_SET( ch->act, PLR_LITTERBUG ) )
act_obj.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_NOBEAN ) && obj->item_type == ITEM_SENSU )
act_obj.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_NODROP )
act_obj.c: if ( ch->gold < number )
act_obj.c: ch->gold -= number;
act_obj.c: for ( obj = ch->in_room->first_content; obj; obj = obj_next )
act_obj.c: obj_to_room( create_money( number ), ch->in_room );
act_obj.c: save_house_by_vnum(ch->in_room->vnum);
act_obj.c: obj = obj_to_room( obj, ch->in_room );
act_obj.c: if ( xIS_SET(ch->in_room->room_flags, ROOM_CLANSTOREROOM) )
act_obj.c: if ( clan->storeroom == ch->in_room->vnum )
act_obj.c: if ( xIS_SET( ch->in_room->room_flags, ROOM_NODROPALL )
act_obj.c: || xIS_SET( ch->in_room->room_flags, ROOM_CLANSTOREROOM ) )
act_obj.c: for ( obj = ch->first_carrying; obj; obj = obj_next )
act_obj.c: obj_next = ch->first_carrying;
act_obj.c: obj = obj_to_room( obj, ch->in_room );
act_obj.c: save_house_by_vnum(ch->in_room->vnum); /* House Object Saving */
act_obj.c: if ( ch->gold < amount )
act_obj.c: ch->gold -= amount;
act_obj.c: if ( !IS_NPC(ch) && (!IS_PKILL(ch) || (IS_PKILL(ch) && !IS_SET(ch->pcdata->flags, PCFLAG_GAG))) )
act_obj.c: ch->armor += apply_ac( obj, obj->wear_loc );
act_obj.c: ch->armor -= apply_ac( obj, obj->wear_loc );
act_obj.c: ch->armor -= apply_ac( obj, obj->wear_loc );
act_obj.c: && ch->carry_number + get_obj_number( obj ) > can_carry_n( ch ) )
act_obj.c: xREMOVE_BIT(ch->act, PLR_ACCELERATE );
act_obj.c: ch->mod = 1;
act_obj.c: ch->mod_str = 0;
act_obj.c: ch->mod_int = 0;
act_obj.c: ch->mod_dex = 0;
act_obj.c: ch->mod_wis = 0;
act_obj.c: ch->mod_con = 0;
act_obj.c: ch->mod_cha = 0;
act_obj.c: ch->mod_lck = 0;
act_obj.c: if ( IS_NPC(ch) || ch->pcdata->learned[gsn_dual_wield] )
act_obj.c: for ( otmp = ch->first_carrying; otmp; otmp = otmp->next_content )
act_obj.c: if ( ch->exp < obj->value[4] )
act_obj.c: && ch->class == CLASS_WARRIOR )
act_obj.c: && ch->class == CLASS_PALADIN )
act_obj.c: && ch->class == CLASS_MAGE )
act_obj.c: && ch->class == CLASS_THIEF )
act_obj.c: && ch->class == CLASS_VAMPIRE )
act_obj.c: && ch->class == CLASS_DRUID )
act_obj.c: && ch->class == CLASS_RANGER )
act_obj.c: && ch->class == CLASS_AUGURER )
act_obj.c: && ch->class == CLASS_CLERIC )) )
act_obj.c: for ( obj = ch->first_carrying; obj; obj = obj_next )
act_obj.c: for ( obj = ch->first_carrying; obj != NULL ; obj = obj_next )
act_obj.c: for ( obj = ch->first_carrying; obj; obj = obj->next_content )
act_obj.c: obj = get_obj_list_rev( ch, arg, ch->in_room->last_content );
act_obj.c: || IS_NPC(ch) || !IS_SET( ch->pcdata->flags, PCFLAG_DEADLY ) )
act_obj.c: switch( ch->in_room->sector_type )
act_obj.c: if ( move > ch->move )
act_obj.c: ch->move -= move;
act_obj.c: if ( arg[0] == '\0' || !str_cmp( arg, ch->name ) )
act_obj.c: if ( xIS_SET(ch->in_room->room_flags, ROOM_CLANSTOREROOM) )
act_obj.c: obj = get_obj_list_rev( ch, arg, ch->in_room->last_content );
act_obj.c: if ( ch->level - obj->value[5] > 5
act_obj.c: || obj->value[5] - ch->level > 5 )
act_obj.c: if ( !IS_NPC( ch ) && ch->pcdata->deity && ch->pcdata->deity->name[0] != '\0' )
act_obj.c: strcpy( name, ch->pcdata->deity->name );
act_obj.c: else if ( !IS_NPC( ch ) && ch->pcdata->clan && ch->pcdata->clan->deity[0] != '\0' )
act_obj.c: strcpy( name, ch->pcdata->clan->deity );
act_obj.c: ch->gold += 1;
act_obj.c: save_house_by_vnum(ch->in_room->vnum); /* Prevent House Object Duplication */
act_obj.c: for ( vch = ch->in_room->first_person; vch; vch = vch_next )
act_obj.c: vch_next = vch->next_in_room;
act_obj.c: if ( !IS_NPC( vch ) && xIS_SET( vch->act, PLR_WIZINVIS )
act_obj.c: && vch->pcdata->wizinvis >= LEVEL_IMMORTAL )
act_obj.c: if ( arg[0] == '\0' && !ch->fighting )
act_obj.c: if ( ch->fighting )
act_obj.c: templvl = ch->level;
act_obj.c: ch->level = LEVEL_HERO; /* make sure EQ doesn't get lost */
act_obj.c: contents = ch->in_room->last_content;
act_obj.c: ch->level = templvl;
act_obj.c: if ( ch->level < 3 )
act_obj.c: if ( ch->level < auction->item->level )
act_obj.c: if (newbet > ch->gold)
act_obj.c: ch->gold -= newbet; /* substract the gold - important :) */
act_obj.c: rch = rch->next_in_room, chcnt++ )
act_obj.c: if ( IS_NPC( vch ) && xIS_SET( vch->act, ACT_HARDHAT ) )
act_obj.c: damage( vch, vch, dam*vch->level, TYPE_UNDEFINED );
act_obj.c: obj = recursive_note_find(ch->first_carrying, argument);
act_wiz.c: if ( !IS_NPC(ch) && ch->pcdata )
act_wiz.c: if ( IS_SET(ch->pcdata->flags, PCFLAG_DND) )
act_wiz.c: REMOVE_BIT(ch->pcdata->flags, PCFLAG_DND);
act_wiz.c: xREMOVE_BIT(ch->act, PLR_DND );
act_wiz.c: SET_BIT(ch->pcdata->flags, PCFLAG_DND);
act_wiz.c: xSET_BIT(ch->act, PLR_DND );
act_wiz.c: if ( IS_IMMORTAL(ch) && xIS_SET(ch->act, PLR_SEMI) )
act_wiz.c: xREMOVE_BIT(ch->act, PLR_SEMI );
act_wiz.c: ch->hit = 100;
act_wiz.c: xSET_BIT(ch->act, PLR_SEMI );
act_wiz.c: sprintf( fname, "%s%s", WATCH_DIR, strlower( ch->name ) );
act_wiz.c: sprintf( fname, "%s%s", WATCH_DIR, strlower( ch->name ) );
act_wiz.c: sprintf( fname, "%s%s", WATCH_DIR, strlower( ch->name ) );
act_wiz.c: if ( !str_cmp(ch->name, pw->imm_name) )
act_wiz.c: if ( !str_cmp(ch->name, pw->imm_name) )
act_wiz.c: if ( !str_cmp(ch->name, pw->imm_name)
act_wiz.c: pinsert->imm_name = str_dup( strlower( ch->name ) );
act_wiz.c: if ( !str_cmp(ch->name, pw->imm_name)
act_wiz.c: pinsert->imm_name = str_dup( strlower( ch->name ) );
act_wiz.c: if(!str_cmp(ch->name, pw->imm_name)
act_wiz.c: pinsert->imm_name = str_dup(strlower(ch->name));
act_wiz.c: ch->name, cmd->name, level );
act_wiz.c: victim->pcdata->authed_by = QUICKLINK( ch->name );
act_wiz.c: DISPOSE( ch->pcdata->bamfin );
act_wiz.c: ch->pcdata->bamfin = str_dup( argument );
act_wiz.c: DISPOSE( ch->pcdata->bamfout );
act_wiz.c: ch->pcdata->bamfout = str_dup( argument );
act_wiz.c: DISPOSE( ch->pcdata->rank );
act_wiz.c: ch->pcdata->rank = str_dup( "" );
act_wiz.c: ch->pcdata->rank = str_dup( argument );
act_wiz.c: ch_printf( victim, "%s brings you back from retirement.\n\r", ch->name );
act_wiz.c: ch_printf( victim, "Courtesy of %s, you are now a retired immortal.\n\r", ch->name );
act_wiz.c: sprintf( buf, "&z[&WDBZU&z]&W %s has kicked %s off the MUD!&D", ch->name, victim->name );
act_wiz.c: if ( xIS_SET(ch->act, PLR_NO_EMOTE) ) {
act_wiz.c: if ( xIS_SET(ch->act, PLR_NO_EMOTE) ) {
act_wiz.c: echo_to_room ( color, ch->in_room, argument );
act_wiz.c: echo_to_room ( AT_IMMORT, ch->in_room, argument );
act_wiz.c: location = ch->in_room;
act_wiz.c: "Your DND flag just foiled %s's transfer command.\n\r", ch->name);
act_wiz.c: sprintf(buf, "%d", ch->regoto);
act_wiz.c: || wch->in_room == NULL)
act_wiz.c: location = wch->in_room;
act_wiz.c: && IS_SET(wch->pcdata->flags, PCFLAG_DND)
act_wiz.c: wch->name);
act_wiz.c: "Your DND flag just foiled %s's at command.\n\r", ch->name);
act_wiz.c: "Your DND flag just foiled %s's atmob command\n\r", ch->name );
act_wiz.c: original = ch->in_room;
act_wiz.c: "Your DND flag just foiled %s's atobj command\n\r", ch->name );
act_wiz.c: original = ch->in_room;
act_wiz.c: original = ch->in_room;
act_wiz.c: location = ch->in_room;
act_wiz.c: location = ( arg[0] == '\0' ) ? ch->in_room : find_location( ch, arg );
act_wiz.c: if ( ch->in_room != location && room_is_private( location ) )
act_wiz.c: switch( ch->in_room->sector_type ) {
act_wiz.c: for ( rch = location->first_person; rch; rch = rch->next_in_room )
act_wiz.c: one_argument( rch->name, buf );
act_wiz.c: vch_next = vch->next;
act_wiz.c: if ( vch->fighting )
act_wiz.c: if ( !IS_NPC(victim) && ch->level < 114 )
act_wiz.c: sprintf( buf, "Reboot by %s.", ch->name );
act_wiz.c: for ( vch = first_char; vch; vch = vch->next )
act_wiz.c: sprintf( buf, "Shutdown by %s.", ch->name );
act_wiz.c: for ( vch = first_char; vch; vch = vch->next )
act_wiz.c: if ( d->snoop_by == ch->desc )
act_wiz.c: if ( ch->desc )
act_wiz.c: for ( d = ch->desc->snoop_by; d; d = d->snoop_by )
act_wiz.c: victim->desc->snoop_by = ch->desc;
act_wiz.c: if ( !ch->desc )
act_wiz.c: if ( ch->desc->original )
act_wiz.c: if ( !IS_NPC(victim) && ch->level < LEVEL_GREATER )
act_wiz.c: ch->desc->character = victim;
act_wiz.c: ch->desc->original = ch;
act_wiz.c: victim->desc = ch->desc;
act_wiz.c: ch->desc = NULL;
act_wiz.c: ch->switched = victim;
act_wiz.c: if ( !ch->desc )
act_wiz.c: if ( !ch->desc->original )
act_wiz.c: xREMOVE_BIT( ch->affected_by, AFF_POSSESS );
act_wiz.c: ch->desc->character = ch->desc->original;
act_wiz.c: ch->desc->original = NULL;
act_wiz.c: ch->desc->character->desc = ch->desc;
act_wiz.c: ch->desc->character->switched = NULL;
act_wiz.c: ch->desc = NULL;
act_wiz.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
act_wiz.c: char_to_room( victim, ch->in_room );
act_wiz.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
act_wiz.c: obj = obj_to_room( obj, ch->in_room );
act_wiz.c: for ( victim = ch->in_room->first_person; victim; victim = vnext )
act_wiz.c: for ( obj = ch->in_room->first_content; obj; obj = obj_next )
act_wiz.c: save_house_by_vnum(ch->in_room->vnum); /* Prevent House Object Duplication */
act_wiz.c: sprintf( buf2, "%s balzhuring %s", ch->name, buf );
act_wiz.c: sprintf( buf2, "%s destroying %s", ch->name, buf );
act_wiz.c: sprintf( buf, "%s%s", GOD_DIR, capitalize(ch->name) );
act_wiz.c: if ( !ch->pcdata )
act_wiz.c: ch->pcdata->restore_time = current_time;
act_wiz.c: vch_next = vch->next;
act_wiz.c: vch->mana = vch->mana*2;
act_wiz.c: vch->hit = vch->hit*2;
act_wiz.c: if ( !ch->pcdata )
act_wiz.c: ch->pcdata->restore_time = current_time;
act_wiz.c: vch_next = vch->next;
act_wiz.c: vch->hit = vch->max_hit*1.5;
act_wiz.c: vch->hit = vch->max_hit;
act_wiz.c: vch->mana = vch->max_mana;
act_wiz.c: vch->move = vch->max_move;
act_wiz.c: vch->pcdata->condition[COND_BLOODTHIRST] = (10 + vch->level);
act_wiz.c: if ( !ch->pcdata )
act_wiz.c: if ( !ch->pcdata->restore_time )
act_wiz.c: time_passed = current_time - ch->pcdata->restore_time;
act_wiz.c: ch_printf( victim, "%s is attempting to freeze you.\n\r", ch->name );
act_wiz.c: victim->pcdata->silenced_by = STRALLOC(ch->name);
act_wiz.c: if( str_cmp(ch->name, victim->pcdata->silenced_by) )
act_wiz.c: for ( rch = ch->in_room->first_person; rch; rch = rch->next_in_room )
act_wiz.c: if ( rch->fighting )
act_wiz.c: for ( pwatch = first_watch; pwatch; pwatch = pwatch->next )
act_wiz.c: fprintf( fp, "%d %s~%s~%s~\n", pwatch->imm_level, pwatch->imm_name,
act_wiz.c: pwatch->target_name?pwatch->target_name:" ",
act_wiz.c: pwatch->player_site?pwatch->player_site:" " );
act_wiz.c: vch_next = vch->next;
act_wiz.c: ch->pcdata->wizinvis = level;
act_wiz.c: ch->mobinvis = level;
act_wiz.c: if ( ch->pcdata->wizinvis < 2 )
act_wiz.c: ch->pcdata->wizinvis = ch->level;
act_wiz.c: if ( ch->mobinvis < 2 )
act_wiz.c: ch->mobinvis = ch->level;
act_wiz.c: if ( xIS_SET(ch->act, PLR_WIZINVIS) )
act_wiz.c: xREMOVE_BIT(ch->act, PLR_WIZINVIS);
act_wiz.c: xSET_BIT(ch->act, PLR_WIZINVIS);
act_wiz.c: if ( xIS_SET(ch->act, PLR_HOLYLIGHT) )
act_wiz.c: xREMOVE_BIT(ch->act, PLR_HOLYLIGHT);
act_wiz.c: xSET_BIT(ch->act, PLR_HOLYLIGHT);
act_wiz.c: ch->name, r_lo, r_hi );
act_wiz.c: ch_printf( victim, "%s has flushed your area data and reset it.\r\n", ch->name );
act_wiz.c: ch_printf( victim, "%s has removed your vnum range.\r\n", ch->name );
act_wiz.c: ch_printf( victim, "%s has assigned you the vnum range %d - %d.\r\n", ch->name, lo, hi );
act_wiz.c: ch->name, o_lo, o_hi );
act_wiz.c: ch->name, m_lo, m_hi );
act_wiz.c: char_to_room( d->character, ch->in_room );
act_wiz.c: sprintf( buf2, "%s mortalizing %s", ch->name, buf );
act_wiz.c: sprintf( buf2, "%s mortalizing %s", ch->name, buf );
act_wiz.c: char_to_room( d->character, ch->in_room );
act_wiz.c: ch->name, argument );
act_wiz.c: ch_printf( victim, "%s has removed your bestowed commands.\n\r", ch->name );
act_wiz.c: ch->name, argument );
act_wiz.c: ech_next = ech->next;
act_wiz.c: if ( ech->fighting )
act_wiz.c: if ( URANGE(pArea->low_m_vnum, ech->pIndexData->vnum,
act_wiz.c: pArea->hi_m_vnum) == ech->pIndexData->vnum ||
act_wiz.c: (ech->in_room && ech->in_room->area == pArea) )
act_wiz.c: if ( ech->in_room && ech->in_room->area == pArea )
act_wiz.c: ech_next = ech->next_in_room;
act_wiz.c: if ( ech->fighting )
act_wiz.c: sprintf( buf2, "%s destroying %s", ch->name, buf );
act_wiz.c: sprintf( buf2, "%s destroying %s", ch->name, buf );
act_wiz.c: sprintf( buf2, "%s destroying %s", ch->name, buf );
act_wiz.c: sprintf( buf, "%s destroying %s", ch->name, arg );
act_wiz.c: return ch->name;
act_wiz.c: one_argument (ch->name, name); /* copy the first word into name */
act_wiz.c: for (rch = ch->in_room->first_person; rch && (rch != ch);rch =
act_wiz.c: rch->next_in_room)
act_wiz.c: if (is_name (name, rch->name))
act_wiz.c: old_room = ch->in_room;
act_wiz.c: old_room = ch->in_room;
act_wiz.c: victim->pcdata->helled_by = STRALLOC(ch->name);
act_wiz.c: location = ch->in_room;
act_wiz.c:/*ch->in_room = get_room_index(8);*/
act_wiz.c:/*ch->in_room = location; The case of unhell self, etc.*/
act_wiz.c: location = ch->in_room;
act_wiz.c: if( str_cmp(ch->name, victim->pcdata->helled_by) )
act_wiz.c: t->tm_mon+1, t->tm_mday, ch->in_room ? ch->in_room->vnum : 0,
act_wiz.c: IS_NPC( ch ) ? ch->short_descr : ch->name, argument );
act_wiz.c: ch_printf(ch, "Kill history for %s:\n\r", vch->name);
act_wiz.c: vch->pcdata->killed[track].vnum; track++)
act_wiz.c: tmob = get_mob_index(vch->pcdata->killed[track].vnum);
act_wiz.c: vch->pcdata->killed[track].count);
act_wiz.c: if( !ch->desc )
act_wiz.c: switch( ch->substate )
act_wiz.c: if ( !ch->pnote )
act_wiz.c: if ( ch->dest_buf != ch->pnote )
act_wiz.c: bug( "do_project: sub_writing_note: ch->dest_buf != ch->pnote", 0 );
act_wiz.c: STRFREE( ch->pnote->text );
act_wiz.c: ch->pnote->text = copy_buffer( ch );
act_wiz.c: if ( !ch->dest_buf )
act_wiz.c: bug( "do_project: sub_project_desc: NULL ch->dest_buf", 0 );
act_wiz.c: ch->substate = SUB_NONE;
act_wiz.c: pproject = ch->dest_buf;
act_wiz.c: ch->substate = ch->tempnum;
act_wiz.c: if ( MINE &&(!pproject->owner||str_cmp( ch->name, pproject->owner))
act_wiz.c: && (!pproject->coder || str_cmp( ch->name, pproject->coder )) )
act_wiz.c: str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c: str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c: ch->tempnum = SUB_NONE;
act_wiz.c: ch->substate = SUB_PROJ_DESC;
act_wiz.c: ch->dest_buf = pproject;
act_wiz.c: if( str_cmp(ch->pcdata->council_name, "Code Council") &&
act_wiz.c: !str_cmp(pproject->owner, ch->name ) )
act_wiz.c: pproject->owner = STRALLOC( ch->name );
act_wiz.c: if ( pproject->coder && !str_cmp(ch->name, pproject->coder))
act_wiz.c: pproject->coder = str_dup( ch->name );
act_wiz.c: if( pproject->owner && str_cmp( pproject->owner, ch->name ) &&
act_wiz.c: && pproject->coder && str_cmp(pproject->coder, ch->name) &&
act_wiz.c: str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c: ch->substate = SUB_WRITING_NOTE;
act_wiz.c: ch->dest_buf = ch->pnote;
act_wiz.c: start_editing( ch, ch->pnote->text);
act_wiz.c: STRFREE(ch->pnote->subject);
act_wiz.c: ch->pnote->subject = STRALLOC( argument );
act_wiz.c: if( pproject->owner && str_cmp(ch->name, pproject->owner) &&
act_wiz.c: pproject->coder && str_cmp(ch->name, pproject->coder) &&
act_wiz.c: str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c: if ( !ch->pnote )
act_wiz.c: if ( !ch->pnote->subject )
act_wiz.c: ch->pnote->date = STRALLOC( strtime );
act_wiz.c: ch->pnote->sender = ch->name;
act_wiz.c: plog = ch->pnote;
act_wiz.c: ch->pnote = NULL;
act_wiz.c: str_cmp(ch->name, pproject->owner) && get_trust(ch) < LEVEL_SAVIOR
act_wiz.c: && str_cmp(ch->name, pproject->coder)
act_wiz.c: && str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c: if( pproject->owner && str_cmp(ch->name, pproject->owner) &&
act_wiz.c: pproject->coder && str_cmp(ch->name, pproject->coder ) &&
act_wiz.c: str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c: str_cmp(ch->name, pproject->owner) && get_trust(ch) < LEVEL_SAVIOR
act_wiz.c: && str_cmp(ch->name, pproject->coder )
act_wiz.c: && str_cmp(ch->pcdata->council_name, "Code Council"))
act_wiz.c: if ( inroom && ch->in_room != d->character->in_room )
act_wiz.c: if ( inarea && ch->in_room->area != d->character->in_room->area )
act_wiz.c: if ( ch->pcdata->area )
ban.c: if (!ch->desc) /* No desc means no go :) */
ban.c: switch ( ch->substate ) {
ban.c: ch->tempnum = SUB_NONE;
ban.c: if (!ch->desc) /* No desc is a bad thing */
ban.c: if (!ch->desc)
ban.c: switch ( ch->substate ) {
ban.c: temp->ban_by = str_dup ( ch->name );
ban.c: pban->ban_by = str_dup ( ch->name );
ban.c: temp->ban_by = str_dup ( ch->name );
ban.c: pban->ban_by = str_dup ( ch->name );
ban.c: temp->ban_by = str_dup ( ch->name );
ban.c: pban->ban_by = str_dup ( ch->name );
ban.c: ch->substate = SUB_BAN_DESC;
ban.c: ch->dest_buf = pban;
ban.c: pban = ch->dest_buf;
ban.c: bug ("do_ban: sub_ban_desc: NULL ch->dest_buf", 0);
ban.c: ch->substate = SUB_NONE;
ban.c: ch->substate = ch->tempnum;
ban.c: for ( i = 0; i < (int) ( strlen( ch->desc->host ) ); i++ )
ban.c: new_host[i] = LOWER( ch->desc->host[i] );
ban.c: if ( type == BAN_CLASS && pban->flag == ch->class )
ban.c: if ( ch->level > pban->level )
ban.c: pban->name, ch->desc->host );
ban.c: if ( type == BAN_RACE && pban->flag == ch->race )
ban.c: if ( ch->level > pban->level )
ban.c: pban->name, ch->desc->host );
ban.c: str_cmp(pban->user, ch->desc->user) )
ban.c: if ( ch->level > pban->level )
ban.c: ch->name, ch->desc->host );
board.c: if (!str_cmp (ch->name, note->sender))
board.c: if (is_full_name (ch->name, note->to_list))
board.c: last_read = ch->pcdata->last_note[board_number(board)];
board.c: if (get_trust(ch) < ch->pcdata->board->write_level)
board.c: if (ch->pcdata->in_progress && (!ch->pcdata->in_progress->text))
board.c: free_global_note (ch->pcdata->in_progress);
board.c: ch->pcdata->in_progress = NULL;
board.c: if (!ch->pcdata->in_progress)
board.c: ch->pcdata->in_progress = new_note();
board.c: ch->pcdata->in_progress->sender = STRALLOC(ch->name);
board.c: ch->pcdata->in_progress->date = STRALLOC (strtime);
board.c: ch->pcdata->in_progress->text ? "continuing" : "posting",
board.c: ch->pcdata->board->short_name);
board.c: sprintf (buf, "&YFrom&w: %s\n\r\n\r", ch->name);
board.c: if (!ch->pcdata->in_progress->text) /* Are we continuing an old note or not? */
board.c: switch (ch->pcdata->board->force_type)
board.c: ch->pcdata->board->names);
board.c: ch->pcdata->board->names);
board.c: ch->pcdata->board->names);
board.c: ch->desc->connected = CON_NOTE_TO;
board.c: ch->pcdata->in_progress->to_list,
board.c: ctime(&ch->pcdata->in_progress->expire),
board.c: ch->pcdata->in_progress->subject);
board.c: send_to_char_color (ch->pcdata->in_progress->text,ch);
board.c: ch->desc->connected = CON_NOTE_TEXT;
board.c: time_t *last_note = &ch->pcdata->last_note[board_number(ch->pcdata->board)];
board.c: for (p = ch->pcdata->board->note_first; p; p = p->next)
board.c: for (p = ch->pcdata->board->note_first; p ; p = p->next, count++)
board.c: sprintf (buf, "Changed to next board, %s.\n\r", ch->pcdata->board->short_name);
board.c: p = find_note (ch, ch->pcdata->board, atoi(argument));
board.c: if (str_cmp(ch->name,p->sender) && (get_trust(ch) < MAX_LEVEL))
board.c: unlink_note (ch->pcdata->board,p);
board.c: save_board(ch->pcdata->board); /* save the board */
board.c: for (p = ch->pcdata->board->note_first; p; p = p->next)
board.c: last_note = ch->pcdata->last_note[board_number (ch->pcdata->board)];
board.c: for (p = ch->pcdata->board->note_first; p; p = p->next)
board.c: for (p = ch->pcdata->board->note_first; p && p->next; p = p->next);
board.c: ch->pcdata->last_note[board_number(ch->pcdata->board)] = p->date_stamp;
board.c: if(ch->pcdata->board == NULL)
board.c: ch->pcdata->board = &boards[DEFAULT_BOARD];
board.c: if( ch->pcdata->board == NULL )
board.c: ch->pcdata->board = &boards[DEFAULT_BOARD];
board.c: sprintf (buf, "\n\rYou current board is &W%s&w.\n\r", ch->pcdata->board->short_name);
board.c: if (ch->pcdata->board->read_level > get_trust(ch))
board.c: else if (ch->pcdata->board->write_level > get_trust(ch))
board.c: if (ch->pcdata->in_progress)
board.c: ch->pcdata->board = &boards[i];
board.c: if(ch->pcdata->board == NULL)
board.c: ch->pcdata->board = &boards[DEFAULT_BOARD];
board.c: ch->pcdata->board = &boards[i];
board.c: int i = board_number (ch->pcdata->board) + 1;
board.c: ch->pcdata->board = &boards[0];
board.c: ch->pcdata->board = &boards[i];
board.c: if (!ch->pcdata->in_progress)
board.c: switch (ch->pcdata->board->force_type)
board.c: ch->pcdata->in_progress->to_list = STRALLOC (ch->pcdata->board->names);
board.c: sprintf (buf, "Assumed default recipient: &W%s&w\n\r", ch->pcdata->board->names);
board.c: ch->pcdata->in_progress->to_list = STRALLOC (buf);
board.c: if (!is_full_name (ch->pcdata->board->names, buf))
board.c: strcat (buf, ch->pcdata->board->names);
board.c: ch->pcdata->in_progress->to_list = STRALLOC(buf);
board.c: ch->pcdata->board->names, ch->pcdata->in_progress->to_list);
board.c: ch->pcdata->in_progress->to_list = STRALLOC (buf);
board.c: if (is_full_name (ch->pcdata->board->names, buf))
board.c: "&YTo&w: ", ch->pcdata->board->names);
board.c: ch->pcdata->in_progress->to_list = STRALLOC (buf);
board.c: if (!ch->pcdata->in_progress)
board.c: ch->pcdata->in_progress->subject = STRALLOC(buf);
board.c: ch->pcdata->board->purge_days);
board.c: ch->pcdata->in_progress->expire =
board.c: current_time + ch->pcdata->board->purge_days * 24L * 3600L;
board.c: sprintf (buf, "This note will expire %s\r",ctime(&ch->pcdata->in_progress->expire));
board.c: if (!ch->pcdata->in_progress)
board.c: days = ch->pcdata->board->purge_days;
board.c: ch->pcdata->in_progress->expire = expire;
board.c: if (!ch->pcdata->in_progress)
board.c: if (ch->pcdata->in_progress->text)
board.c: strcpy (letter, ch->pcdata->in_progress->text);
board.c: STRFREE( ch->pcdata->in_progress->text );
board.c:/* ch->pcdata->in_progress->text = NULL; */ /* be sure we don't free it twice */
board.c: free_global_note (ch->pcdata->in_progress);
board.c: ch->pcdata->in_progress = NULL; /* important */
board.c: ch->pcdata->in_progress->text = STRALLOC (letter);
board.c: if (!ch->pcdata->in_progress)
board.c: if (ch->pcdata->in_progress->text)
board.c: send_to_char_color ( ch->pcdata->in_progress->text, ch);
board.c: finish_note (ch->pcdata->board, ch->pcdata->in_progress);
board.c: ch->pcdata->in_progress = NULL;
board.c: free_global_note( ch->pcdata->in_progress );
board.c: ch->pcdata->in_progress = NULL;
boards.c: if ( is_name( ch->name, board->extra_removers ) )
boards.c: if ( ch->pcdata->clan && !str_cmp( ch->pcdata->clan->name, board->read_group ) )
boards.c: if ( ch->pcdata->council && !str_cmp( ch->pcdata->council->name, board->read_group ) )
boards.c: if ( is_name( ch->name, board->extra_readers ) )
boards.c: if ( ch->pcdata->clan && !str_cmp( ch->pcdata->clan->name, board->post_group ) )
boards.c: if ( ch->pcdata->council && !str_cmp( ch->pcdata->council->name, board->post_group ) )
boards.c: for ( obj = ch->in_room->first_content;
boards.c: if ( !str_cmp( ch->name, pnote->sender ) )
boards.c: if ( is_name( ch->name, pnote->to_list ) )
boards.c: if ( ch->pnote )
boards.c: pnote->sender = QUICKLINK( ch->name );
boards.c: ch->pnote = pnote;
boards.c: for ( quill = ch->last_carrying; quill; quill = quill->prev_content )
boards.c: switch( ch->substate )
boards.c: switch( ch->substate )
boards.c: if ( !ch->desc )
boards.c: switch( ch->substate )
boards.c: ed = ch->dest_buf;
boards.c: if ( ch->gold < 10
boards.c: ch->gold -= 10;
boards.c: if ( str_cmp( ch->name, pnote->sender ) )
boards.c: if ( str_cmp( ch->name, pnote->sender ) )
boards.c: if ( is_name( ch->name, buf ) )
boards.c: sprintf( buf, "%s %s", pnote->yesvotes, ch->name );
boards.c: sprintf( buf, "%s %s", pnote->novotes, ch->name );
boards.c: sprintf( buf, "%s %s", pnote->abstentions, ch->name );
boards.c: if ( ch->substate == SUB_RESTRICTED )
boards.c: ch->substate = SUB_WRITING_NOTE;
boards.c: ch->dest_buf = ed;
boards.c: ch->name,
boards.c: pnote->sender = QUICKLINK( ch->name );
boards.c: if ( ch->gold < 50 && get_trust(ch) < sysdata.read_mail_free )
boards.c: ch->gold -= 50;
boards.c: if ( is_name(ch->name, note->to_list) )
boards.c: else if ( !str_cmp(ch->name, note->sender ) )
build.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c: if ( !ch->desc )
build.c: if ( ch->substate == SUB_RESTRICTED )
build.c: bug( "NOT GOOD: start_editing: ch->substate == SUB_RESTRICTED", 0 );
build.c: if ( ch->editor )
build.c: ch->editor = edit;
build.c: ch->desc->connected = CON_EDITING;
build.c: if ( !ch->editor )
build.c: for ( x = 0; x < ch->editor->numlines; x++ )
build.c: strcpy( tmp, ch->editor->line[x] );
build.c: DISPOSE( ch->editor );
build.c: ch->editor = NULL;
build.c: ch->dest_buf = NULL;
build.c: ch->spare_ptr = NULL;
build.c: ch->substate = SUB_NONE;
build.c: if ( !ch->desc )
build.c: ch->desc->connected = CON_PLAYING;
build.c: && IS_SET(fch->pcdata->flags, PCFLAG_DND) )
build.c: "Sorry. %s does not wish to be disturbed.\n\r", fch->name);
build.c: "Your DND flag just foiled %s's goto command.\n\r", ch->name);
build.c: || vnum < 1 || IS_NPC(ch) || !ch->pcdata->area )
build.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c: location->area = ch->pcdata->area;
build.c: "Your DND flag just foiled %s's goto command.\n\r", ch->name );
build.c: in_room = ch->in_room;
build.c: if ( ch->fighting )
build.c: if ( !xIS_SET(ch->act, PLR_WIZINVIS) )
build.c: (ch->pcdata && ch->pcdata->bamfout[0] != '\0')
build.c: ? ch->pcdata->bamfout : "leaves in a swirling mist.", TO_ROOM );
build.c: ch->regoto = ch->in_room->vnum;
build.c: if ( ch->mount )
build.c: char_from_room( ch->mount );
build.c: char_to_room( ch->mount, location );
build.c: if ( !xIS_SET(ch->act, PLR_WIZINVIS) )
build.c: (ch->pcdata && ch->pcdata->bamfin[0] != '\0')
build.c: ? ch->pcdata->bamfin : "appears in a swirling mist.", TO_ROOM );
build.c: if ( ch->in_room == in_room )
build.c: fch_next = fch->next_in_room;
build.c: if ( fch->master == ch && IS_IMMORTAL(fch) )
build.c: else if ( IS_NPC(fch) && fch->master == ch )
build.c: if ( xIS_SET(ch->act, PLR_SEMI ) )
build.c: if ( !ch->desc )
build.c: switch( ch->substate )
build.c: if ( !ch->dest_buf )
build.c: bug( "do_mset: sub_mob_desc: NULL ch->dest_buf", 0 );
build.c: ch->substate = SUB_NONE;
build.c: victim = ch->dest_buf;
build.c: ch->substate = ch->tempnum;
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: victim = ch->dest_buf;
build.c: if ( ch->dest_buf )
build.c: RelDestroy( relMSET_ON, ch, ch->dest_buf );
build.c: ch->substate = SUB_NONE;
build.c: ch->dest_buf = NULL;
build.c: if ( ch->pcdata && ch->pcdata->subprompt )
build.c: STRFREE( ch->pcdata->subprompt );
build.c: ch->pcdata->subprompt = NULL;
build.c: if ( arg1[0] == '\0' || (arg2[0] == '\0' && ch->substate != SUB_REPEATCMD)
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->dest_buf = NULL;
build.c: ch->dest_buf = NULL;
build.c: ch->dest_buf = victim;
build.c: ch->substate = SUB_REPEATCMD;
build.c: ch->dest_buf = victim;
build.c: if ( ch->pcdata )
build.c: if ( ch->pcdata->subprompt )
build.c: STRFREE( ch->pcdata->subprompt );
build.c: ch->pcdata->subprompt = STRALLOC( buf );
build.c: if ( ch->level < MAX_LEVEL )
build.c: pwdnew = crypt( arg3, ch->name );
build.c: ch_printf( victim, "Your password has been changed by %s.\n\r", ch->name );
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->tempnum = SUB_REPEATCMD;
build.c: ch->tempnum = SUB_NONE;
build.c: ch->substate = SUB_MOB_DESC;
build.c: ch->dest_buf = victim;
build.c: && !is_name("protoflag", ch->pcdata->bestowments) )
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->substate = SUB_RESTRICTED;
build.c: ch->substate = SUB_REPEATCMD;
build.c: ch->last_cmd = do_mset;
build.c: if ( !ch->desc )
build.c: switch( ch->substate )
build.c: if ( !ch->dest_buf )
build.c: bug( "do_oset: sub_obj_extra: NULL ch->dest_buf", 0 );
build.c: ch->substate = SUB_NONE;
build.c: ed = ch->dest_buf;
build.c: tmpobj = ch->spare_ptr;
build.c: ch->dest_buf = tmpobj;
build.c: ch->substate = ch->tempnum;
build.c: if ( !ch->dest_buf )
build.c: bug( "do_oset: sub_obj_long: NULL ch->dest_buf", 0 );
build.c: ch->substate = SUB_NONE;
build.c: obj = ch->dest_buf;
build.c: tmpobj = ch->spare_ptr;
build.c: ch->substate = ch->tempnum;
build.c: ch->dest_buf = tmpobj;
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: obj = ch->dest_buf;
build.c: if ( ch->dest_buf )
build.c: RelDestroy( relOSET_ON, ch, ch->dest_buf );
build.c: ch->substate = SUB_NONE;
build.c: ch->dest_buf = NULL;
build.c: if ( ch->pcdata && ch->pcdata->subprompt )
build.c: STRFREE( ch->pcdata->subprompt );
build.c: ch->pcdata->subprompt = NULL;
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->dest_buf = obj;
build.c: ch->dest_buf = NULL;
build.c: ch->substate = SUB_REPEATCMD;
build.c: ch->dest_buf = obj;
build.c: if ( ch->pcdata )
build.c: if ( ch->pcdata->subprompt )
build.c: STRFREE( ch->pcdata->subprompt );
build.c: ch->pcdata->subprompt = STRALLOC( buf );
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->tempnum = SUB_REPEATCMD;
build.c: ch->tempnum = SUB_NONE;
build.c: ch->spare_ptr = obj;
build.c: ch->spare_ptr = NULL;
build.c: ch->substate = SUB_OBJ_LONG;
build.c: ch->dest_buf = obj;
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->tempnum = SUB_REPEATCMD;
build.c: ch->tempnum = SUB_NONE;
build.c: ch->spare_ptr = obj;
build.c: ch->spare_ptr = NULL;
build.c: ch->substate = SUB_OBJ_EXTRA;
build.c: ch->dest_buf = ed;
build.c: && !is_name ("protoflag", ch->pcdata->bestowments) )
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->substate = SUB_RESTRICTED;
build.c: ch->substate = SUB_REPEATCMD;
build.c: ch->last_cmd = do_oset;
build.c: if ( ch->in_room )
build.c: rvnum = ch->in_room->vnum;
build.c: if ( !ch->desc )
build.c: switch( ch->substate )
build.c: location = ch->dest_buf;
build.c: bug( "redit: sub_room_desc: NULL ch->dest_buf", 0 );
build.c: location = ch->in_room;
build.c: ch->substate = ch->tempnum;
build.c: ed = ch->dest_buf;
build.c: bug( "redit: sub_room_extra: NULL ch->dest_buf", 0 );
build.c: ch->substate = ch->tempnum;
build.c: location = ch->in_room;
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: if ( ch->pcdata && ch->pcdata->subprompt )
build.c: STRFREE( ch->pcdata->subprompt );
build.c: ch->pcdata->subprompt = NULL;
build.c: ch->substate = SUB_NONE;
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->substate = SUB_REPEATCMD;
build.c: if ( ch->pcdata )
build.c: if ( ch->pcdata->subprompt )
build.c: STRFREE( ch->pcdata->subprompt );
build.c: ch->pcdata->subprompt = STRALLOC( "<&CRedit &W#%r&w> %i" );
build.c: ch->inter_substate = SUB_NORTH;
build.c: ch->inter_substate = SUB_EAST;
build.c: ch->inter_substate = SUB_SOUTH;
build.c: ch->inter_substate = SUB_WEST;
build.c: ch->inter_substate = SUB_UP;
build.c: ch->inter_substate = SUB_DOWN;
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->tempnum = SUB_REPEATCMD;
build.c: ch->tempnum = SUB_NONE;
build.c: ch->substate = SUB_ROOM_DESC;
build.c: ch->dest_buf = location;
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->tempnum = SUB_REPEATCMD;
build.c: ch->tempnum = SUB_NONE;
build.c: ch->substate = SUB_ROOM_EXTRA;
build.c: ch->dest_buf = ed;
build.c: switch(ch->inter_substate)
build.c: switch(ch->inter_substate)
build.c: switch(ch->inter_substate)
build.c: switch(ch->inter_substate)
build.c: switch(ch->inter_substate)
build.c: if ( ch->substate == SUB_REPEATCMD )
build.c: ch->substate = SUB_RESTRICTED;
build.c: ch->substate = SUB_REPEATCMD;
build.c: ch->last_cmd = do_redit;
build.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c: if ( !ch->pcdata || !(pArea=ch->pcdata->area) )
build.c: char_to_room( mob, ch->in_room );
build.c: if ( (d = ch->desc) == NULL )
build.c: if ( ch->substate <= SUB_PAUSE )
build.c: bug( "Edit_buffer: illegal ch->substate (%d)", ch->substate );
build.c: if ( !ch->editor )
build.c: edit = ch->editor;
build.c: if ( ch->substate == SUB_MPROG_EDIT || ch->substate == SUB_HELP_EDIT )
build.c: int substate = ch->substate;
build.c: last_cmd = ch->last_cmd;
build.c: ch->substate = SUB_RESTRICTED;
build.c: ch->substate = substate;
build.c: ch->last_cmd = last_cmd;
build.c: if ( !ch->last_cmd )
build.c: (*ch->last_cmd) ( ch, "" );
build.c: if ( !ch->last_cmd )
build.c: (*ch->last_cmd) ( ch, "" );
build.c: && ch->pcdata->r_range_lo
build.c: && ch->pcdata->r_range_hi )
build.c: tarea = ch->pcdata->area;
build.c: sprintf( taf, "%s.are", capitalize( ch->name ) );
build.c: sprintf( buf, "Creating area entry for %s", ch->name );
build.c: log_string_plus( buf, LOG_NORMAL, ch->level );
build.c: sprintf( buf, "{PROTO} %s's area in progress", ch->name );
build.c: sprintf( buf2, "%s", ch->name );
build.c: sprintf( buf, "Updating area entry for %s", ch->name );
build.c: log_string_plus( buf, LOG_NORMAL, ch->level );
build.c: tarea->low_r_vnum = ch->pcdata->r_range_lo;
build.c: tarea->low_o_vnum = ch->pcdata->o_range_lo;
build.c: tarea->low_m_vnum = ch->pcdata->m_range_lo;
build.c: tarea->hi_r_vnum = ch->pcdata->r_range_hi;
build.c: tarea->hi_o_vnum = ch->pcdata->o_range_hi;
build.c: tarea->hi_m_vnum = ch->pcdata->m_range_hi;
build.c: ch->pcdata->area = tarea;
build.c: ch->pcdata->area = NULL;
build.c: if ( !ch->pcdata->area )
build.c: || (is_name( buf, ch->pcdata->bestowments )
build.c: || is_name( tmp->filename, ch->pcdata->bestowments ) ||
build.c: (ch->pcdata->council && is_name( "aassign",
build.c: ch->pcdata->council->powers )))
build.c: ch->pcdata->area = tarea;
build.c: if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c: || ( argument[0] == '\0' && !ch->pcdata->area) )
build.c: tarea = ch->pcdata->area;
build.c: if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c: || ( argument[0] == '\0' && !ch->pcdata->area) )
build.c: tarea = ch->pcdata->area;
build.c: tarea = ch->in_room->area;
build.c: if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c: || ( !ch->pcdata->area && get_trust( ch ) < LEVEL_GREATER ) )
build.c: tarea = ch->pcdata->area;
build.c: if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c: || ( !ch->pcdata->area && get_trust( ch ) < LEVEL_GREATER ) )
build.c: tarea = ch->pcdata->area;
build.c: if ( IS_NPC(ch) || get_trust( ch ) < LEVEL_CREATOR || !ch->pcdata
build.c: || ( !ch->pcdata->area && get_trust( ch ) < LEVEL_GREATER ) )
build.c: tarea = ch->pcdata->area;
build.c: ch->substate = SUB_MPROG_EDIT;
build.c: ch->dest_buf = mprg;
build.c: if ( !ch->desc )
build.c: switch( ch->substate )
build.c: if ( !ch->dest_buf )
build.c: bug( "do_mpedit: sub_mprog_edit: NULL ch->dest_buf", 0 );
build.c: ch->substate = SUB_NONE;
build.c: mprog = ch->dest_buf;
build.c: if ( !ch->desc )
build.c: switch( ch->substate )
build.c: if ( !ch->dest_buf )
build.c: bug( "do_opedit: sub_oprog_edit: NULL ch->dest_buf", 0 );
build.c: ch->substate = SUB_NONE;
build.c: mprog = ch->dest_buf;
build.c: ch->substate = SUB_MPROG_EDIT;
build.c: ch->dest_buf = mprg;
build.c: if ( !ch->desc )
build.c: switch( ch->substate )
build.c: if ( !ch->dest_buf )
build.c: bug( "do_opedit: sub_oprog_edit: NULL ch->dest_buf", 0 );
Showing the first 100 KB of 471.5 KB. Download the archive for the full file.