adverb describing lit artifact's light; radius varies depending upon curse/bless state; also used for gold dragon scales/scale mail */
| 913 | /* adverb describing lit artifact's light; radius varies depending upon |
| 914 | curse/bless state; also used for gold dragon scales/scale mail */ |
| 915 | const char * |
| 916 | arti_light_description(struct obj *obj) |
| 917 | { |
| 918 | switch (arti_light_radius(obj)) { |
| 919 | case 4: |
| 920 | return "radiantly"; /* blessed gold dragon scale mail */ |
| 921 | case 3: |
| 922 | return "brilliantly"; /* blessed artifact, uncursed gold DSM */ |
| 923 | case 2: |
| 924 | return "brightly"; /* uncursed artifact, cursed gold DSM */ |
| 925 | case 1: |
| 926 | return "dimly"; /* cursed artifact, embedded scales */ |
| 927 | default: |
| 928 | break; |
| 929 | } |
| 930 | return "strangely"; |
| 931 | } |
| 932 | |
| 933 | /* the #lightsources command */ |
| 934 | int |
no test coverage detected