0
0
Fork 0

Add daylight sensor help

This commit is contained in:
Wuzzy 2017-03-11 03:51:36 +01:00
parent 2453d3fa63
commit 5ec6841cfa
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,8 @@ minetest.register_node("mesecons_solarpanel:solar_panel_off", {
},
groups = {dig_immediate=3},
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(),
mesecons = {receptor = {
state = mesecon.state.off
@ -155,6 +157,8 @@ minetest.register_node("mesecons_solarpanel:solar_panel_inverted_off", {
drop = "mesecons_solarpanel:solar_panel_off",
groups = {dig_immediate=3, not_in_creative_inventory=1},
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(),
mesecons = {receptor = {
state = mesecon.state.off