This adds <Someone>'s lens patch.
This is probably it for me adding in any more user-contributed patches for
3.3.2 (except maybe coin flipping; does anyone object to it?)
--Ken A.
add leather cloak so soldiers don't have elven cloaks
add Tom Friedetzky's BUC-patch (applies to full menustyle only)
add wizard #poly and #levelchange (originally levelgain; Dylan O'Donnell),
+add Jason Short's additional lenses use patch
Platform- and/or Interface-Specific New Features
} else {
int fund = (uwep && uwep->oartifact &&
spec_ability(uwep, SPFX_SEARCH)) ?
- ((uwep->spe > 5) ? 5 : uwep->spe) : 0;
+ uwep->spe : 0;
+ if (ublindf && ublindf->otyp == LENSES)
+ fund += 2; /* JDS: lenses help searching */
+ if (fund > 5) fund = 5;
for(x = u.ux-1; x < u.ux+2; x++)
for(y = u.uy-1; y < u.uy+2; y++) {
if(!isok(x,y)) continue;
char splname[BUFSZ];
boolean costly = TRUE;
+ /* JDS: lenses give 50% faster reading; 33% smaller read time */
+ if (ublindf && ublindf->otyp == LENSES && rn2(2)) delay++;
if (delay) { /* not if (delay++), so at end delay == 0 */
delay++;
return(1); /* still busy */
} else {
/* uncursed - chance to fail */
int read_ability = ACURR(A_INT) + 4 + u.ulevel/2
- - 2*objects[booktype].oc_level;
+ - 2*objects[booktype].oc_level
+ + (ublindf && ublindf->otyp == LENSES) ? 2 : 0;
/* only wizards know if a spell is too difficult */
if (Role_if(PM_WIZARD) && read_ability < 20) {
char qbuf[QBUFSZ];