Light Mod

Lets you change the radius and intensity of lights and turn them on and off all on-the-fly, as well as lets you add custom light sources to existing object types.

Light Manipulation

To adjust the intensity of an object's light source, hover over its base tile and use the scroll wheel. For smaller incremental changes, hold down Left Shift or for even smaller changes Left Control. This also works for ambient light glows (sunlight, etc.).

To adjust the radius of an object's light, hover over its base tile and use the scroll wheel while holding down Left Alt. For smaller incremental changes, hold down Left Shift or for even smaller changes Left Control.

To turn a light on or off manually, hover over its base tile and press the middle mouse button. Note that lights will not turn on during the day time.


Custom Light Sources

You can use Content Patcher to add a custom light source that uses either one of the game's 9 built-in light textures, or create your own png file to use as a light texture.

Here is an example of both:

{
<br />   "Format": "1.23.0",
<br />   "Changes": [
<br />      {
<br />         "Action": "EditData",
<br />         "Target": "aedenthorn.LightMod/dictionary",
<br />         "Entries": {
<br />            "Plush Bunny": {
<br />               "color": {
<br />                  "R": 150,
<br />                  "G": 50,
<br />                  "B": 50,
<br />                  "A": 255
<br />               },
<br />               "textureIndex": 4,
<br />               "radius": 1,
<br />               "offset": {
<br />                  "X": 32,
<br />                  "Y": 0
<br />               },
<br />               "isLamp": true
<br />            },
<br />            "Wicked Statue": {
<br />               "color": {
<br />                  "R": 255,
<br />                  "G": 255,
<br />                  "B": 255,
<br />                  "A": 255
<br />               },
<br />               "texturePath": "CLSWickedStatueLight",
<br />               "textureFrames": 20,
<br />               "frameWidth": 240,
<br />               "frameSeconds": 0.1,
<br />               "radius": 2,
<br />               "offset": {
<br />                  "X": 32,
<br />                  "Y": 0
<br />               },
<br />               "isLamp": true
<br />            }
<br />
<br />         }
<br />      },
<br />      {
<br />         "Action": "Load",
<br />         "Target": "CLSWickedStatueLight",
<br />         "FromFile": "assets/purple.png"
<br />      }
<br />   ]
<br />}



If you specify a texture path, it will ignore textureIndex. Valid texture indexes (for lights without custom texture files) are:


  • 1 (lantern)
  • 2 (window)
  • 4 (sconce)
  • 5 (cauldron)
  • 6 (indoor window)
  • 7 (projector)
  • 8 (fish tank)



Animated textures can use the following extra fields:

textureFrames
refers to how many frames animated textures have. Place frames horizontally in a single row on the graphics file.
frameWidth is how many pixels wide each frame is on the sheet.
frameSeconds is how many seconds each frame should last.


Config

You can edit the config.json file that is created when first running the game or use GMCM.


Technical

Requires SMAPI.

Implements a Generic Mod Config Menu interface to change config settings in-game.

Compatible with Mod Updater for automatic updates.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.

Light Mod Team

profile avatar
Owner
High Crafter tier icon
  • 29
    Followers
  • 305
    Projects
  • 7.4M
    Downloads

More from ErintheView all

  • Sound Tweaker project image

    Sound Tweaker

    Provides advanced customization of the game's sound cues. Lets you combine or replace tracks with other cues, indexed sound tracks, or custom audio files; silence sound cues; change pitch and volume or set random pitch and / or volume; and more!

    • 19.1K
    • October 12, 2026
  • Placeable Mine Shaft project image

    Placeable Mine Shaft

    Allows you to craft and place mine shafts in the same way as you can place staircases.

    • 54.0K
    • October 10, 2026
  • Bat Form project image

    Bat Form

    Lets you transform into a bat that provides a birds eye view of the valley and a movement speed buff.

    • 57.6K
    • October 4, 2026
  • Quest Helper project image

    Quest Helper

    Adds markers to NPC quest targets, adds fish finding info for fishing quests, adds names to socializing quests.

    • 15.4K
    • October 3, 2026
  • Sound Tweaker project image

    Sound Tweaker

    Provides advanced customization of the game's sound cues. Lets you combine or replace tracks with other cues, indexed sound tracks, or custom audio files; silence sound cues; change pitch and volume or set random pitch and / or volume; and more!

    • 19.1K
    • October 12, 2026
  • Placeable Mine Shaft project image

    Placeable Mine Shaft

    Allows you to craft and place mine shafts in the same way as you can place staircases.

    • 54.0K
    • October 10, 2026
  • Bat Form project image

    Bat Form

    Lets you transform into a bat that provides a birds eye view of the valley and a movement speed buff.

    • 57.6K
    • October 4, 2026
  • Quest Helper project image

    Quest Helper

    Adds markers to NPC quest targets, adds fish finding info for fishing quests, adds names to socializing quests.

    • 15.4K
    • October 3, 2026