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:
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.
The number of credits to charge for a glowstick purchased via the store.
The strength of the light emitted from the glowstick.
The distance the light from the glowstick can reach.
The intensity of the glowing effect from the glowstick material.
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.
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.
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.