gender for figurines
Use (obj->spe & CORPSTAT_GENDER) for figurines as well as for
statues and corpses.
Support wishing for
"{female,male,neuter} {corpse,statue,figurine} [of <monster>]".
and
"{female,male,neuter} <monster> {corpse,statue,figurine}".
Also
"{corpse,statue,figurine} of {female,male,neuter} <monster>"
where the qualifier might be in the middle instead of a prefix.
This commit is contained in:
@@ -55,8 +55,9 @@ struct obj {
|
||||
* candy bar wrapper index;
|
||||
* scroll of mail (normal==0, bones or wishing==1, written==2);
|
||||
* splash of venom (normal==0, wishing==1);
|
||||
* gender for corpses and statues (0..3, CORPSTAT_GENDER),
|
||||
* historic flag (4, CORPSTAT_HISTORIC) for statues */
|
||||
* gender for corpses, statues, and figurines (0..3,
|
||||
* CORPSTAT_GENDER),
|
||||
* historic flag for statues (4, CORPSTAT_HISTORIC) */
|
||||
char oclass; /* object class */
|
||||
char invlet; /* designation in inventory */
|
||||
char oartifact; /* artifact array index */
|
||||
|
||||
Reference in New Issue
Block a user