… | |
… | |
1196 | if (who) |
1196 | if (who) |
1197 | /* Where to wear this item */ |
1197 | /* Where to wear this item */ |
1198 | for (int i = 0; i < NUM_BODY_LOCATIONS; i++) |
1198 | for (int i = 0; i < NUM_BODY_LOCATIONS; i++) |
1199 | if (slot[i].info) |
1199 | if (slot[i].info) |
1200 | { |
1200 | { |
1201 | buf << "It goes "; |
|
|
1202 | buf << (who->slot[i].info ? body_locations[i].use_name : body_locations[i].nonuse_name); |
1201 | buf << (who->slot[i].info ? body_locations[i].use_name : body_locations[i].nonuse_name); |
1203 | |
1202 | |
1204 | if (slot[i].info < -1 && who->slot[i].info) |
1203 | if (slot[i].info < -1 && who->slot[i].info) |
1205 | buf.printf ("(%d)", -slot[i].info); |
1204 | buf.printf ("(%d)", -slot[i].info); |
1206 | |
1205 | |