Bug: do_exits does not check darkness before displaying the exits
Danger: Low - Minor game exploit.
Found by: Banner
Fixed by: Banner
if( !check_blind( ch ) )
Below that, add:
if( !IS_NPC( ch )
&& !IS_SET( ch->act, PLR_HOLYLIGHT )
&& !IS_AFFECTED( ch, AFF_TRUESIGHT ) && !IS_AFFECTED( ch, AFF_INFRARED ) && room_is_dark( ch->in_room ) )
set_char_color( AT_DGREY, ch );
send_to_char( "It is pitch black ... \r\n", ch );
The exits command should be taking into account weather or not the player can see the exits based on darkness.