Add daylight sensor help
parent
2453d3fa63
commit
5ec6841cfa
|
@ -51,6 +51,8 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", {
|
||||||
},
|
},
|
||||||
groups = {dig_immediate=3},
|
groups = {dig_immediate=3},
|
||||||
description="Daylight Sensor",
|
description="Daylight Sensor",
|
||||||
|
_doc_items_longdesc = "Daylight sensors are redstone components which provide redstone power when they are in sunlight and no power otherwise. They can also be inverted.",
|
||||||
|
_doc_items_usagehelp = "Rightclick the daylight sensor to turn it into an inverted daylight sensor, which supplies redstone energy when it is in moonlight.",
|
||||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||||
mesecons = {receptor = {
|
mesecons = {receptor = {
|
||||||
state = mesecon.state.off
|
state = mesecon.state.off
|
||||||
|
@ -155,6 +157,8 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_off", {
|
||||||
drop = "mesecons_solarpanel:solar_panel_off",
|
drop = "mesecons_solarpanel:solar_panel_off",
|
||||||
groups = {dig_immediate=3, not_in_creative_inventory=1},
|
groups = {dig_immediate=3, not_in_creative_inventory=1},
|
||||||
description="Inverted Daylight Sensor",
|
description="Inverted Daylight Sensor",
|
||||||
|
_doc_items_longdesc = "An inverted daylight sensor is a variant of the daylight sensor. It is a redstone component which provides redstone power when it in moonlight and no power otherwise. It can turned back into an ordinary daylight sensor.",
|
||||||
|
_doc_items_usagehelp = "Rightclick the daylight sensor to turn it into a daylight sensor.",
|
||||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||||
mesecons = {receptor = {
|
mesecons = {receptor = {
|
||||||
state = mesecon.state.off
|
state = mesecon.state.off
|
||||||
|
|
Loading…
Reference in New Issue