B12007 yellow light animal parts
Uses "ray" for arm-related parts, "beam" for everything else.
This commit is contained in:
@@ -260,6 +260,7 @@ can no longer activate a figurine while engulfed
|
||||
can't use figurines to get too many erinyes or Nazgul
|
||||
include currently wielded weapon among the list of likely choices for 'w'
|
||||
likewise for currently quivered ammo among choices for 'Q'
|
||||
prevent mbodypart() from returning animal parts for lights
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -1200,6 +1200,12 @@ int part;
|
||||
if (mptr->mlet == S_CENTAUR || mptr->mlet == S_UNICORN ||
|
||||
(mptr == &mons[PM_ROTHE] && part != HAIR))
|
||||
return horse_parts[part];
|
||||
if (mptr->mlet == S_LIGHT) {
|
||||
if (part == HANDED) return "rayed";
|
||||
else if (part == ARM || part == FINGER ||
|
||||
part == FINGERTIP || part == HAND) return "ray";
|
||||
else return "beam";
|
||||
}
|
||||
if (mptr->mlet == S_EEL && mptr != &mons[PM_JELLYFISH])
|
||||
return fish_parts[part];
|
||||
if (slithy(mptr) || (mptr->mlet == S_DRAGON && part == HAIR))
|
||||
|
||||
Reference in New Issue
Block a user