Git Product home page Git Product logo

Comments (2)

rselias avatar rselias commented on June 28, 2024 1

Also, there's a bunch of other issues with the new NVGs.

The normal night vision goggles are described as being older generation double-tube goggles, but a comment in the code indicates they're based on the AN/PVS-7, which is single-tube. Not sure which is accurate.

Normal night vision goggles have the nvg_good effect, giving them +12 vision, while the panoramic and enhanced night vision goggles only have nvg_normal with +9 vision. This makes no sense -- shouldn't it be the other way around? I can see an argument for the panoramic goggles having a better vision bonus than the enhanced goggles, given their real-life counterparts have a much wider field of view. But there's no way the normal NVGs should be better than either. Right now the GPNVGs are objectively worse than the normal ones in every way. The ENVGs are too, except they have IR vision to redeem them.

...They have IR vision, right?

No, they don't. The flag isn't working. Not sure why. The normal infrared goggles with the same flag work fine. The night vision enchantment doesn't seem to conflict with the IR_EFFECT flag, given you can wear active NVGs and IR goggles at the same time, and they both work. Which is another bug - activating goggles attached to a helmet doesn't check to see if you already have a rigid item in the outer eyes layer, so you end up being able to have multiple rigid items equipped occupying the same space.

Paging @b0bhat

from cataclysm-dda.

b0bhat avatar b0bhat commented on June 28, 2024 1

Thanks for bringing these issues up @rselias, I admit I should've checked my values before committing. I'll create a PR with the fixes.

For the ENVG power draw, that is indeed a typo, should be mW and not W.
The NVG's description should be changed to single tube.
NVG should have nvg_normal, GPNVG should have nvg_good.

The ENVG should have nvg_normal with IR vision but I think due to no inherit flag on the helmet slot the flag does not work (since the nvg is an item in the pocket rather than being worn). The inherit flag causes some other problems with persistent effects lasting after the battery runs out, so I think a fix could perhaps be just increasing the range of its nv effect above the GPNVG instead of true IR, or removing the item for now.

I'm not sure how to fix that last issue. I think rigid should block other rigid items but maybe the check only checks worn items which the nvgs aren't.

from cataclysm-dda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.