Closed xAstroBoy closed 3 months ago
The ClearVisionMod
class has been significantly updated to enhance controls over light intensity, sun management, and fog and visor states. New properties and methods refine the logic for light adjustments based on player conditions, while the introduction of the sun object feature and streamlined flow improve the overall visual experience and gameplay dynamics.
File Path | Change Summary |
---|---|
lc-hax/.../ClearVisionMod.cs |
Enhanced ClearVisionMod with new properties/methods for light intensity control, sun management, fog/visor toggling, and mod disabling. |
sequenceDiagram
participant Player
participant ClearVisionMod
participant Environment
Player ->> ClearVisionMod: IncreaseLightIntensity()
ClearVisionMod ->> Environment: Adjust light intensity
Player ->> ClearVisionMod: ToggleFog(true/false)
ClearVisionMod ->> Environment: Enable/Disable fog
Player ->> ClearVisionMod: ToggleVisor(true/false)
ClearVisionMod ->> Player: Enable/Disable visor
Player ->> ClearVisionMod: UpdateNewSun()
ClearVisionMod ->> Environment: Update sun object
Player ->> ClearVisionMod: DisableMod()
ClearVisionMod ->> Environment: Restore default settings
In code, we toil with light so bright,
To banish fog and clear the night.
A visor's toggle, sun's new dawn,
With these tweaks, the game's redrawn.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Hmm.. After thinking about it, I don't think this is a good addition. I find that the default daytime brightness isn't bright enough sometimes.
I also don't like the fact that users will have to re-toggle the mod every time they go to a new map to disable the fog and visor.
Get rid of overbrightness, make maps visible as day
Summary by CodeRabbit
New Features
Improvements