shop goods
shops now claim ownership of items created by using an unpaid horn of plenty
shopkeepers shouldn't refer to non-male character as "cad"
+tweak levitation timeout if trap is being triggered on same turn it is to end
Platform- and/or Interface-Specific Fixes
if (!in_steed_dismounting) { /* if dismounting, we'll check again later */
boolean pit;
+ /* if levitation is due to time out at the end of this
+ turn, allowing it to do so could give the perception
+ that a trap here is being triggered twice, so adjust
+ the timeout to prevent that */
+ if (trap && (HLevitation & TIMEOUT) == 1L) {
+ if (rn2(2)) { /* defer timeout */
+ HLevitation += 1L;
+ } else { /* timeout early */
+ if (float_down(I_SPECIAL|TIMEOUT, 0L)) {
+ /* levitation has ended; we've already triggered
+ any trap and [usually] performed autopickup */
+ trap = 0;
+ pick = FALSE;
+ }
+ }
+ }
/*
* If not a pit, pickup before triggering trap.
* If pit, trigger trap before pickup.