probably there is some method in the library which does the same todo: look for it :)
| 54 | // probably there is some method in the library which does the same |
| 55 | // todo: look for it :) |
| 56 | string describeQuality(int q) |
| 57 | { |
| 58 | switch(q) |
| 59 | { |
| 60 | case 0: |
| 61 | return "Basic"; |
| 62 | case 1: |
| 63 | return "-Well-crafted-"; |
| 64 | case 2: |
| 65 | return "+Finely-crafted+"; |
| 66 | case 3: |
| 67 | return "*Superior quality*"; |
| 68 | case 4: |
| 69 | return "#Exceptional#"; |
| 70 | case 5: |
| 71 | return "$Masterful$"; |
| 72 | default: |
| 73 | return "!INVALID!"; |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | command_result changeitem_execute( |
| 78 | color_ostream &out, df::item * item, |
no outgoing calls
no test coverage detected