光控制器(开源)
Light Controller (Open Source)
76561198023306710
Steam工坊
预览截图
1 张图片
主预览图
左右滑动查看更多 · 点击图片查看原图
模组介绍
查看英文原文
Source Code
(No License, use as wanted, with or without attribution)
Automatically turns lights and torches on at dusk and off at dawn.
Works with all mod lights.
- Light Controller (made in inventory)
1.) Place the light controller and it will automatically turn on and off every light and torch within its sphere of control.
Place in your gameusersettings.ini file.
ExclusionList=
InclusionList=
PostDawnOffsetInSeconds=0
PreDuskOffsetInSeconds=0
ExclusionList - list of items that should be exempt from turning on and off. This is a comma separated list of item names(ie "Lamppost_C,StandingTorch_C").
InclusionList - list of items that should be turned on and off. This is a comma separated list of item names(ie "Forge_C,Campfire_C").
Note: you only need to use an exclusion/inclusion list if an item in a mod isn't working correctly. If a stock item isn't working, please let me know(except for the campfire, it is excluded by design).
PostDawnOffsetInSeconds - how many seconds after dawn the controller should wait before turning the lights off.
PreDuskOffsetInSeconds - how many seconds before dusk the controller should turn the lights on.
Guide on Setting Up Exclusion/Inclusion List
Mod ID: 718412068
Spawn Code
(No License, use as wanted, with or without attribution)
Automatically turns lights and torches on at dusk and off at dawn.
Works with all mod lights.
New Items:
- Light Controller (made in inventory)
Usage:
1.) Place the light controller and it will automatically turn on and off every light and torch within its sphere of control.
Config Options:
Place in your gameusersettings.ini file.
ExclusionList=
InclusionList=
PostDawnOffsetInSeconds=0
PreDuskOffsetInSeconds=0
ExclusionList - list of items that should be exempt from turning on and off. This is a comma separated list of item names(ie "Lamppost_C,StandingTorch_C").
InclusionList - list of items that should be turned on and off. This is a comma separated list of item names(ie "Forge_C,Campfire_C").
Note: you only need to use an exclusion/inclusion list if an item in a mod isn't working correctly. If a stock item isn't working, please let me know(except for the campfire, it is excluded by design).
PostDawnOffsetInSeconds - how many seconds after dawn the controller should wait before turning the lights off.
PreDuskOffsetInSeconds - how many seconds before dusk the controller should turn the lights on.
Guide on Setting Up Exclusion/Inclusion List
Mod ID: 718412068
Spawn Code