diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 9ebe6f493..16d0bb2a4 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1302,6 +1302,9 @@ early dungeon (pre-Sokoban) generates extra useful survivability items potion of healing is much more common, and has a unique price alchemy may affect only a portion of the dipped potions if a large stack is dipped (especially if that stack is diluted) +monster kills can no longer deathdrop comestibles (other than the + monster's corpse) unless the monster collects food or + generates with food Fixes to 3.7.0-x General Problems Exposed Via git Repository diff --git a/src/mon.c b/src/mon.c index 6ee8f6d28..65eb2837f 100644 --- a/src/mon.c +++ b/src/mon.c @@ -3285,7 +3285,15 @@ xkilled( otmp = mkobj(RANDOM_CLASS, TRUE); /* don't create large objects from small monsters */ otyp = otmp->otyp; - if (mdat->msize < MZ_HUMAN && otyp != FIGURINE + if (otmp->oclass == FOOD_CLASS && !(mdat->mflags2 & M2_COLLECT) && + !otmp->oartifact) { + /* don't drop newly created permafood from kills, unless + the monster collects food; it creates too much nutrition + in the late game and encourages grinding in the early + game; oartifact check is paranoia and will be redundant + until an artifact comestible is added */ + delobj(otmp); + } else if (mdat->msize < MZ_HUMAN && otyp != FIGURINE /* oc_big is also oc_bimanual and oc_bulky */ && (otmp->owt > 30 || objects[otyp].oc_big)) { if (otmp->oartifact) /* un-create */