Feature - Implemented NOCOPY in $monster.attributes for uncopyable monsters

soolar

Member
It'd be nice to be able to check if a monster is copyable easily.

Here's a patch for monsters.txt with a NOCOPY note added to the attributes of every monster in this category on the wiki, so possibly incomplete, but it's a start. I also added a copyable flag to the monsters proxy record.

NOINSTAKILL and NOWISH could also be useful tags, but I haven't added those.
 

Attachments

  • nocopy.zip
    43.1 KB · Views: 33
Last edited:

zarqon

Well-known member
Oooh. BatBrain could definitely make use of this to make "copy" actions unavailable vs. uncopyable monsters. The present lack of handling for that has been mostly fine since copy actions are usually user-specified to begin with, but making BatBrain smarter is always something I support.

Adding an 'instakillable' flag as well would be even better; I could stop using the present (and rather ugly) method of specifying instakill actions as dealing massive damage that ends the combat (which is inaccurate).
 

Saklad5

Member
I think it would be very cool to add monster attributes for other non-phylum categories like “SKELETON”, “SEAL”, or “LION” too. More esoteric things, too, like “NOFORCE” for the cosplay saber.
 

soolar

Member
Is there a problem with the patch that needs to be addressed, or is this just not going to be added? If it's not going to be added I'll just manually track it as part of sl_ascend, I guess.
 

Veracity

Developer
Staff member
I think it is just waiting for somebody with commit access who is personally interested in the feature to look it over and bless it.
I have been spending all of my dev time focusing on TCRS, recently.
 

Saklad5

Member
Is there a problem with the patch that needs to be addressed, or is this just not going to be added? If it's not going to be added I'll just manually track it as part of sl_ascend, I guess.
TCRS has proven very time-intensive for everyone, so it may be a while. I have patches that have been awaiting review for over a month.
 
Top