[Nov 12 2007] - Rumble

Updated users command to fix GET_INVIS_LEV bug.
  Updated the drink command to work in rooms where the sector type should logically allow it.
[Oct 04 2007] - Rumble
  Increased the size of a mail message from 4k to 8k.
  Updated remove_player so that the players command would not show phantom users when someone self-deletes.
  Updated sedit_rooms_menu to prevent a crash bug when trying to display a shop with rooms that have been removed.
[Nov 01 2007] - Rumble
  Updated mag_objectmagic bug where action description was not being used correctly on scrolls.
  Increased the size of MAX_RAW_INPUT_LENGTH and PLR_DESC_LENGTH.
[Oct 19 2007] - Rumble
  Fixed a few more 128 bit MOB_FLAGGED bugs.
[Oct 17 2007] - Rumble
  Fixed loading of non-128 bit prefs in load_char. (thanks Ziz)
[Oct 15 2007] - Rumble
  Removed some prototypes leftover from the old history command. (thanks Rhade)
This commit is contained in:
Rumble
2007-11-23 22:24:38 +00:00
parent 0cf7b69493
commit 9107040d32
22 changed files with 108 additions and 104 deletions

View File

@@ -246,15 +246,18 @@ void sedit_products_menu(struct descriptor_data *d)
void sedit_compact_rooms_menu(struct descriptor_data *d)
{
struct shop_data *shop;
int i, count = 0;
int i;
shop = OLC_SHOP(d);
get_char_colors(d->character);
clear_screen(d);
for (i = 0; S_ROOM(shop, i) != NOWHERE; i++) {
write_to_output(d, "%2d - [%s%5d%s] | %s", i, cyn, S_ROOM(shop, i), nrm,
!(++count % 5) ? "\r\n" : "");
if (real_room(S_ROOM(shop, i)) != NOWHERE) {
write_to_output(d, "%2d - [@c%5d@n] - @y%s@n\r\n", i, S_ROOM(shop, i), world[real_room(S_ROOM(shop, i))].name);
} else {
write_to_output(d, "%2d - [@R!Removed Room!@n]\r\n", i);
}
}
write_to_output(d, "\r\n"
"%sA%s) Add a new room.\r\n"