From e2f1ec76ace8ac0cb2a13644aaf59de3d0de8495 Mon Sep 17 00:00:00 2001 From: "nethack.rankin" Date: Fri, 16 Mar 2007 03:09:52 +0000 Subject: [PATCH] figurine/familiar starting inventory While testing the figurine timer patch, I observed The goblin wields a crude dagger. You see a goblin drop out of your pack! Rather than try to get the sequencing right, just prevent monsters made by figurine activation or by the create familiar spell start without any inventory. This will have a side effect of making wishes for a blessed figurine of an archon be less powerful, because the subsequent pet A won't come equipped with a shield of reflection and an artifact--or at least rustproof--long sword anymore. --- doc/fixes34.4 | 1 + src/dog.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.4 b/doc/fixes34.4 index 8cf3e37c6..8c66fc18a 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -340,6 +340,7 @@ towel equipped in weapon, alternate weapon, or quiver slot can be applied lit candle or potion of oil which burned out while equipped would leave stale weapon/alternate-weapon/quiver pointer that could cause panic or crash wielded/worn figurine which auto-transformed had same stale pointer bug +familiars are now created without any starting inventory Platform- and/or Interface-Specific Fixes diff --git a/src/dog.c b/src/dog.c index f1f810b1a..bdcd0be92 100644 --- a/src/dog.c +++ b/src/dog.c @@ -100,7 +100,7 @@ boolean quietly; } } - mtmp = makemon(pm, x, y, MM_EDOG|MM_IGNOREWATER); + mtmp = makemon(pm, x, y, MM_EDOG|MM_IGNOREWATER|NO_MINVENT); if (otmp && !mtmp) { /* monster was genocided or square occupied */ if (!quietly) pline_The("figurine writhes and then shatters into pieces!");