Quick Nav


Back To Top

Overview

Bioluminescence makes night much more glowy and colorful, by adding foliage - trees, bushes, reeds, and more - that glow in the dark, as well as (optionally) making biters do the same.

Details

Bioluminescence adds four kinds of foliage - sparkle trees, luminous bushes, glow reeds, and light lilies. The first three can spawn on land, the last two on water. These plants all glow in the dark in one of several colors, selected to match the color palette of the surrounding biome. Most of the plants are simply scenery and have neither collision nor mineability; sparkle trees, being solid, can also be mined and will yield an item to be placed elsewhere.

There is also an option to make biters glow in the dark, colored as normal. Aside from also looking aesthetically pleasing, this is also something of a survival aid at night, as now biters are quite visible from a distance.

Options

There are several modes by which Biolum can apply its lights; by default, it uses the LuaRendering script system to add lights; this never has any possibility of "straggler" lights but can lead to FPS problems on large worlds. With that option off, it will place lights around the plants, which has no FPS impact but could in theory leave leftover lights separated from the plant if something deletes the plant unexpectedly. Biters always use script lights, as they are moving and constantly created and destroyed, but rarely exist in sufficient number to noticeably impact FPS.

Configuration Settings

This mod contains several config options to modify values and behaviors - such as for balance or server safety concerns, or simply personal taste - to your preferences. Note that several settings may have bounds imposed on their values, either logically or explicitly; these can usually be seen in the actual settings files or ingame. These are listed in order found in the source code, which is generally the order in which they were added; They may be present in a different order ingame or in the configuration files.
The settings for the mod, when installed, can be found ingame, in the mod settings menu.

Make biters glow in the dark

Type: bool
Current Default Value:
true

Generate glowing plants

Type: bool
Current Default Value:
true

Plant spawn density

Type: double
Current Default Value:
1

Use LuaRendering control script lights

Type: bool
Current Default Value:
true
Whether the lights on the plants use the LuaRendering mod scripting system for adding lights. This is cleaner and more reliable, but is markedly worse for client framerate performance on large maps. If this option is false, the lights will be accomplished with hidden entities instead, which does not have the FPS impact, but is messier and may cause weird issues like lights persisting after their plant is removed via unexpected means.

Rescan Rate

Type: int
Current Default Value:
1
When the mod profile of a save file is changed, the world will be scanned for biolum entities to replace any missing lights and remove straggling entities. This is the number of chunks scanned per tick. Higher numbers complete the scan more quickly, but reduce UPS more severely while it is ongoing, while lower ones reduce its impact but lengthen its duration. Set it to zero to disable this resynchronization, but be warned that doing so will likely result in missing or leftover lights accumulating in older saves.

Source Code

The source code for Bioluminescence can be found here:GitHub

Downloads

Via Factorio Mod Portal