if (grumpy == null) {
return null;
}
// the target is grumpy, check if the sender is a friend
if (!targetPlayer.containsKey("buddies", player.getName())) {
if (grumpy.length() == 0) {
return playerName + " has a closed mind, and is seeking solitude from all but close friends";
} else {
return playerName + " is seeking solitude from all but close friends: " + grumpy;
}