Skip to content
Permalink
Browse files

Triple gold drops if no_selling is on, closing #731.

  • Loading branch information...
magnate committed Dec 5, 2010
1 parent 9cec2d9 commit eb58277d5de3e0b0a8b67b3598754c979f95e99a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/object/obj-make.c
@@ -1332,6 +1332,10 @@ void make_gold(object_type *j_ptr, int lev, int coin_type)
/* Prepare a gold object */
k_idx = lookup_kind(TV_GOLD, sval);
object_prep(j_ptr, &k_info[k_idx], lev, RANDOMISE);

/* If we're playing with no_selling, triple the value */
if (OPT(adult_no_selling)) value = 3 * value;

j_ptr->pval = value;
}

0 comments on commit eb58277

Please sign in to comment.
You can’t perform that action at this time.