

A mod designed to be an improved version of hu_luo_bo_ya's Lightutility mod. This mod dynamically assists in the creation of custom flashlight items as opposed to the hardcoding solution done within that mod and vanilla, allowing you to pocket custom flashlights and keep their unique light shining from the player as opposed to it reverting to a vanilla one. (Discord link)
This mod should be ready to use as is. If you encounter a custom flashlight item that this mod does not work well with, you may blacklist the item in the config. The name that goes there is the name you should see printed in the logs. While this mod is compatible with Lightutility, this mod dissables its functionality to avoid unexpected errors.
If you wish to create a compatible flashlight, you shouldn't need to do much. You just have to follow the vanilla format some. Your flashlight needs the flashlight script and the primary light needs to be a child object named "Light". It is recommended that you leave the flashlight's FlashlightTypeID field one of the vanilla values (0-2) incase there is an issue dynamically changing it through this mod as invalid values break the inventory.
