Extended Schedule - Vanilla-Expanded/VanillaExpandedFramework GitHub Wiki
CompProperties_ScheduleExtended is a more configurable version of base game's CompProperties_Schedule
public float minLight;
public float maxLight = 1f;
public string sunlightMessage = null;
// We could handle this with a single bool?, but I feel this is clearer this way.
public bool disableUnderRoof = false;
public bool disableWithoutRoof = false;
public string disabledDueToRoofMessage = null;
It is a comp class, so you just add it in XML in the <comps>
tag. For example here is the outdoor solar lamp in VE Furniture - Spacer:
<comps>
<li Class="VEF.Buildings.CompProperties_ScheduleExtended">
<minLight>0</minLight>
<maxLight>0.5</maxLight>
<offMessage>Off due to sufficient sunlight.</offMessage>
<disableUnderRoof>true</disableUnderRoof>
<disabledDueToRoofMessage>Off due to being under a roof.</disabledDueToRoofMessage>
</li>
</comps>