/src/games/larn/ |
store.c | 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 [all...] |
bill.c | 141 "\n%ld gold pieces back with you from your journey. As the", 142 (long) c[GOLD]); 146 "\nin preparing your tax bill. You owe %ld gold pieces as", 147 (long) c[GOLD] * TAXRATE);
|
action.c | 175 amt = readnum((long) c[GOLD]); 176 if (amt < 0 || c[GOLD] < amt) { 180 c[GOLD] -= amt; 181 if (amt < c[GOLD] / 10 || amt < rnd(50)) {
|
diag.c | 52 (long) c[GOLD], (long) c[EXPERIENCE], (long) c[LEVEL], (long) level); 66 lprcat(" Monster Name LEV AC DAM ATT DEF GOLD HP EXP \n"); 71 lprintf("%6ld %3ld %6ld\n", (long) monster[i].gold, (long) monster[i].hitpoints, (long) monster[i].experience); 256 c[GOLD] = c[BANKACCOUNT] = 0; 288 c[GOLD] = c[BANKACCOUNT] = 0; 373 c[GOLD] = c[BANKACCOUNT] = 0; 408 c[GOLD] = c[BANKACCOUNT] = 0;
|
main.c | 349 if (c[GOLD]) { 350 lprintf(".) %ld gold pieces", (long) c[GOLD]); 899 c[GOLD] += 25000; 1131 if (i == '.') { /* drop some gold */ 1138 lprcat("How much gold do you drop? "); 1139 if ((amt = readnum((long) c[GOLD])) == 0) 1141 if (amt > c[GOLD]) { 1165 c[GOLD] -= amt; 1166 lprintf("You drop %ld gold pieces", (long)amt) [all...] |
scores.c | 643 c[GOLD] += c[BANKACCOUNT]; 646 newscore(c[GOLD], logname, x, win); 651 if ((wizard == 0) && (c[GOLD] > 0)) { /* wizards can't score */ 674 logg.score = c[GOLD]; 739 lprintf("Score: %ld, Diff: %ld, %s ", (long) c[GOLD], (long) c[HARDGAME], logname);
|
display.c | 92 lprintf(" Gold: %-6ld", (long) c[GOLD]); 136 botsub(makecode(GOLD, 69, 19), "%-6ld"); 141 special subroutine to update only the gold number on the bottomlines 147 botsub(makecode(GOLD, 69, 19), "%-6ld"); 148 /* botsub(GOLD,"%-6ld",69,19); */
|
monster.c | 72 * dropgold(amount) Function to drop some gold around player 1206 amt = monster[monst].gold; 1328 * dropgold(amount) Function to drop some gold around player 1331 * Enter with the number of gold pieces to drop 1490 * 8 leprechaun steal gold 1604 if (c[GOLD]) { 1606 if (c[GOLD] > 32767) 1607 c[GOLD] >>= 1; 1609 c[GOLD] -= rnd((int) (1 + (c[GOLD] >> 1))) [all...] |
header.h | 44 short gold; member in struct:monst 84 #define GOLD 8
|
global.c | 791 k = c[GOLD] / 1000;
|
object.c | 50 lprcat("\n\nYou have found some gold!"); 1246 * routine to pick up some gold -- if arg==OMAXGOLD then the pile is worth 1261 c[GOLD] += i; 1263 item[playerx][playery] = know[playerx][playery] = 0; /* destroy gold */
|
/src/games/rogue/ |
pack.c | 133 if (obj->what_is == GOLD) { 134 rogue.gold += obj->quantity; 563 if (obj->what_is == GOLD) {
|
spec_hit.c | 160 if ((rogue.gold <= 0) || rand_percent(10)) { 166 if (amount > rogue.gold) { 167 amount = rogue.gold; 169 rogue.gold -= amount; 257 obj->what_is = GOLD; 347 (obj->what_is == GOLD)) {
|
move.c | 145 if (obj->what_is == GOLD) {
|
rogue.h | 66 #define GOLD ((unsigned short) 020) 265 long gold; member in struct:fightr
|
inventory.c | 65 "gold ", 543 if (obj->what_is == GOLD) { 544 snprintf(desc, desclen, "%d pieces of gold", obj->quantity); 826 id = "gold";
|
room.c | 233 case GOLD:
|
object.c | 75 INIT_GOLD, /* gold */ 236 obj->what_is = GOLD;
|