Scout perk, Binocs, Telescopic Eyes CBM, etc?


#1

Do these three things stack in any way, or would you get the exact same overmap view distance with all three as just one? Does Perception effect view distance as well for revealing the overmap? thx :slight_smile:


#2

I don’t think that they stack. AS for the second question I have no idea. :frowning:


#3

What Walegrin said, exactly, both parts.


#4

Did some moderately quick and dirty testing, interesting results. Normal overmap range on fields seems to be 5 overmap tiles. Not really much further than the player can see really but eh. Equipping binoculars, having the scout mutation or having the telescopic eyes bionic increases that range to 10 overmap tiles, which is a pretty impressive bonus for how little it costs. The scout mutation and telescopic eyes or binoculars increases the range to 12 tiles, but binoculars and telescopic eyes seems to have no effect, which makes sense.

Perception doesn’t seem to have any effect, since the default range is 5 tiles with 5 perception or 50.


#5
int player::overmap_sight_range( int light_level ) const
{
    int sight = sight_range( light_level );
    if( sight < SEEX ) {
        return 0;
    }
    if( sight <= SEEX * 4 ) {
        return ( sight / ( SEEX / 2 ) );
    }
    sight = has_trait( trait_BIRD_EYE ) ? 15 : 10;
    bool has_optic = ( has_item_with_flag( "ZOOM" ) || has_bionic( bio_eye_optic ) );
    if( has_optic && has_trait( trait_EAGLEEYED ) ) {
        sight += 15;
    } else if( has_optic != has_trait( trait_EAGLEEYED ) ) {
        sight += 10;
    }
    return sight;
}