From cfdee27498d9faed11de9e9d5641044267be6a61 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Tue, 2 Dec 2025 15:23:50 +0000 Subject: [PATCH] pauper versus wizard spellbook auto-ID These two enhancements were interacting with each other in weird ways (paupers would start with no auto-IDs but force bolt, but gain the level 1 auto-IDs upon training any skill). Change the interaction so that paupers don't get the level 1 auto-IDs (which wizards get to start with), but do get the level 3 auto-IDs in skills that they manage to advance. --- src/spell.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/spell.c b/src/spell.c index 1f2c6a823..847f53335 100644 --- a/src/spell.c +++ b/src/spell.c @@ -891,7 +891,9 @@ skill_based_spellbook_id(void) break; case P_UNSKILLED: default: - known_up_to_level = 1; + /* paupers need more skill than this to ID books, but most wizards + know the basics */ + known_up_to_level = u.uroleplay.pauper ? 0 : 1; break; }