Print a lamp flicker message with tailer. Only called if seen. */
| 1342 | |
| 1343 | /* Print a lamp flicker message with tailer. Only called if seen. */ |
| 1344 | staticfn void |
| 1345 | see_lamp_flicker(struct obj *obj, const char *tailer) |
| 1346 | { |
| 1347 | switch (obj->where) { |
| 1348 | case OBJ_INVENT: |
| 1349 | case OBJ_MINVENT: |
| 1350 | pline("%s flickers%s.", Yname2(obj), tailer); |
| 1351 | break; |
| 1352 | case OBJ_FLOOR: |
| 1353 | You_see("%s flicker%s.", an(xname(obj)), tailer); |
| 1354 | break; |
| 1355 | } |
| 1356 | } |
| 1357 | |
| 1358 | /* Print a dimming message for brass lanterns. Only called if seen. */ |
| 1359 | staticfn void |