Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

JSONable night vision ranges

Open Standing-Storm opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

Currently, all possible night vision ranges are hard-coded to specific mutations or traits. If you want to let a character see in the dark, you need to either give them one of those specific traits or an effect with the NIGHT_VISION flag that lets them see to the limits of normal vision.

Solution you would like.

An enchantment value that adjusts the range of a character's night vision, (hopefully) compatible with existing traits, so it would be possible to write bonuses to night vision that are compatible with any level of night vision a survivor might have (or curses that can reduce it).

Describe alternatives you have considered.

No response

Additional context

No response

Standing-Storm avatar Mar 03 '23 05:03 Standing-Storm

After #62092 merges you will be able to modify nightvision_score through any effect.

Venera3 avatar Mar 03 '23 15:03 Venera3

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

github-actions[bot] avatar Apr 02 '23 16:04 github-actions[bot]

Looks like #62092 was merged.

anothersimulacrum avatar Apr 02 '23 16:04 anothersimulacrum