From 497c5dec902808dcd258f99c64fe28394ce74a14 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Wed, 3 Dec 2025 22:01:05 +0000 Subject: [PATCH] Do not count wizkits as part of starting inventory Counting wizkits as starting inventory causes side effects (giving you skills from them, making the wizkit items formally identified, etc.). Some of these side effects are undesirable (because, e.g., it can give you skill in a weapon you're restricted in), and the others are mostly neutral (because wizard-mode players can identify anything they want to). As such, it's better to treat the wizkit as something you obtain immediately after entering the dungeon, rather than something you had all along. --- src/allmain.c | 5 +++++ src/u_init.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/allmain.c b/src/allmain.c index 4f5e8cbb6..710063045 100644 --- a/src/allmain.c +++ b/src/allmain.c @@ -818,6 +818,11 @@ newgame(void) } u_init_skills_discoveries(); + if (wizard) { + read_wizkit(); + obj_delivery(FALSE); /* finish wizkit */ + } + if (flags.legacy) { com_pager(u.uroleplay.pauper ? "pauper_legacy" : "legacy"); } diff --git a/src/u_init.c b/src/u_init.c index 2270169ce..2ce7461bb 100644 --- a/src/u_init.c +++ b/src/u_init.c @@ -1381,11 +1381,6 @@ u_init_inventory_attrs(void) if (discover) ini_inv(Wishing); - if (wizard) { - read_wizkit(); - obj_delivery(FALSE); /* finish wizkit */ - } - if (u.umoney0) ini_inv(Money); u.umoney0 += hidden_gold(TRUE); /* in case sack has gold in it */