void alert(int blessing) { if (blessing > -1) { mprint("You feel on-the-ball."); Player.status[ALERT]+= 4+(5*blessing); } else sleep_player(abs(blessing)+3); }
/* potion of sleep */ void i_sleep_self(pob o) { sleep_player(6); Objects[o->id].known = 1; }