Merge branch 'NetHack-3.6.2'
This commit is contained in:
13
src/apply.c
13
src/apply.c
@@ -239,7 +239,7 @@ int rx, ry, *resp;
|
||||
int visglyph, corpseglyph;
|
||||
|
||||
visglyph = glyph_at(rx, ry);
|
||||
corpseglyph = obj_to_glyph(corpse);
|
||||
corpseglyph = obj_to_glyph(corpse, rn2);
|
||||
|
||||
if (Blind && (visglyph != corpseglyph))
|
||||
map_object(corpse, TRUE);
|
||||
@@ -2491,7 +2491,7 @@ struct obj *otmp;
|
||||
if (otmp == g.trapinfo.tobj && u.ux == g.trapinfo.tx
|
||||
&& u.uy == g.trapinfo.ty) {
|
||||
You("resume setting %s%s.", shk_your(buf, otmp),
|
||||
defsyms[trap_to_defsym(what_trap(ttyp))].explanation);
|
||||
defsyms[trap_to_defsym(what_trap(ttyp, rn2))].explanation);
|
||||
set_occupation(set_trap, occutext, 0);
|
||||
return;
|
||||
}
|
||||
@@ -2516,7 +2516,8 @@ struct obj *otmp;
|
||||
chance = (rnl(10) > 5);
|
||||
You("aren't very skilled at reaching from %s.", mon_nam(u.usteed));
|
||||
Sprintf(buf, "Continue your attempt to set %s?",
|
||||
the(defsyms[trap_to_defsym(what_trap(ttyp))].explanation));
|
||||
the(defsyms[trap_to_defsym(what_trap(ttyp, rn2))]
|
||||
.explanation));
|
||||
if (yn(buf) == 'y') {
|
||||
if (chance) {
|
||||
switch (ttyp) {
|
||||
@@ -2527,7 +2528,7 @@ struct obj *otmp;
|
||||
case BEAR_TRAP: /* drop it without arming it */
|
||||
reset_trapset();
|
||||
You("drop %s!",
|
||||
the(defsyms[trap_to_defsym(what_trap(ttyp))]
|
||||
the(defsyms[trap_to_defsym(what_trap(ttyp, rn2))]
|
||||
.explanation));
|
||||
dropx(otmp);
|
||||
return;
|
||||
@@ -2539,7 +2540,7 @@ struct obj *otmp;
|
||||
}
|
||||
}
|
||||
You("begin setting %s%s.", shk_your(buf, otmp),
|
||||
defsyms[trap_to_defsym(what_trap(ttyp))].explanation);
|
||||
defsyms[trap_to_defsym(what_trap(ttyp, rn2))].explanation);
|
||||
set_occupation(set_trap, occutext, 0);
|
||||
return;
|
||||
}
|
||||
@@ -2572,7 +2573,7 @@ set_trap()
|
||||
}
|
||||
if (!g.trapinfo.force_bungle)
|
||||
You("finish arming %s.",
|
||||
the(defsyms[trap_to_defsym(what_trap(ttyp))].explanation));
|
||||
the(defsyms[trap_to_defsym(what_trap(ttyp, rn2))].explanation));
|
||||
if (((otmp->cursed || Fumbling) && (rnl(10) > 5))
|
||||
|| g.trapinfo.force_bungle)
|
||||
dotrap(ttmp,
|
||||
|
||||
Reference in New Issue
Block a user