Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

KNakamura

Uploaded by

Sakorona

Virus scan

Safe to use

About this mod

This mod gives Stardew Valley a more dynamic daylight cycle, changing when it gets dark and adding a dawn period at the start of the day. It also adds a full light cycle, adding sunrise and sunset effects. These times will vary depending on the time of year. Can be configured to match your latitude. Does not alter start time.

Permissions and credits
Dynamic Night Time

Requirements
- SMAPI 3.0+
- Stardew Valley 1.4+

This Mod Does:
This mod gives Stardew Valley a more dynamic daylight cycle, changing when it gets dark and adding a dawn period at the start of the day. It also adds a full light cycle, adding sunrise and sunset effects. These times will vary depending on the time of year. Can be configured to match your latitude. Does not alter start time.

IMPORTANT NOTE
Make sure that if you have problems with other mods that you are running their latest version.  Also, this mod does not alter wake up time. 
NOTE: DNT does some assumption work lighting after sunset is consistent. This also may not match your tick timing if you use time speed mods.
NOTE2: This mod is incompatible with Deep Woods prior to 1.2-beta.18 / 1.3-beta.15

INCOMPATIBILITIES:
Do not install this mod with Ambient Light.

Multiplayer Compatibility
This mod is MP compatible, and all clients will need it for it to work.

Light Level Notes
The higher the number, the darker the night. See comparison image in images. Defaults to 1.

Installation Instructions
Unzip the folder into your Mods/ folder after making sure SMAPI is installed

For changelog and patch notes, see Here

Troubleshooting Notes
* This mod dynamically generates your cycle based on latitude, and then clamps it to the nearest 10  hours. This does means that changes that are less than 3 minutes will not be visible. This is largely due to the nature of the 10 minute clock in Stardew Valley.
*This mod uses Harmony, a tool that allows for rewriting of game functions during runtime.
This mod alters three functions in Game1 - isNightOut, GameClock, getStartingToGetDarkTime, getTrulyDarkTime. They will still return the same variables and generally the same intended use.

Options Config
To configure, open up `config.json` in your mod folder. (Or use GMCM, if you have it installed)

-`SunsetTimesAreMinusThirty` - Valid is true or false. This applies a half hour corrective to the generated sunset.

- `latitude` - Valid is anything from -64 to 64. (- for lats S, + for lats N.). Sets the latitude that will determine sunrise and sunset times. Out of range latitudes will be reset. To find the latitude for your city, please consult google. Note that if you are in south latitude, you will get your sunrise/sunset times but not your climate.

- `NightDarknessLevel` - Set values from 1-4, as you go higher, it gets darker.