mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Update act.informative.c
Fix do_score to show quest name instead of number (thanks WhiskyTest)
This commit is contained in:
parent
70713e2535
commit
dc3b8d23c1
1 changed files with 7 additions and 2 deletions
|
@ -826,8 +826,13 @@ ACMD(do_score)
|
||||||
if (GET_QUEST(ch) == NOTHING)
|
if (GET_QUEST(ch) == NOTHING)
|
||||||
send_to_char(ch, "and you are not on a quest at the moment.\r\n");
|
send_to_char(ch, "and you are not on a quest at the moment.\r\n");
|
||||||
else
|
else
|
||||||
send_to_char(ch, "and your current quest is %d.\r\n",
|
{
|
||||||
GET_QUEST(ch) == NOTHING ? -1 : GET_QUEST(ch));
|
send_to_char(ch, "and your current quest is %s", QST_DESC(real_quest(GET_QUEST(ch))));
|
||||||
|
if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_SHOWVNUMS))
|
||||||
|
send_to_char(ch, " [%d]\r\n", GET_QUEST(ch));
|
||||||
|
else
|
||||||
|
send_to_char(ch, "\r\n");
|
||||||
|
}
|
||||||
|
|
||||||
playing_time = *real_time_passed((time(0) - ch->player.time.logon) +
|
playing_time = *real_time_passed((time(0) - ch->player.time.logon) +
|
||||||
ch->player.time.played, 0);
|
ch->player.time.played, 0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue