intelligent pets vs cannibalism (trunk only)
Implement a user suggestion that tame humanoids should avoid eating corpses of their own species. Prevent them--except for kobolds, orcs, and ogres--from doing so unless starving. Arbitrary: tame elves won't eat other elves even when starving. A polymorphed character will incur the effects of cannibalism when eating either his/her underlying race _or_ the current one (player orcs and cavemen aren't affected though).
This commit is contained in:
@@ -1221,6 +1221,7 @@ E int FDECL(num_horns, (struct permonst *));
|
||||
E struct attack *FDECL(dmgtype_fromattack, (struct permonst *,int,int));
|
||||
E boolean FDECL(dmgtype, (struct permonst *,int));
|
||||
E int FDECL(max_passive_dmg, (struct monst *,struct monst *));
|
||||
E boolean FDECL(same_race, (struct permonst *,struct permonst *));
|
||||
E int FDECL(monsndx, (struct permonst *));
|
||||
E int FDECL(name_to_mon, (const char *));
|
||||
E int FDECL(gender, (struct monst *));
|
||||
|
||||
Reference in New Issue
Block a user