@@ -13,29 +13,29 @@ function mesecon:lightstone_add(name, base_item, texture_off, texture_on)
13
13
minetest .register_node (" mesecons_lightstone:lightstone_" .. name .. " _on" , {
14
14
tiles = {texture_on },
15
15
groups = {cracky = 2 ,not_in_creative_inventory = 1 , mesecon = 2 },
16
- drop = " node mesecons_lightstone:lightstone_" .. name .. " _off 1 " ,
16
+ drop = " mesecons_lightstone:lightstone_" .. name .. " _off" ,
17
17
light_source = LIGHT_MAX - 2 ,
18
18
sounds = default .node_sound_stone_defaults (),
19
19
mesecons = {effector = {
20
20
action_off = function (pos , node )
21
21
mesecon :swap_node (pos , " mesecons_lightstone:lightstone_" .. name .. " _off" )
22
22
end
23
23
}}
24
- })
24
+ })
25
25
26
- minetest .register_craft ({
27
- output = " node mesecons_lightstone:lightstone_" .. name .. " _off 1 " ,
28
- recipe = {
29
- { ' ' ,base_item ,' ' },
30
- {base_item ,' default:torch' ,base_item },
31
- { ' ' , ' group:mesecon_conductor_craftable' , ' ' },
32
- }
33
- })
26
+ minetest .register_craft ({
27
+ output = " mesecons_lightstone:lightstone_" .. name .. " _off" ,
28
+ recipe = {
29
+ { " " ,base_item ," " },
30
+ {base_item ," default:torch" ,base_item },
31
+ { " " , " group:mesecon_conductor_craftable" , " " }
32
+ }
33
+ })
34
34
end
35
35
36
36
37
- mesecon :lightstone_add (" red" , " craft default:clay_brick 1 " , " jeija_lightstone_red_off.png" , " jeija_lightstone_red_on.png" )
38
- mesecon :lightstone_add (" green" , " node default:cactus 1 " , " jeija_lightstone_green_off.png" , " jeija_lightstone_green_on.png" )
39
- mesecon :lightstone_add (" blue" , " node mesecons_materials:fiber 1 " , " jeija_lightstone_blue_off.png" , " jeija_lightstone_blue_on.png" )
40
- mesecon :lightstone_add (" gray" , " node default:cobble 1 " , " jeija_lightstone_gray_off.png" , " jeija_lightstone_gray_on.png" )
41
- mesecon :lightstone_add (" darkgray" , " node default:gravel 1 " , " jeija_lightstone_darkgray_off.png" , " jeija_lightstone_darkgray_on.png" )
37
+ mesecon :lightstone_add (" red" , " default:clay_brick" , " jeija_lightstone_red_off.png" , " jeija_lightstone_red_on.png" )
38
+ mesecon :lightstone_add (" green" , " default:cactus" , " jeija_lightstone_green_off.png" , " jeija_lightstone_green_on.png" )
39
+ mesecon :lightstone_add (" blue" , " mesecons_materials:fiber" , " jeija_lightstone_blue_off.png" , " jeija_lightstone_blue_on.png" )
40
+ mesecon :lightstone_add (" gray" , " default:cobble" , " jeija_lightstone_gray_off.png" , " jeija_lightstone_gray_on.png" )
41
+ mesecon :lightstone_add (" darkgray" , " default:gravel" , " jeija_lightstone_darkgray_off.png" , " jeija_lightstone_darkgray_on.png" )
0 commit comments