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.
This commit is contained in:
nethack.rankin
2007-03-16 03:09:52 +00:00
parent 4e38da7ed9
commit e2f1ec76ac
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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!");