Skip to content

Commit

Permalink
Merge pull request #131 from tannerlie/branch-add-item-narration
Browse files Browse the repository at this point in the history
Add item usage narration
  • Loading branch information
tannerlie committed Apr 15, 2024
2 parents 807a0aa + ec0e737 commit 6f7a38f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/map/PlayerInventory.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public void useItem(Consumable item) {
} else {
item.setQuantity(item.getQuantity() - 1);
}
currentTextBox.setNextDialogue(item.getName() + " has been used.");
}

public void sellItem(Item item) {
Expand Down

0 comments on commit 6f7a38f

Please sign in to comment.