… | |
… | |
1209 | // unless the object has a custom message |
1209 | // unless the object has a custom message |
1210 | buf << '\r' << inv->msg << '\n'; |
1210 | buf << '\r' << inv->msg << '\n'; |
1211 | |
1211 | |
1212 | buf << '\n'; |
1212 | buf << '\n'; |
1213 | |
1213 | |
|
|
1214 | /* the dungeon master additionally gets a complete dump */ |
|
|
1215 | if (who && who->flag [FLAG_WIZ]) |
|
|
1216 | { |
|
|
1217 | char *ob = dump_object (this); |
|
|
1218 | for (char *p = ob; *p; ++p) if (*p == '\n') *p = '\r'; |
|
|
1219 | buf << "\n" << ob << "\n"; |
|
|
1220 | |
|
|
1221 | ob = dump_object (arch); |
|
|
1222 | for (char *p = ob; *p; ++p) if (*p == '\n') *p = '\r'; |
|
|
1223 | buf << "\n" << ob << "\n"; |
|
|
1224 | } |
|
|
1225 | |
1214 | return std::string (buf.linearise (), buf.size ()); |
1226 | return std::string (buf.linearise (), buf.size ()); |
1215 | } |
1227 | } |
1216 | |
1228 | |
1217 | static void |
1229 | static void |
1218 | display_new_pickup (object *op) |
1230 | display_new_pickup (object *op) |