Opened 8 years ago

Last modified 8 years ago

#1589 confirmed change

Distinguish between natural and magical properties — at Initial Version

Reported by: magnate Owned by: magnate
Milestone: v4 Keywords: items
Cc:

Description

Following the discussion in http://angband.oook.cz/forum/showthread.php?t=5060 it will be important to distinguish objects' natural properties from their magical ones.

My initial thought is to create o_ptr->natural_flags in the same vein as o_ptr->pval_flags, i.e. a subset of o_ptr->flags which contains all those which are natural properties of this object. Note that a flag which is natural for some objects will be magical for others, e.g. IGNORE_FIRE.

This is going to take some serious heuristics if we are to avoid lots of special-case code, but will be an important foundation for the future of ID and detection.

Change History (0)

Note: See TracTickets for help on using tickets.