mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-27 11:26:10 +01:00
[Oct 23 2009] - Rumble
Fixed bug in renumbering zone table after deleting mobiles. (thanks Drefs) Fixed bug in renumbering zone table after deleting objects. (thanks Drefs) Upgraded column_list to use player screenwidth to determine how many columns t o create (use column arg of 0). (thanks Maclir) [Oct 20 2009] - Rumble Corrected several PRF_FLAGGED checks that mobs were using. Removed l-desc from stat player and title from stat mob. (thanks Xiu) [Oct 19 2009] - Rumble Added a note to spec_assign.c assign_mobiles that guildguard, snake, thief, ma gic user, puff, fido, janitor, and cityguards are now implemented via triggers. Fixed a bug where empty drink containers and fountains would show half empty. (thanks Parna)
This commit is contained in:
parent
44722575ea
commit
baf644d031
16 changed files with 90 additions and 107 deletions
|
|
@ -739,12 +739,14 @@ static void do_stat_character(struct char_data *ch, struct char_data *k)
|
|||
buf, (!IS_NPC(k) ? "PC" : (!IS_MOB(k) ? "NPC" : "MOB")),
|
||||
GET_NAME(k), IS_NPC(k) ? GET_ID(k) : GET_IDNUM(k), GET_ROOM_VNUM(IN_ROOM(k)), IS_NPC(k) ? NOWHERE : GET_LOADROOM(k));
|
||||
|
||||
if (IS_MOB(k))
|
||||
if (IS_MOB(k)) {
|
||||
send_to_char(ch, "Keyword: %s, VNum: [%5d], RNum: [%5d]\r\n", k->player.name, GET_MOB_VNUM(k), GET_MOB_RNUM(k));
|
||||
send_to_char(ch, "L-Des: %s", k->player.long_descr ? k->player.long_descr : "<None>\r\n");
|
||||
}
|
||||
|
||||
send_to_char(ch, "Title: %s\r\n", k->player.title ? k->player.title : "<None>");
|
||||
if (!IS_MOB(k))
|
||||
send_to_char(ch, "Title: %s\r\n", k->player.title ? k->player.title : "<None>");
|
||||
|
||||
send_to_char(ch, "L-Des: %s", k->player.long_descr ? k->player.long_descr : "<None>\r\n");
|
||||
send_to_char(ch, "D-Des: %s", k->player.description ? k->player.description : "<None>\r\n");
|
||||
|
||||
sprinttype(k->player.chclass, pc_class_types, buf, sizeof(buf));
|
||||
|
|
@ -4441,7 +4443,7 @@ ACMD(do_plist)
|
|||
|
||||
len = 0;
|
||||
len += snprintf(buf + len, sizeof(buf) - len, "@W[ Id] (Lv) Name Last@n\r\n"
|
||||
"%s-----------------------------------------------%s\r\n", CCCYN(ch, C_NRM),
|
||||
"%s-------------------------------------%s\r\n", CCCYN(ch, C_NRM),
|
||||
CCNRM(ch, C_NRM));
|
||||
|
||||
for (i = 0; i <= top_of_p_table; i++) {
|
||||
|
|
@ -4466,7 +4468,7 @@ ACMD(do_plist)
|
|||
UPPER(*player_table[i].name), player_table[i].name + 1, time_str);
|
||||
count++;
|
||||
}
|
||||
snprintf(buf + len, sizeof(buf) - len, "%s-----------------------------------------------%s\r\n"
|
||||
snprintf(buf + len, sizeof(buf) - len, "%s-------------------------------------%s\r\n"
|
||||
"%d players listed.\r\n", CCCYN(ch, C_NRM), CCNRM(ch, C_NRM), count);
|
||||
page_string(ch->desc, buf, TRUE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue