Allow starting game as pauper, without any inventory

And also without spells, skills, or preidentified items.
This also implies nudist.

Breaks saves and bones.
This commit is contained in:
Pasi Kallinen
2024-08-29 20:51:09 +03:00
parent 1595b682cf
commit e645c0b4bb
9 changed files with 31 additions and 3 deletions

View File

@@ -548,6 +548,9 @@ static int optfn_##a(int, int, boolean, char *, char *);
NHOPTC(paranoid_confirmation, Advanced, 28, opt_in, set_in_game,
Yes, Yes, Yes, Yes, "prayconfirm",
"extra prompting in certain situations")
NHOPTB(pauper, Advanced, 0, opt_in, set_in_config,
Off, Yes, No, No, NoAlias, &u.uroleplay.pauper, Term_False,
"start your character without any items")
NHOPTB(perm_invent, Advanced, 0, opt_in, set_in_game,
Off, Yes, No, No, NoAlias, &iflags.perm_invent, Term_Off,
"show persistent inventory window")

View File

@@ -17,7 +17,7 @@
* Incrementing EDITLEVEL can be used to force invalidation of old bones
* and save files.
*/
#define EDITLEVEL 106
#define EDITLEVEL 107
/*
* Development status possibilities.

View File

@@ -162,6 +162,7 @@ struct u_roleplay {
boolean blind; /* permanently blind */
boolean nudist; /* has not worn any armor, ever */
boolean deaf; /* permanently deaf */
boolean pauper; /* no starting inventory */
long numbones; /* # of bones files loaded */
};