diff srcOriginal/sounds.c src/sounds.c 920,923c920,943 < if (!canspotmon(mtmp)) < map_invisible(mtmp->mx, mtmp->my); < pline("%s is eating noisily.", Monnam(mtmp)); < return (0); --- > if (!canspotmon(mtmp)) > map_invisible(mtmp->mx, mtmp->my); > pline("%s is eating noisily.", Monnam(mtmp)); > return (0); > } > /* This adds the ability for rangers to #chat to animals to tame them. > * I arbitrarily chose all these to encompass "animals". Every 3 > * levels they get +1 bonus to this happening. > */ > if(Role_if(PM_RANGER) && (mtmp->m_lev < 11) > && (mtmp->data->mlet == S_DOG || mtmp->data->mlet == S_FELINE > || mtmp->data->mlet == S_UNICORN || mtmp->data->mlet == S_RODENT > || mtmp->data->mlet == S_SNAKE || mtmp->data->mlet == S_BAT > || mtmp->data->mlet == S_LIZARD || mtmp->data == &mons[PM_ROTHE] > || mtmp->data == &mons[PM_APE] > || mtmp->data == &mons[PM_MONKEY]) > && !is_were(mtmp->data)&& (mtmp->data != &mons[PM_SALAMANDER])) > { > int tmpChance = 10-(u.ulevel/3); > if(tmpChance ? !rn2(tmpChance) : 1) > { > tamedog(mtmp,(struct obj*)0); > } > return(0); 925d944 <