bird_parts for ravens

- ravens need special parts, actual bats are still best handled by animal_parts
This commit is contained in:
cohrs
2002-03-30 21:16:34 +00:00
parent adf468910c
commit a4c5af0088
2 changed files with 7 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ polymorphing into a form that cannot twoweapon should immediately disable
twoweapon mode
taking partial count of merged objects from a container while your pack
was full split the object and did not re-merge
animal_parts are not always appropriate for ravens
Platform- and/or Interface-Specific Fixes

View File

@@ -1109,6 +1109,10 @@ int part;
"rear claw", "foreclaw", "clawed", "head", "rear limb",
"light headed", "neck", "spine", "rear claw tip",
"fur", "blood", "lung", "nose", "stomach" },
*bird_parts[] = { "wing", "eye", "face", "wing", "wing tip",
"foot", "wing", "winged", "head", "leg",
"light headed", "neck", "spine", "toe",
"feathers", "blood", "lung", "bill", "stomach" },
*horse_parts[] = { "foreleg", "eye", "face", "forehoof", "hoof tip",
"rear hoof", "foreclaw", "hooved", "head", "rear leg",
"light headed", "neck", "backbone", "rear hoof tip",
@@ -1169,6 +1173,8 @@ int part;
(part == ARM || part == FINGER || part == FINGERTIP ||
part == HAND || part == HANDED))
return humanoid_parts[part];
if (mptr == &mons[PM_RAVEN])
return bird_parts[part];
if (mptr->mlet == S_CENTAUR || mptr->mlet == S_UNICORN ||
(mptr == &mons[PM_ROTHE] && part != HAIR))
return horse_parts[part];