forked from minetest-mods/mesecons
		
	Replace on_rotate_horiz with on_rotate and paramtype2 = "4dir"
This raises the minimal Luanti/Minetest version to 5.7.0.
This commit is contained in:
		
				
					committed by
					
						 SmallJoker
						SmallJoker
					
				
			
			
				
	
			
			
			
						parent
						
							b79962402b
						
					
				
				
					commit
					27072542cf
				
			| @@ -18,7 +18,7 @@ minetest.register_node("mesecons_extrawires:corner_on", { | ||||
| 		{ name = "jeija_insulated_wire_ends_on.png", backface_culling = true }, | ||||
| 	}, | ||||
| 	paramtype = "light", | ||||
| 	paramtype2 = "facedir", | ||||
| 	paramtype2 = "4dir", | ||||
| 	is_ground_content = false, | ||||
| 	walkable = false, | ||||
| 	sunlight_propagates = true, | ||||
| @@ -33,7 +33,7 @@ minetest.register_node("mesecons_extrawires:corner_on", { | ||||
| 		offstate = "mesecons_extrawires:corner_off" | ||||
| 	}}, | ||||
| 	on_blast = mesecon.on_blastnode, | ||||
| 	on_rotate = mesecon.on_rotate_horiz, | ||||
| 	on_rotate = mesecon.on_rotate, | ||||
| }) | ||||
|  | ||||
| minetest.register_node("mesecons_extrawires:corner_off", { | ||||
| @@ -45,7 +45,7 @@ minetest.register_node("mesecons_extrawires:corner_off", { | ||||
| 		{ name = "jeija_insulated_wire_ends_off.png", backface_culling = true }, | ||||
| 	}, | ||||
| 	paramtype = "light", | ||||
| 	paramtype2 = "facedir", | ||||
| 	paramtype2 = "4dir", | ||||
| 	is_ground_content = false, | ||||
| 	walkable = false, | ||||
| 	sunlight_propagates = true, | ||||
| @@ -59,7 +59,7 @@ minetest.register_node("mesecons_extrawires:corner_off", { | ||||
| 		onstate = "mesecons_extrawires:corner_on" | ||||
| 	}}, | ||||
| 	on_blast = mesecon.on_blastnode, | ||||
| 	on_rotate = mesecon.on_rotate_horiz, | ||||
| 	on_rotate = mesecon.on_rotate, | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|   | ||||
| @@ -41,7 +41,7 @@ for k, state in ipairs(doublecorner_states) do | ||||
| 			{ name = "jeija_insulated_wire_ends_" .. w2 .. ".png", backface_culling = true }, | ||||
| 		}, | ||||
| 		paramtype = "light", | ||||
| 		paramtype2 = "facedir", | ||||
| 		paramtype2 = "4dir", | ||||
| 		is_ground_content = false, | ||||
| 		walkable = false, | ||||
| 		sunlight_propagates = true, | ||||
| @@ -56,7 +56,7 @@ for k, state in ipairs(doublecorner_states) do | ||||
| 			}, | ||||
| 		}, | ||||
| 		on_blast = mesecon.on_blastnode, | ||||
| 		on_rotate = mesecon.on_rotate_horiz, | ||||
| 		on_rotate = mesecon.on_rotate, | ||||
| 	}) | ||||
| end | ||||
|  | ||||
|   | ||||
| @@ -29,7 +29,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", { | ||||
| 		"jeija_insulated_wire_ends_on.png" | ||||
| 	}, | ||||
| 	paramtype = "light", | ||||
| 	paramtype2 = "facedir", | ||||
| 	paramtype2 = "4dir", | ||||
| 	is_ground_content = false, | ||||
| 	walkable = false, | ||||
| 	sunlight_propagates = true, | ||||
| @@ -45,7 +45,7 @@ minetest.register_node("mesecons_extrawires:tjunction_on", { | ||||
| 		offstate = "mesecons_extrawires:tjunction_off" | ||||
| 	}}, | ||||
| 	on_blast = mesecon.on_blastnode, | ||||
| 	on_rotate = mesecon.on_rotate_horiz, | ||||
| 	on_rotate = mesecon.on_rotate, | ||||
| }) | ||||
|  | ||||
| minetest.register_node("mesecons_extrawires:tjunction_off", { | ||||
| @@ -60,7 +60,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { | ||||
| 		"jeija_insulated_wire_ends_off.png" | ||||
| 	}, | ||||
| 	paramtype = "light", | ||||
| 	paramtype2 = "facedir", | ||||
| 	paramtype2 = "4dir", | ||||
| 	is_ground_content = false, | ||||
| 	walkable = false, | ||||
| 	sunlight_propagates = true, | ||||
| @@ -75,7 +75,7 @@ minetest.register_node("mesecons_extrawires:tjunction_off", { | ||||
| 		onstate = "mesecons_extrawires:tjunction_on" | ||||
| 	}}, | ||||
| 	on_blast = mesecon.on_blastnode, | ||||
| 	on_rotate = mesecon.on_rotate_horiz, | ||||
| 	on_rotate = mesecon.on_rotate, | ||||
| }) | ||||
|  | ||||
| minetest.register_craft({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user