X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=init.c;h=b21fe71ef40db155fa54566e66fcb1d9a0c9c235;hp=031ff3e6b17bf04233034ea597b65ee9054e935e;hb=2b01379a8064b573eea4362c9b8d030ab27c6043;hpb=a868f7779583a00316cb076fc4d62ccfb1488434 diff --git a/init.c b/init.c index 031ff3e..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) { @@ -559,7 +560,6 @@ struct h_list helpstr[] = { 'B', " run down & left", 'N', " run down & right", 't', " throw something", - 'f', " forward until find something", 'p', " zap a wand in a direction", 'z', " zap a wand or staff", '>', " go down a staircase", @@ -577,12 +577,14 @@ struct h_list helpstr[] = { 'R', " remove ring", 'd', " drop object", 'c', " call object", + 'f', " flirt with someone", + 'g', " give an item as a gift", + 'E', " embrace", 'o', " examine/set options", CTRL('L'), " redraw screen", CTRL('R'), " repeat last message", ESCAPE, " cancel command", 'v', " print program version number", - '!', " shell escape", 'S', " save game", 'Q', " quit", 0, 0