Hmmm.... Seems he used a dynamic boolean in his Cloak of Darkness port. https://adventuron.blogspot.com/2018/11/cloak-of-darkness-1999.html Not sure how much the system has changed since then. The dark_expression in the setup, seems to correspond to the dark/light conditions.
Yep... I'd wait for Chris to respond! (And explain)