Skip to content

Commit

Permalink
Change the color of the inventory full message (#600)
Browse files Browse the repository at this point in the history
This makes the message stand out more, so it's harder to miss.
  • Loading branch information
nstoddard authored Oct 18, 2023
1 parent 067517b commit 297fa2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/inventory-full-color.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change the color of the message when you try to pick up an item when your inventory is full, so it stands out more.
2 changes: 1 addition & 1 deletion src/brogue/Items.c
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ void pickUpItemAt(pos loc) {
theItem->flags |= ITEM_PLAYER_AVOIDS; // explore shouldn't try to pick it up more than once.
itemName(theItem, buf2, false, true, NULL); // include article
sprintf(buf, "Your pack is too full to pick up %s.", buf2);
message(buf, 0);
messageWithColor(buf, &badMessageColor, 0);
}
}

Expand Down

0 comments on commit 297fa2b

Please sign in to comment.