Asylud-Glowstick icon

Glowstick

Adds a glowstick item to the shop

By Asylud
Last updated 5 months ago
Total downloads 179456
Total rating 24 
Categories BepInEx Equipment Items
Dependency string Asylud-Glowstick-1.1.0
Dependants 447 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
2018-LC_API-2.1.1 icon
2018-LC_API

Multipurpose modding API for Lethal Company

Preferred version: 2.1.1
NotAtomicBomb-TerminalApi-1.2.0 icon
NotAtomicBomb-TerminalApi

A Terminal Api

Preferred version: 1.2.0

README

Glowstick

Adds a glowstick item to purchase from the store for 5 credits. You can now configure this mod with a few variables in the config file:

Glowstick Color

This uses a Vector3 for the glowstick colour where X = Red, Y = Green and Z = Blue. These values can range from 0.0 - 1.0.

Glowstick Price

The number of credits to charge for a glowstick purchased via the store.

Glowstick Light Intensity

The strength of the light emitted from the glowstick.

Glowstick Light Range

The distance the light from the glowstick can reach.

Glowstick Glow Intensity

The intensity of the glowing effect from the glowstick material.

Glowstick Use Lifetime

Whether to enable the limited lifetime of a glowstick light. If enabled, after 30 seconds the glowsticks lifetime will begin to decrease and it will provide less light with a smaller range over time until it expires. Settings this value to false will cause glowsticks to provide light indefinitely.

Glowstick Life Length

How long a glowstick should provide light for in seconds. The countdown will only begin after the initial 30 seconds of stable light, after which point it will begin decreasing.

Throwing

You can now through glowsticks with LMB. This uses code similar to the throwing of the stun grenade and is admittedly a bit janky at the moment but functional. I may look to rework this throwing functionality in the future.