relative strength that Sting is glowing (0..3), to select verb */
| 2439 | |
| 2440 | /* relative strength that Sting is glowing (0..3), to select verb */ |
| 2441 | staticfn int |
| 2442 | glow_strength(int count) |
| 2443 | { |
| 2444 | /* glow strength should also be proportional to proximity and |
| 2445 | probably difficulty, but we don't have that information and |
| 2446 | gathering it is more trouble than this would be worth */ |
| 2447 | return (count > 12) ? 3 : (count > 4) ? 2 : (count > 0); |
| 2448 | } |
| 2449 | |
| 2450 | const char * |
| 2451 | glow_verb(int count, /* 0 means blind rather than no applicable creatures */ |
no outgoing calls
no test coverage detected