[Jul 08 2008] - Rumble

Removed duplicate questpoints listing in stat char. (thanks Mirad)
  Fix to qedit for deleting all quests. (thanks Jamdog)
[Jul 06 2008] - Rumble
  Changed sedit no trade with from undefined to nobits. (thanks Mirad)
This commit is contained in:
Rumble 2008-07-07 22:59:20 +00:00
parent 2053b2d4a8
commit b124dd3cb2
4 changed files with 12 additions and 4 deletions

View file

@ -3,6 +3,11 @@ help, find any bugs, or have ideas for improvement please stop by TBA at
telnet://tbamud.com:9091 or email rumble@tbamud.com --Rumble
tbaMUD 3.56
[Jul 08 2008] - Rumble
Removed duplicate questpoints listing in stat char. (thanks Mirad)
Fix to qedit for deleting all quests. (thanks Jamdog)
[Jul 06 2008] - Rumble
Changed sedit no trade with from undefined to nobits. (thanks Mirad)
[Jul 03 2008] - Rumble
Fixed lib/messages to properly display skill, spell, and damage messages. (thanks Tink)
[Jun 28 2008] - Rumble

View file

@ -792,7 +792,7 @@ static void do_stat_character(struct char_data *ch, struct char_data *k)
GET_GOLD(k), GET_BANK_GOLD(k), GET_GOLD(k) + GET_BANK_GOLD(k));
if (!IS_NPC(k))
send_to_char(ch, "Questpoints: [%d] Screen %s[%s%d%sx%s%d%s]%s\r\n", GET_QUESTPOINTS(k),
send_to_char(ch, "Screen %s[%s%d%sx%s%d%s]%s\r\n",
CCCYN(ch, C_NRM), CCYEL(ch, C_NRM), GET_SCREEN_WIDTH(k), CCNRM(ch, C_NRM),
CCYEL(ch, C_NRM), GET_PAGE_LENGTH(k), CCCYN(ch, C_NRM), CCNRM(ch, C_NRM));

View file

@ -128,13 +128,14 @@ int add_quest(struct aq_data *nqst)
int delete_quest(qst_rnum rnum)
{
qst_rnum i;
zone_rnum rznum = real_zone_by_thing(QST_NUM(rnum));
zone_rnum rznum;
mob_rnum qm = QST_MASTER(rnum);
SPECIAL (*tempfunc);
int quests_remaining = 0;
if (rnum >= total_quests)
return FALSE;
rznum = real_zone_by_thing(QST_NUM(rnum));
log("GenOLC: delete_quest: Deleting quest #%d (%s).",
QST_NUM(rnum), QST_NAME(rnum));
/* make a note of the quest master's secondary spec proc */
@ -148,9 +149,10 @@ int delete_quest(qst_rnum rnum)
total_quests--;
if (total_quests > 0)
RECREATE(aquest_table, struct aq_data, total_quests);
else
else {
free(aquest_table);
aquest_table = NULL;
}
if (rznum != NOWHERE)
add_to_save_list(zone_table[rznum].number, SL_QST);
else

View file

@ -179,6 +179,7 @@ static void sedit_setup_new(struct descriptor_data *d)
S_CLOSE1(shop) = 28;
S_BUYPROFIT(shop) = 1.0;
S_SELLPROFIT(shop) = 1.0;
S_NOTRADE(shop) = 0;
/* Add a spice of default strings. */
S_NOITEM1(shop) = strdup("%s Sorry, I don't stock that item.");
S_NOITEM2(shop) = strdup("%s You don't seem to have that.");