# Where are EAGLEEYED/Scout and binoculars factored into vision range?

**URL:** https://discourse.cataclysmdda.org/t/where-are-eagleeyed-scout-and-binoculars-factored-into-vision-range/10817
**Category:** The Garage
**Created:** [November 6, 2015, 9:15pm UTC](https://discourse.cataclysmdda.org/t/where-are-eagleeyed-scout-and-binoculars-factored-into-vision-range/10817 "2015-11-06T21:15:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jokermatt999](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jokermatt999](https://discourse.cataclysmdda.org/u/jokermatt999)
#### Post date: [November 6, 2015, 9:15pm UTC](https://discourse.cataclysmdda.org/t/where-are-eagleeyed-scout-and-binoculars-factored-into-vision-range/10817/1 "2015-11-06T21:15:22Z")

</div>

I’ve searched through GitHub, but I can’t find any reference for any of those except where they’re initially defined. Testing seemed to indicate an effect, but I can’t find where it’s coded in. I’ve found the night vision codes, but nothing about those two. Are they still working, and if so where?

---

<div class="post-metadata">

### Author: ![Zombies-R-Us](https://avatars.discourse-cdn.com/v4/letter/z/c57346/32.png) [@Zombies-R-Us](https://discourse.cataclysmdda.org/u/Zombies-R-Us)
#### Post date: [November 6, 2015, 9:42pm UTC](https://discourse.cataclysmdda.org/t/where-are-eagleeyed-scout-and-binoculars-factored-into-vision-range/10817/2 "2015-11-06T21:42:43Z")

</div>

player.cpp

```auto
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) );
    }
    if ((has_amount("binoculars", 1) || has_amount("rifle_scope", 1) ||
        -1 != weapon.has_gunmod("rifle_scope") ) && !has_trait("EAGLEEYED")) {
        if (has_trait("BIRD_EYE")) {
            return 25;
        }
        return 20;
    }

...etc
```

Download the source and use notepad++ to search with better results.

Also, this is first time I was made aware that rifle scopes can be used as binoculars in the game 🙂

---

<div class="post-metadata">

### Author: ![jokermatt999](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@jokermatt999](https://discourse.cataclysmdda.org/u/jokermatt999)
#### Post date: [November 7, 2015, 12:26am UTC](https://discourse.cataclysmdda.org/t/where-are-eagleeyed-scout-and-binoculars-factored-into-vision-range/10817/3 "2015-11-07T00:26:58Z")

</div>

Thank you! It’s weird that git missed that, but I’ll switch to using Notepad++ to search (I already use it for json).
