SYNOPSIS
int P_IS_PET "IsPet"
int Set(P_IS_PET, int value)
int Query(P_IS_PET)
or
int SetIsPet(int value)
int QueryIsPet()
DESCRIPTION
This property is usually 0. It is set to non-zero for NPCs which
are familiars, fighting pets, or the like.
Setting the property causes the related property IS_NPC to return
0, thus making the pet attackable by other monsters.
EXAMPLE
// In a familiars create...
void create() {
...
Set(P_IS_PET, 1);
...
}
AVAILABILITY
Include: <properties.h>
Availability: /std/living(/description)and descendants.
SEE ALSO
living(S), isliving(P), isnpc(P), isplayer(P)