… | |
… | |
1155 | if (flag [FLAG_IDENTIFIED]) |
1155 | if (flag [FLAG_IDENTIFIED]) |
1156 | buf.printf ("It has %d charges left.\r", stats.food); |
1156 | buf.printf ("It has %d charges left.\r", stats.food); |
1157 | break; |
1157 | break; |
1158 | } |
1158 | } |
1159 | |
1159 | |
1160 | if (materialname && !msg) |
1160 | if (!msg) |
1161 | buf << (nrof > 1 ? "They are made of " : "It is made of ") |
1161 | buf << (nrof > 1 ? "They are made of " : "It is made of ") |
1162 | << materialname |
1162 | << material->description |
1163 | << '\r'; |
1163 | << ".\r"; |
1164 | |
1164 | |
1165 | if (who) |
1165 | if (who) |
1166 | /* Where to wear this item */ |
1166 | /* Where to wear this item */ |
1167 | for (int i = 0; i < NUM_BODY_LOCATIONS; i++) |
1167 | for (int i = 0; i < NUM_BODY_LOCATIONS; i++) |
1168 | if (slot[i].info) |
1168 | if (slot[i].info) |