If you config +vnum, you won't see vnums on look unless config +roomflags is on. This fix for that problem also includes a cosmetic fix: Samson's color code uses } as an token, so when the game spits the string out, you see:
An empty room {205[indoors]
Which is just nasty.
In act_info.c, in function do_look, locate:
send_to_char( " ", ch );
if( !ch->desc->original )
{
if( ( get_trust( ch ) >= LEVEL_IMMORTAL ) && ( IS_SET( ch->pcdata->flags, PCFLAG_ROOM ) ) )
{
set_char_color( AT_BLUE, ch ); /* Added 10/17 by Kuran of */
send_to_char( "{", ch ); /* SWReality */
ch_printf( ch, "%d", ch->in_room->vnum );
send_to_char( "}", ch );
set_char_color( AT_CYAN, ch );
send_to_char( "[", ch );
send_to_char( flag_string( ch->in_room->room_flags, r_flags ), ch );
send_to_char( "]", ch );
}
}
Change to:
send_to_char( " ", ch );
if( !ch->desc->original )
{
if( ( get_trust( ch ) >= LEVEL_IMMORTAL ) )
{
if( IS_SET( ch->act, PLR_ROOMVNUM ) )
{
set_char_color( AT_BLUE, ch ); /* Added 10/17 by Kuran of */
send_to_char( "{", ch ); /* SWReality */
ch_printf( ch, "%d", ch->in_room->vnum );
send_to_char( "}}", ch );
}
if( IS_SET( ch->pcdata->flags, PCFLAG_ROOM ) )
{
set_char_color( AT_CYAN, ch );
send_to_char( "[", ch );
send_to_char( flag_string( ch->in_room->room_flags, r_flags ), ch );
send_to_char( "]", ch );
}
}
}