[crossfire] Obsolete flags
Nicolas Weeger
nicolas.weeger at laposte.net
Sat Apr 21 04:51:57 CDT 2007
Hello.
There are quite many obsolete things in loader.l, so I'd like to remove'em,
but not sure on some things. Also it'll require some map/arch cleaning.
First, those flags:
* has_ready_rod
* has_ready_horn
* has_ready_wand
mapped to FLAG_READY_RANGE
From what i read from the monster handling code, this ready_range flag is
actually not required, it'll be calculated again. So IMO those three flags
should be removed totally.
* can_use_wand mapped to FLAG_USE_RANGE
many archetypes use this flag, many in maps... So should be cleaned like
crazy :)
* immune
* protected
* vulnerable
those kind of conflict with the resist_ values, they'll "override" or mess
with them.
Unfortunately many (~400) maps still use those, so updating won't be easy.
* armour, which should be resist_physical, doesn't seem to be used much.
Any volunteers for helping to clean ? :)
Nicolas
--
http://nicolas.weeger.free.fr [Petit site d'images, de textes, de code, bref
de l'aléatoire !]
More information about the crossfire
mailing list