forked from minetest-mods/mesecons
		
	Use sunlight_propagates = true for some more nodes
This commit is contained in:
		@@ -141,6 +141,7 @@ for zmy=0, 1 do
 | 
			
		||||
		wield_image = "jeija_mesecon_off.png",
 | 
			
		||||
		paramtype = "light",
 | 
			
		||||
		paramtype2 = "facedir",
 | 
			
		||||
		sunlight_propagates = true,
 | 
			
		||||
		selection_box = {
 | 
			
		||||
              		type = "fixed",
 | 
			
		||||
			fixed = {-.5, -.5, -.5, .5, -.5+1/16, .5}
 | 
			
		||||
@@ -161,6 +162,7 @@ for zmy=0, 1 do
 | 
			
		||||
		tiles = tiles_on,
 | 
			
		||||
		paramtype = "light",
 | 
			
		||||
		paramtype2 = "facedir",
 | 
			
		||||
		sunlight_propagates = true,
 | 
			
		||||
		selection_box = {
 | 
			
		||||
              		type = "fixed",
 | 
			
		||||
			fixed = {-.5, -.5, -.5, .5, -.5+1/16, .5}
 | 
			
		||||
 
 | 
			
		||||
@@ -13,6 +13,7 @@ minetest.register_node("mesecons_button:button_off", {
 | 
			
		||||
    paramtype2 = "facedir",
 | 
			
		||||
    legacy_wallmounted = true,
 | 
			
		||||
    walkable = false,
 | 
			
		||||
    sunlight_propagates = true,
 | 
			
		||||
    selection_box = {
 | 
			
		||||
        type = "fixed",
 | 
			
		||||
	fixed = { -6/16, -6/16, 5/16, 6/16, 6/16, 8/16 }
 | 
			
		||||
@@ -42,6 +43,7 @@ minetest.register_node("mesecons_button:button_on", {
 | 
			
		||||
	legacy_wallmounted = true,
 | 
			
		||||
	walkable = false,
 | 
			
		||||
	light_source = LIGHT_MAX-7,
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
    selection_box = {
 | 
			
		||||
        type = "fixed",
 | 
			
		||||
	fixed = { -6/16, -6/16, 5/16, 6/16, 6/16, 8/16 }
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@ minetest.register_node("mesecons_insulated:insulated_on", {
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
	walkable = false,
 | 
			
		||||
	stack_max = 99,
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = { -16/32-0.001, -18/32, -7/32, 16/32+0.001, -12/32, 7/32 }
 | 
			
		||||
@@ -40,7 +40,7 @@ minetest.register_node("mesecons_insulated:insulated_off", {
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
	walkable = false,
 | 
			
		||||
	stack_max = 99,
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
		fixed = { -16/32-0.001, -18/32, -7/32, 16/32+0.001, -12/32, 7/32 }
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,7 @@ minetest.register_node("mesecons_receiver:receiver_on", {
 | 
			
		||||
	},
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	selection_box = {
 | 
			
		||||
             	type = "fixed",
 | 
			
		||||
		fixed = { -3/16, -8/16, -8/16, 3/16, 3/16, 8/16 }
 | 
			
		||||
@@ -43,6 +44,7 @@ minetest.register_node("mesecons_receiver:receiver_off", {
 | 
			
		||||
	},
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	selection_box = {
 | 
			
		||||
             	type = "fixed",
 | 
			
		||||
		fixed = { -3/16, -8/16, -8/16, 3/16, 3/16, 8/16 }
 | 
			
		||||
 
 | 
			
		||||
@@ -13,6 +13,7 @@ minetest.register_node("mesecons_walllever:wall_lever_off", {
 | 
			
		||||
	wield_image = "jeija_wall_lever_off.png",
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	walkable = false,
 | 
			
		||||
	selection_box = {
 | 
			
		||||
		type = "fixed",
 | 
			
		||||
@@ -42,6 +43,7 @@ minetest.register_node("mesecons_walllever:wall_lever_on", {
 | 
			
		||||
	inventory_image = "jeija_wall_lever_on.png",
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
	paramtype2 = "facedir",
 | 
			
		||||
	sunlight_propagates = true,
 | 
			
		||||
	walkable = false,
 | 
			
		||||
	light_source = LIGHT_MAX-7,
 | 
			
		||||
	selection_box = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user