nornagon / cdda-guide

The Hitchhiker's Guide to the Cataclysm
https://cdda-guide.nornagon.net
GNU General Public License v3.0
116 stars 26 forks source link

Monsters can't be searched by their name, if they get the name via ``copy-from`` #153

Closed Karol1223 closed 1 year ago

Karol1223 commented 1 year ago

As in the title. Example is the feral crewman and it's four versions.

The first version, who has a standard defined name in it's JSON, can be searched normally by either ID or the name.

The other three versions, who do not have a name defined in their JSON and instead get it via copy-from from the first version, can only be searched by their ID.

image image

nornagon commented 1 year ago

Whoops! Good catch. I think this has been a bug for years, can't believe nobody noticed it before! Should be fixed now.