Skip to content

Commit

Permalink
Merge pull request #62 from drskinner/COV-0102
Browse files Browse the repository at this point in the history
COV-0102: Update styles for inventory and equipment listings
  • Loading branch information
Myles Skinner committed Feb 13, 2018
2 parents 299b665 + 0e22885 commit b250c36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
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

0 comments on commit b250c36

Please sign in to comment.