Latest version: ...

Dev Build (sha256/sha512)

Disables lights around harvestable objects and re-enables them after the object has grown back. Dynamic, compatible with everything. OpenMW 0.49 or newer required!

This is intended to be used with Graphic Herbalism - MWSE and OpenMW Edition and other mods which provide assets that utilize the “graphic herbalism” harvesting feature. Supports the latest release of Tamriel Rebuilt.


Author: johnnyhostile

Lua Help: gnounc


Special Thanks:

And a big thanks to the entire OpenMW and Morrowind modding communities! I wouldn’t be doing this without all of you.


Project Home

Source on GitLab


  1. Download the mod from this URL

  2. Extract the zip to a location of your choosing, examples below:

     # Windows
     # Linux
     # macOS
  3. Add the appropriate data path to your opemw.cfg file (e.g. data="C:\games\OpenMWMods\Lighting\harvest-lights")

  4. Add content=harvest-lights.omwscripts to your load order in openmw.cfg or enable it via OpenMW-Launcher

Please note that this will not disable lights near objects you’ve harvested in an existing save (see planned features below).


How It Works

This pure Lua mod tracks when you have harvested certain Alchemy ingredient containers. When a cluster of these have been harvested leaving only a light object behind, this light is then disabled. When the ingredients respawn, the light is re-enabled.

Only the supported harvestable object IDs and their corresponding light object IDs are hardcoded, everything else is dynamic. The range at which objects and lights detect one another is configurable, but it’s not advised to change that unless you’re troubleshooting some problem.

Adding Support For More IDs

It’s possible to extend the IDs that this mod supports without modifying its source directly. An “addon” mod can be created that uses the interface provided by this one to add support for the desired IDs.

To do this, two files are needed:

  1. YourAddonName.omwscripts with the following contents:
GLOBAL: scripts/YourAddonName/global.lua
  1. scripts/YourAddonName/global.lua with the following contents:
local HL = require("openmw.interfaces").HarvestLights

if not HL then
    error("ERROR: Harvest Lights is not installed!")



File layout:

├── YourAddonName.omwscripts
└── scripts
    └── YourAddonName
        └── global.lua

Note you should change YourAddonName to match your mod’s name and the IDs used to match the IDs you want to add.

The HL variable gives you direct access to the Harvest Lights interface. Use HL.RegisterHarvestables to register harvestable IDs and HL.RegisterLights to register light IDs. You can use whatever script and path names you like, but it must be a global script.

Please see the included example-addon folder for a working example that adds all relevant Tamriel_Data IDs as an add-on. Note that those IDs are supported out of the box and should not actually be used, it is only provided for educational purposes.

Known Issues

Report A Problem

If you’ve found an issue with this mod, or if you simply have a question, please use one of the following ways to reach out:

Planned Features