Doomed Darkvision Fix

Doomed Darkvision Fix

NOTE: As of ToME version 1.7.3, this fix has been incorporated into the base game, and so should be deactivated/uninstalled.

Tweaks LOS code for both NPCs and the player to properly and consistently respect Dark Vision when determining whether Creeping Darkness blocks sight.

Targeting and projection now properly treat Creeping Darkness as transparent if you have Dark Vision, just like any other tile that can be seen through, eliminating awkward behavior when targeting diagonally and/or around corners. If you do not have Dark Vision, these tiles will be treated as opaque. Additionally, NPCs will properly be able to see and target through their own creeping darkness without hindrance. Similar effects to Creeping Darkness such as Cursed Miasma should also be corrected by this addon.

This addon hard-overwrites engine and module functions. As such, I cannot fully guarantee compatibility or stability.


Doomed Darkvision Fix forum discussion thread
See addon usage in the character's vault.
5
Your rating: None Average: 5 (2 votes)
Name Module Version Required Released File
Darkvision Fix v2 1.7.0 2020-11-23 05:01
tome-darkvision_fix.teaa
Doomed Darkvision Fix 1.0.0 1.6.6 2020-02-13 00:31
tome-darkvision_fix.teaa