Skip to content

Commit

Permalink
Add item usage narration
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlie committed Apr 15, 2024
1 parent b7de171 commit ec0e737
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 ec0e737

Please sign in to comment.