forked from mtcontrib/pipeworks
		
	Compare commits
	
		
			7 Commits
		
	
	
		
			77c8026400
			...
			4dd30df37a
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 4dd30df37a | |||
| 
						 | 
					065c953eba | ||
| 946da11206 | |||
| 
						 | 
					9a63d17e4a | ||
| 
						 | 
					d814357ddf | ||
| 
						 | 
					c2fe5fe956 | ||
| 
						 | 
					9dbaa5f4f6 | 
@@ -86,10 +86,9 @@ function pipeworks.table_contains(tbl, element)
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
function pipeworks.table_extend(tbl, tbl2)
 | 
			
		||||
	local index = #tbl + 1
 | 
			
		||||
	for _, elt in ipairs(tbl2) do
 | 
			
		||||
		tbl[index] = elt
 | 
			
		||||
		index = index + 1
 | 
			
		||||
	local oldlength = #tbl
 | 
			
		||||
	for i = 1,#tbl2 do
 | 
			
		||||
		tbl[oldlength + i] = tbl2[i]
 | 
			
		||||
	end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							@@ -150,4 +150,4 @@ end
 | 
			
		||||
 | 
			
		||||
minetest.register_alias("pipeworks:pipe", "pipeworks:pipe_110000_empty")
 | 
			
		||||
 | 
			
		||||
print("Pipeworks loaded!")
 | 
			
		||||
minetest.log("info", "Pipeworks loaded!")
 | 
			
		||||
 
 | 
			
		||||
@@ -378,7 +378,7 @@ if pipeworks.enable_node_breaker then
 | 
			
		||||
	minetest.register_craft({
 | 
			
		||||
		output = "pipeworks:nodebreaker_off",
 | 
			
		||||
		recipe = {
 | 
			
		||||
			{ "pipeworks:gear", "pipeworks:gear",   "pipeworks:gear"    },
 | 
			
		||||
			{ "basic_materials:gear_steel", "basic_materials:gear_steel",   "basic_materials:gear_steel"    },
 | 
			
		||||
			{ "default:stone", "mesecons:piston",   "default:stone" },
 | 
			
		||||
			{ "group:wood",    "mesecons:mesecon",  "group:wood" },
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user