Option to create the character deaf
Allows creating your character permanently deaf, for that added challenge. Breaks saves.
This commit is contained in:
@@ -215,6 +215,8 @@ static int optfn_##a(int, int, boolean, char *, char *);
|
||||
#endif
|
||||
NHOPTB(dark_room, Advanced, 0, opt_out, set_in_game,
|
||||
On, Yes, No, No, NoAlias, &flags.dark_room, Term_False)
|
||||
NHOPTB(deaf, Advanced, 0, opt_in, set_in_config,
|
||||
Off, Yes, No, No, "permadeaf", &u.uroleplay.deaf, Term_False)
|
||||
#ifdef BACKWARD_COMPAT
|
||||
NHOPTC(DECgraphics, Advanced, 70, opt_in, set_in_config,
|
||||
Yes, Yes, No, No, NoAlias,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* Incrementing EDITLEVEL can be used to force invalidation of old bones
|
||||
* and save files.
|
||||
*/
|
||||
#define EDITLEVEL 80
|
||||
#define EDITLEVEL 81
|
||||
|
||||
/*
|
||||
* Development status possibilities.
|
||||
|
||||
@@ -160,6 +160,7 @@ struct u_conduct { /* number of times... */
|
||||
struct u_roleplay {
|
||||
boolean blind; /* permanently blind */
|
||||
boolean nudist; /* has not worn any armor, ever */
|
||||
boolean deaf; /* permanently deaf */
|
||||
long numbones; /* # of bones files loaded */
|
||||
};
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
/* Timeout, plus a worn mask */
|
||||
#define HDeaf u.uprops[DEAF].intrinsic
|
||||
#define EDeaf u.uprops[DEAF].extrinsic
|
||||
#define Deaf (HDeaf || EDeaf)
|
||||
#define Deaf (HDeaf || EDeaf || u.uroleplay.deaf)
|
||||
|
||||
#define HFumbling u.uprops[FUMBLING].intrinsic
|
||||
#define EFumbling u.uprops[FUMBLING].extrinsic
|
||||
|
||||
Reference in New Issue
Block a user