[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:
@@ -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
|
telnet://tbamud.com:9091 or email rumble@tbamud.com --Rumble
|
||||||
|
|
||||||
tbaMUD 3.56
|
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
|
[Jul 03 2008] - Rumble
|
||||||
Fixed lib/messages to properly display skill, spell, and damage messages. (thanks Tink)
|
Fixed lib/messages to properly display skill, spell, and damage messages. (thanks Tink)
|
||||||
[Jun 28 2008] - Rumble
|
[Jun 28 2008] - Rumble
|
||||||
|
|||||||
@@ -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));
|
GET_GOLD(k), GET_BANK_GOLD(k), GET_GOLD(k) + GET_BANK_GOLD(k));
|
||||||
|
|
||||||
if (!IS_NPC(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),
|
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));
|
CCYEL(ch, C_NRM), GET_PAGE_LENGTH(k), CCCYN(ch, C_NRM), CCNRM(ch, C_NRM));
|
||||||
|
|
||||||
|
|||||||
@@ -128,13 +128,14 @@ int add_quest(struct aq_data *nqst)
|
|||||||
int delete_quest(qst_rnum rnum)
|
int delete_quest(qst_rnum rnum)
|
||||||
{
|
{
|
||||||
qst_rnum i;
|
qst_rnum i;
|
||||||
zone_rnum rznum = real_zone_by_thing(QST_NUM(rnum));
|
zone_rnum rznum;
|
||||||
mob_rnum qm = QST_MASTER(rnum);
|
mob_rnum qm = QST_MASTER(rnum);
|
||||||
SPECIAL (*tempfunc);
|
SPECIAL (*tempfunc);
|
||||||
int quests_remaining = 0;
|
int quests_remaining = 0;
|
||||||
|
|
||||||
if (rnum >= total_quests)
|
if (rnum >= total_quests)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
rznum = real_zone_by_thing(QST_NUM(rnum));
|
||||||
log("GenOLC: delete_quest: Deleting quest #%d (%s).",
|
log("GenOLC: delete_quest: Deleting quest #%d (%s).",
|
||||||
QST_NUM(rnum), QST_NAME(rnum));
|
QST_NUM(rnum), QST_NAME(rnum));
|
||||||
/* make a note of the quest master's secondary spec proc */
|
/* make a note of the quest master's secondary spec proc */
|
||||||
@@ -148,9 +149,10 @@ int delete_quest(qst_rnum rnum)
|
|||||||
total_quests--;
|
total_quests--;
|
||||||
if (total_quests > 0)
|
if (total_quests > 0)
|
||||||
RECREATE(aquest_table, struct aq_data, total_quests);
|
RECREATE(aquest_table, struct aq_data, total_quests);
|
||||||
else
|
else {
|
||||||
free(aquest_table);
|
free(aquest_table);
|
||||||
|
aquest_table = NULL;
|
||||||
|
}
|
||||||
if (rznum != NOWHERE)
|
if (rznum != NOWHERE)
|
||||||
add_to_save_list(zone_table[rznum].number, SL_QST);
|
add_to_save_list(zone_table[rznum].number, SL_QST);
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -179,6 +179,7 @@ static void sedit_setup_new(struct descriptor_data *d)
|
|||||||
S_CLOSE1(shop) = 28;
|
S_CLOSE1(shop) = 28;
|
||||||
S_BUYPROFIT(shop) = 1.0;
|
S_BUYPROFIT(shop) = 1.0;
|
||||||
S_SELLPROFIT(shop) = 1.0;
|
S_SELLPROFIT(shop) = 1.0;
|
||||||
|
S_NOTRADE(shop) = 0;
|
||||||
/* Add a spice of default strings. */
|
/* Add a spice of default strings. */
|
||||||
S_NOITEM1(shop) = strdup("%s Sorry, I don't stock that item.");
|
S_NOITEM1(shop) = strdup("%s Sorry, I don't stock that item.");
|
||||||
S_NOITEM2(shop) = strdup("%s You don't seem to have that.");
|
S_NOITEM2(shop) = strdup("%s You don't seem to have that.");
|
||||||
|
|||||||
Reference in New Issue
Block a user