Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COV-0102: Update styles for inventory and equipment listings #62

Merged
merged 1 commit into from
Feb 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/color.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ DECLARE_DO_FUN(do_color);
#define AT_EXITS AT_GREY
#define AT_GOSSIP AT_YELLOW
#define AT_LOG AT_GREY
#define AT_OBJECT AT_PLAIN
#define AT_ROOM_DESC AT_PLAIN
#define AT_ROOM_NAME AT_WHITE
#define AT_SCORE AT_LGREEN
Expand All @@ -178,7 +179,6 @@ DECLARE_DO_FUN(do_color);
#define AT_CARNAGE 53
#define AT_DAMAGE 54
#define AT_FLEE 55
#define AT_OBJECT 58
#define AT_PERSON 59
#define AT_LIST 60
#define AT_BYE 61
Expand Down
8 changes: 4 additions & 4 deletions src/player.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,9 +754,9 @@ void do_inventory(CHAR_DATA* ch, const char* argument)
}

if (victim != ch)
ch_printf(ch, "&R%s is carrying:\r\n", IS_NPC(victim) ? victim->short_descr : victim->name);
ch_printf(ch, "&W%s is carrying:&w\r\n", IS_NPC(victim) ? victim->short_descr : victim->name);
else
send_to_char("&RYou are carrying:\r\n", ch);
send_to_char("&WYou are carrying:&w\r\n", ch);

show_list_to_char(victim->first_carrying, ch, TRUE, TRUE);
return;
Expand All @@ -781,9 +781,9 @@ void do_equipment(CHAR_DATA* ch, const char* argument)
}

if (victim != ch)
ch_printf(ch, "&R%s is using:\r\n", IS_NPC(victim) ? victim->short_descr : victim->name);
ch_printf(ch, "&W%s is using:&w\r\n", IS_NPC(victim) ? victim->short_descr : victim->name);
else
send_to_char("&RYou are using:\r\n", ch);
send_to_char("&WYou are using:&w\r\n", ch);

found = FALSE;
set_char_color(AT_OBJECT, ch);
Expand Down
2 changes: 1 addition & 1 deletion src/tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ void save_skill_table()
if ((fpout = fopen(SKILL_FILE, "w")) == NULL)
{
perror(SKILL_FILE);
bug("Cannot open %s for writting", SKILL_FILE);
bug("Cannot open %s for writing", SKILL_FILE);
return;
}

Expand Down