forked from cacklingfiend/lignumis
		
	Make pipe code more robust
https://github.com/SimonBrodtmann/lignumis/issues/5
This commit is contained in:
		
							parent
							
								
									0d91504cd3
								
							
						
					
					
						commit
						b6213fe1fb
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -127,8 +127,12 @@ pipe_to_ground.icon = "__lignumis__/graphics/icons/gold-pipe-to-ground.png" | |||
| pipe_to_ground.corpse = "gold-pipe-to-ground-remnants" | ||||
| pipe_to_ground.next_upgrade = "pipe-to-ground" | ||||
| pipe_to_ground.fluid_box.volume = 50 | ||||
| pipe_to_ground.fluid_box.pipe_connections[2].max_underground_distance = 6 | ||||
| pipe_to_ground.minable.result = "gold-pipe-to-ground" | ||||
| for _, connection in pairs(pipe_to_ground.fluid_box.pipe_connections) do | ||||
|     if connection.connection_type == "underground" then | ||||
|         connection.max_underground_distance = 6 | ||||
|     end | ||||
| end | ||||
| 
 | ||||
| pipe_to_ground.fluid_box.pipe_covers.north.layers[1].filename = | ||||
| "__lignumis__/graphics/entity/gold-pipe/gold-pipe-cover-north.png" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann