boulder pushing feedback

Redo the details about giving or suppressing "with great effort you
push the boulder".  It works the same except that if push a different
boulder than previously, you'll get a new message.  If you do it
while riding, you have the same lack-of-message for successive pushes
instead of getting a message every turn.

Don't exercise strength when pushing a boulder if poly'd into a giant.
This commit is contained in:
PatR
2022-12-07 16:45:35 -08:00
parent 3ac4e55f1f
commit 4a965bbd83
4 changed files with 35 additions and 16 deletions

View File

@@ -777,6 +777,11 @@ struct instance_globals_b {
/* files.c */
char bones[BONESSIZE];
/* hack.c */
unsigned bldrpush_oid; /* id of last boulder pushed */
long bldrpushtime; /* turn that a message was given for pushing
* a boulder; used in lieu of Norep() */
/* mkmaze.c */
lev_region bughack; /* for preserving the insect legs when wallifying
* baalz level */