}
}
public void writeLookBody(Alive looker, MudObject target) {
Room container = (Room) target;
ExtendedTerminalIO stream = looker.getTerminalOutput();
try {
writeDynamicText(looker, target, target.getDescription());
if (container.getInventoryHandler().getMudObjectsMap(false).size() > 0) {
stream.write("You see: ");
super.writeLookBody(looker, target);
stream.writeln(".");
}
Map<String, Set<MudObject>> alive = container.getInventoryHandler().getMudObjectsMap(true);
ContentsHelper contentsHelper = createContentsHelper();
String aliveContents = contentsHelper.getContentsDescription(alive, looker, true);
int aliveSize = container.getInventoryHandler().size(true) - 1;
if (aliveSize > 0) {
stream.write(colorizeText(aliveContents, GREEN));
}
if (aliveSize > 0) {
stream.writeln(aliveSize > 1 ? " are here." : " is here.");
}
} catch (IOException e) {
logger.error(e, e);
}
}