mirror of
https://github.com/raeleus/Hashtag-DnD.git
synced 2025-07-05 21:20:27 -04:00
Minor phrasing.
This commit is contained in:
parent
4564663177
commit
a2106af5fc
1 changed files with 1 additions and 1 deletions
2
Input.js
2
Input.js
|
@ -1199,7 +1199,7 @@ function doDrop(command) {
|
|||
var existingItem = character.inventory[index]
|
||||
|
||||
if (item.quantity == 1) text = `\n${character.name} ${commandName} the ${displayItemName}.\n`
|
||||
else if (parseInt(item.quantity) >= parseInt(existingItem.quantity)) text = `${character.name} ${commandName} all of the ${displayItemName}.`
|
||||
else if (parseInt(item.quantity) >= parseInt(existingItem.quantity)) text = `${character.name} ${commandName} all ${existingItem.quantity} of the ${displayItemName}.`
|
||||
else text = `\n${character.name} ${commandName} ${item.quantity} ${displayItemName}.\n`
|
||||
|
||||
existingItem.quantity -= item.quantity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue