Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004936 [DCSS] Patches minor always 2011-11-24 13:32 2011-12-08 19:34
Reporter mursu View Status public  
Assigned To neil
Priority normal Resolution done  
Status closed   Product Branch 0.10 ancient branch
Summary 0004936: Fix name_replace in map files to work as documented.
Description A monster whose name was defined in the map file using name_replace would get an unwanted article in front of it's name. See bug 4718, which this patch fixes: "The Dores the Cloud Mage shouts!" This is because in mon-flags.h we have
MF_NAME_REPLACE = MF_NAME_SUFFIX|MF_NAME_ADJECTIVE, and testing against suffix or adjective produced a fake(?) positive also in case of name_replace.

There are three cases (out of 31) where name_replace is given without name_descriptor: Cloud Mage, Hellbinder and Cigotuvi's monster (all in wizlab.des). In light of those numbers it might be preferable not to apply this patch, but instead implement something like name_unqualified, and fix the .des syntax documentation and those three monsters accordingly.
Additional Information
Tags No tags attached.
Attached Files ? file icon 0001-Fix-name_replace-in-map-files-to-work-as-documented.patch [^] (2,415 bytes) 2011-11-24 13:32 [Show Content]

- Relationships

-  Notes
(0016168)
neil (administrator)
2011-12-08 16:18

Thanks, applied to trunk (f628362). There were a few more monsters that needed n_des added: diamond_obelisk, crystal_guardian, and the bat variants (3fbade3).

- Issue History
Date Modified Username Field Change
2011-11-24 13:32 mursu New Issue
2011-11-24 13:32 mursu File Added: 0001-Fix-name_replace-in-map-files-to-work-as-documented.patch
2011-12-08 16:18 neil Note Added: 0016168
2011-12-08 16:18 neil Status new => resolved
2011-12-08 16:18 neil Fixed in Branch => 0.10 development branch
2011-12-08 16:18 neil Resolution open => done
2011-12-08 16:18 neil Assigned To => neil
2011-12-08 19:34 mursu Status resolved => closed


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker