Power sources: Constant, Solar, Hybrid
Posted: Tue Apr 25, 2017 12:13 am
Currently, we have Burner, Electric, and Heat power sources. There are a few I think we need.
Constant: Always active. Just produces the set amount of power. Like a Portable Fusion reactor. Would allow a non-scripted source of infinite power, among other things.
Solar: Solar panel type source. Produces power based on Global Light Level of the surface. Has a minimum and maximum fraction, corresponding to midnight and noon. (minimum and maximum light levels).
Hybrid. A nested table which has multiple power sources. Heat + electricity. Forges can run on either. Solar + Electricity. Greenhouses need light, but during the day they sure don't need electric lights running. Uses the first one in the list first, and does the next if it needs more power.
Script: Set power output via a Lua command. Lets you make windmills or something without having to flicker them on and off.
Would want to be able to attach this to pretty much anything that uses or produces power.
Constant: Always active. Just produces the set amount of power. Like a Portable Fusion reactor. Would allow a non-scripted source of infinite power, among other things.
Solar: Solar panel type source. Produces power based on Global Light Level of the surface. Has a minimum and maximum fraction, corresponding to midnight and noon. (minimum and maximum light levels).
Hybrid. A nested table which has multiple power sources. Heat + electricity. Forges can run on either. Solar + Electricity. Greenhouses need light, but during the day they sure don't need electric lights running. Uses the first one in the list first, and does the next if it needs more power.
Script: Set power output via a Lua command. Lets you make windmills or something without having to flicker them on and off.
Would want to be able to attach this to pretty much anything that uses or produces power.