[Oct 08 2009] - Rumble
Fixed do_purge to allow targetting of multiple objects of the same name. i.e. 2.knife. (thanks Drefs) [Oct 07 2009] - Rumble Added CAN_SEE_IN_DARK and AFF_BLIND checks in do_automap. (thanks Frenze) [Oct 06 2009] - Rumble Fixed do_cast to allow targetting of multiple objects of the same name. i.e. 2 .knife. (thanks Drefs) [Oct 04 2009] - Rumble Fixed a bug on filling unlimited containers where it doesn't update weight. (t hanks Drefs) [Oct 02 2009] - Rumble Fixed buildwalk so it does not require the first room to exist. (thanks Zizaza t)
This commit is contained in:
@@ -535,6 +535,13 @@ ACMD(do_map) {
|
||||
send_to_char(ch, "Sorry, the map is disabled!\r\n");
|
||||
return;
|
||||
}
|
||||
if (IS_DARK(IN_ROOM(ch)) && !CAN_SEE_IN_DARK(ch)) {
|
||||
send_to_char(ch, "It is too dark to see the map.\r\n");
|
||||
return;
|
||||
} else if (AFF_FLAGGED(ch, AFF_BLIND) && GET_LEVEL(ch) < LVL_IMMORT) {
|
||||
send_to_char(ch, "You can't see the map while blind!\r\n");
|
||||
return;
|
||||
}
|
||||
perform_map(ch, argument, ROOM_FLAGGED(IN_ROOM(ch), ROOM_WORLDMAP) ? 1 : 0 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user