X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=init.c;h=b21fe71ef40db155fa54566e66fcb1d9a0c9c235;hp=50cbc51174997601149f491ef6000b5ecb273a72;hb=2b01379a8064b573eea4362c9b8d030ab27c6043;hpb=9c3c378b5c998e689cefd9cad3e2deb863cbcefa diff --git a/init.c b/init.c index 50cbc51..b21fe71 100644 --- a/init.c +++ b/init.c @@ -3,7 +3,7 @@ * * @(#)init.c 3.33 (Berkeley) 6/15/81 * - * Rogue: Exploring the Dungeons of Doom + * Rogue: Exploring the Cavern of Cuties * Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman * All rights reserved. * @@ -48,7 +48,7 @@ char runch; /* Direction player is running */ char whoami[80]; /* Name of player */ char fruit[80]; /* Favorite fruit */ char huh[80]; /* The last message printed */ -int dnum; /* Dungeon number */ +int dnum; /* Cavern number */ char *s_names[MAXSCROLLS]; /* Names of the scrolls */ char *p_colors[MAXPOTIONS]; /* Colors of the potions */ char *r_stones[MAXRINGS]; /* Stone settings of the rings */ @@ -112,6 +112,7 @@ init_player() { pstats.s_lvl = 1; pstats.s_exp = 0L; + pstats.s_ont = rnd(1 << NUM_FEATURES); max_hp = pstats.s_hpt = 12; if (rnd(100) == 7) {