More Times in Build&Buy Modes

SCREENSHOTS
Downloaded 135 times 29 Thanks 9 Favourited 1,241 Views
 Say Thanks!
This mod replaces the existing Day/Night Toggle button with a new one, giving four options:
Sunrise (6.00), Noon (12.00), Sunset (18.00), Midnight (0.00).

This mod also adds a new button to set any time of day.


The replacement button is called the Time Switch Button. It allows you to switch between preset times:
- Left-clicking or pressing L will set it to the next time.
- Right-clicking or pressing Shift+L will set it to the previous time.
- Middle-clicking or pressing Ctrl+Shift+L will set it to the original time.

The new button is called the Custom Time Button. Clicking it will toggle the Custom Time Window, where you will find the Time Input Fields (Hour and Minute), the Time Circle, and the Time Navigator. There are multiple ways to set the time here:
- You can set the hour and minute by changing the values of the Time Input Fields.
- You can use the mouse wheel anywhere in the Custom Time Window to set the time forward or backward.
- You can click anywhere on the Time Circle or click and drag on the Time Circle to move the Time Navigator to set the time.

Notes
→ If the game or the current world has custom sunrise and sunset values, this mod will work only if these values are in the range of [0, 24) and the sunrise time is lower than the sunset time. This is because I didn't choose to deep dive into how abnormally different values work.

Tuning
The following tunables are found within Eca.MoreTimesInBuildBuyModes.Tuning.xml.
CustomTimeButtonState → Set whether the Custom Time Button is visible and enabled.
TurnLightsOnAt → Set at what times the lights should turn on when switching between times.
CustomTimeWindowWheelDelta → Set the change in time in Sim minutes as the mouse wheel triggers the Custom Time Window.
HourInputFieldWheelDelta → Set the change in time in Sim hours as the mouse wheel triggers the Hour Input Field.
MinuteInputFieldWheelDelta → Set the change in time in Sim minutes as the mouse wheel triggers the Minute Input Field.

There are also tunables within Eca.MoreTimesInBuildBuyModes.Tuning+TimeSwitchButton, Eca.MoreTimesInBuildBuyModes.Tuning+CustomTimeButton, and Eca.MoreTimesInBuildBuyModes.Tuning+CustomTimeWindow to set some properties of some UI elements; all are self-explanatory.

Compatibility and Conflicts
→ It's made compatible with Tiny UI Fix, even if you receive a warning from that mod; reinstalling should not be required when you install or uninstall this mod.
→ It's made compatible with SetHour Cheat, so that you can safely use the cheat while in the Build/Buy modes. However, it is still best to avoid using it in the Build/Buy modes.
→ The live time may get permanently altered if you manage to save in the Build/Buy modes and reload the save. If you want to save in Build/Buy modes, do it only when the time is set to the original (i.e., the live time).
→ It is not compatible with UI recolors in terms of, well, coloring. This mod mostly uses the game's original assets.
→ It may not be compatible with UI mods that would alter the layout, only in terms of layout.
Advertisement:
Other Download Recommendations:
More downloads by Eca: See more