You are viewing a potentially older version of this package. View all versions.
Asylud-Glowstick-1.1.0 icon

Glowstick

Adds a glowstick item to the shop

By Asylud
Date uploaded 11 months ago
Version 1.1.0
Download link Asylud-Glowstick-1.1.0.zip
Downloads 92421
Dependency string Asylud-Glowstick-1.1.0

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.

CHANGELOG

Changelog

v1.1.0

  • Added config file that allows modifying glowstick light intensity, range, glow effect intensity, store price, use lifetime and lifetime
  • Added glowstick lifetime. If enabled, after 30 seconds the lifetime counter will begin to decrease and the light intensity and range will slowly decrease
  • Added throwing glowstick with LMB

v1.0.2

  • Fixed compatibility with other mods that add an item to the shop
  • Increase price from 3 to 5
  • Slightly reduced light intensity and range