mirror of
				https://github.com/minetest-mods/mesecons.git
				synced 2025-11-04 12:55:29 +01:00 
			
		
		
		
	Added a couple of needed textures for curved/corner wires and tweak code to
use them. Also fixed the "on" state image for wire ends so that it works for curved wires also.
This commit is contained in:
		@@ -24,9 +24,9 @@ end
 | 
			
		||||
minetest.register_node("mesecons_extrawires:corner_on", {
 | 
			
		||||
	drawtype = "nodebox",
 | 
			
		||||
	tiles = {
 | 
			
		||||
		"jeija_insulated_wire_curved_tb_on.png",
 | 
			
		||||
		"jeija_insulated_wire_curved_tb_on.png^[transformR270",
 | 
			
		||||
		"jeija_insulated_wire_sides_on.png",
 | 
			
		||||
		"jeija_insulated_wire_sides_on.png",
 | 
			
		||||
		"jeija_insulated_wire_ends_on.png",
 | 
			
		||||
		"jeija_insulated_wire_ends_on.png",
 | 
			
		||||
		"jeija_insulated_wire_sides_on.png",
 | 
			
		||||
		"jeija_insulated_wire_ends_on.png"
 | 
			
		||||
@@ -51,9 +51,9 @@ minetest.register_node("mesecons_extrawires:corner_off", {
 | 
			
		||||
	drawtype = "nodebox",
 | 
			
		||||
	description = "Mesecon Corner",
 | 
			
		||||
	tiles = {
 | 
			
		||||
		"jeija_insulated_wire_curved_tb_off.png",
 | 
			
		||||
		"jeija_insulated_wire_curved_tb_off.png^[transformR270",
 | 
			
		||||
		"jeija_insulated_wire_sides_off.png",
 | 
			
		||||
		"jeija_insulated_wire_sides_off.png",
 | 
			
		||||
		"jeija_insulated_wire_ends_off.png",
 | 
			
		||||
		"jeija_insulated_wire_ends_off.png",
 | 
			
		||||
		"jeija_insulated_wire_sides_off.png",
 | 
			
		||||
		"jeija_insulated_wire_ends_off.png"
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 253 B  | 
							
								
								
									
										
											BIN
										
									
								
								mesecons_textures/textures/jeija_insulated_wire_curved_tb_on.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mesecons_textures/textures/jeija_insulated_wire_curved_tb_on.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 196 B  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 173 B  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 166 B  | 
		Reference in New Issue
	
	Block a user