Add descriptions

This commit is contained in:
Jeija
2012-01-29 11:53:43 +01:00
parent 0dc5c85137
commit 2e14358988
10 changed files with 43 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ minetest.register_node("jeija:mesecon_switch_off", {
tile_images = {"jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_side.png", "jeija_mesecon_switch_off.png"},
paramtype2="facedir",
material = minetest.digprop_constanttime(0.5),
description="Switch",
})
minetest.register_node("jeija:mesecon_switch_on", {
@@ -11,6 +12,7 @@ minetest.register_node("jeija:mesecon_switch_on", {
paramtype2="facedir",
material = minetest.digprop_constanttime(0.5),
drop='"jeija:mesecon_switch_off" 1',
description="Switch",
})
mesecon:add_receptor_node("jeija:mesecon_switch_on")