fix github issue #722 - unique monster's corpse
Issue #722 posted by copperwater and commented on by Entrez: both shk_your() and the() inserted "the" in front of a unique monster's corpse, yielding "the Lord Surtur's corpse glows iridescently" and "the Lord Surtur's corpse drops to the floor." Teach both of those routines to skip "the" when used for monsters with personal names. It now omits "the" for "Medusa's corpse" but still gives "the Oracle's corpse". shk_your() operates on an object and can deal explicitly with corpses of named monsters. the() operates on text and has to guess whether it is being used in a similar situation. Right now the guess is just "is there an apostrophe present?" and might need further refinement. Fixes #722
This commit is contained in:
@@ -870,6 +870,8 @@ if drinking from a fountain randomly gave the 'detect monsters' effect but
|
||||
there were no monsters on the level then there was no feedback
|
||||
object detection always showed a mimic imitating a statue as a tengu even if
|
||||
it had information available about some other type of monster
|
||||
avoid "the Lord Surtur's corpse glows iridescently" when shk_your() or the()
|
||||
is applied to the corpse of unique monster with a personal name
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user