Improved authenticity of many messages

Fixed explorer's ring using a charge when already at 100% energy
This commit is contained in:
zsrv
2024-01-20 11:34:51 +00:00
committed by Ryan
parent 86973b6d36
commit 0f9e264788
5 changed files with 13 additions and 10 deletions
@@ -56,9 +56,9 @@ public class Potion extends Drink {
final int dosesLeft = ids.length - consumedDoses;
player.getPacketDispatch().sendMessage("You drink some of your " + getFormattedName(item) + ".");
if (dosesLeft > 1) {
player.getPacketDispatch().sendMessage("You have " + dosesLeft + " doses of your potion left.");
player.getPacketDispatch().sendMessage("You have " + dosesLeft + " doses of potion left.");
} else if (dosesLeft == 1) {
player.getPacketDispatch().sendMessage("You have 1 dose of your potion left.");
player.getPacketDispatch().sendMessage("You have 1 dose of potion left.");
} else {
player.getPacketDispatch().sendMessage("You have finished your potion.");
}
@@ -212,7 +212,7 @@ class GrandExchangeRecords(private val player: Player? = null) : PersistPlayer,
}
}
if (updated) {
sendMessage(player!!, "You have items from the Grand Exchange waiting in your collection box.")
sendMessage(player!!, "You have items waiting in your Grand Exchange collection box!")
playJingle(player, 284)
}
}