megapatato / DynamicArmorVariants

Framework for mods to define variants of armors by swapping armor addons dynamically at runtime.
MIT License
0 stars 0 forks source link

Feature: recurrent update? #4

Open megapatato opened 2 weeks ago

megapatato commented 2 weeks ago

Usecase: with Survival Mode (either Vanilla or Enhanced), there is a global variable that tracks the current cold level. As it passes thresholds specified in other globals, the player suffers specific debuffs. The usecase is to swap an armor's visuals as the current cold level changes. Currently, one can track the global value and compare it against floats or other globals; however the update is not frequent enough. Going from the hot-springs to a high peak, the ambient temperature goes through a wide range, so updates are expected. Currently, without a combat event, interior enter/leave, or a "TESFormDeleteEvent" (?) there would be no updates.

Exterior worldspaces are divided into cells; could those changes be tracked?