Lines Matching refs:GOLD
231 lprcat("\nYou don't have enough gold to pay for that!");
264 lprintf("%ld gold pieces", (long) c[GOLD]);
297 else if (c[GOLD] < itm[i].price * 10)
305 c[GOLD] -= itm[i].price * 10;
386 lprcat("\n\n\t\tAll courses cost 250 gold pieces.");
400 lprintf("%ld gold pieces. ", (long) c[GOLD]);
418 if (c[GOLD] < 250)
424 c[GOLD] -= 250;
437 c[GOLD] += 250;
456 c[GOLD] += 250;
609 lprintf("You have %8ld gold pieces in the bank.", (long) c[BANKACCOUNT]);
611 lprintf("You have %8ld gold pieces", (long) c[GOLD]);
612 if (c[BANKACCOUNT] + c[GOLD] >= 500000)
632 amt = readnum((long) c[GOLD]);
634 lprcat("\nSorry, but we can't take negative gold!");
637 } else if (amt > c[GOLD]) {
641 c[GOLD] -= amt;
650 lprcat("\nSorry, but we don't have any negative gold!");
657 c[GOLD] += amt;
670 c[GOLD] += gemvalue[i];
684 c[GOLD] += gemvalue[i];
699 lprintf("%8ld", (long) c[GOLD]);
732 c[GOLD] += amt;
820 lprintf("\nItem (%c) is worth %ld gold pieces to us. Do you want to sell it? ", i, (long) value);
824 c[GOLD] += value;
882 amt = readnum((long) c[GOLD]);
884 lprcat("\nSorry, but we can't take negative gold\n");
886 } else if (amt > c[GOLD])
889 c[GOLD] -= paytaxes(amt);
905 if (c[GOLD] > 0)
906 lprintf("You have %6ld gp. ", (long) c[GOLD]);
908 lprcat("You have no gold pieces. ");