Open xAstroBoy opened 1 month ago
The ClearVisionMod
class has been enhanced with new properties and methods for controlling light intensity, sun object management, and toggling fog and visor states. The class now includes refined logic for calculating light intensity based on player status, and introduces methods for updating the sun, removing the black skybox, and disabling the mod. These changes aim to improve the visual experience and provide more control over environmental settings.
File Path | Change Summary |
---|---|
lc-hax/.../ClearVisionMod.cs |
Updated ClearVisionMod class with new properties and methods for light intensity control, sun management, fog and 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?
Get rid of overbrightness, make maps visible as day
Summary by CodeRabbit
New Features
Improvements