forked from cacklingfiend/lignumis
		
	Wood Gasification updated: Fix amount of wood per tree
This commit is contained in:
		
							parent
							
								
									5bdde48ef1
								
							
						
					
					
						commit
						c8959290c0
					
				
					 2 changed files with 2 additions and 0 deletions
				
			
		|  | @ -35,6 +35,7 @@ | ||||||
|         "?hot-metals >= 1.1.0", |         "?hot-metals >= 1.1.0", | ||||||
|         "?lane-splitters", |         "?lane-splitters", | ||||||
|         "?metal-and-stars", |         "?metal-and-stars", | ||||||
|  |         "?Wood_Gasification_updated", | ||||||
|         "?wood-industry", |         "?wood-industry", | ||||||
|         "?wood-military >= 2.3.3", |         "?wood-military >= 2.3.3", | ||||||
|         "!apm_power_ldinc", |         "!apm_power_ldinc", | ||||||
|  |  | ||||||
|  | @ -102,6 +102,7 @@ for _, tree in pairs(data.raw.tree) do | ||||||
|     local woodResult = { type = "item", name = "wood", amount = nil, amount_min = 2, amount_max = 10 } |     local woodResult = { type = "item", name = "wood", amount = nil, amount_min = 2, amount_max = 10 } | ||||||
|     if minable.results and #woodResults > 0 then |     if minable.results and #woodResults > 0 then | ||||||
|         table.assign(woodResults[1], woodResult) |         table.assign(woodResults[1], woodResult) | ||||||
|  |         woodResults[1].amount = nil | ||||||
|     else |     else | ||||||
|         minable.results = { woodResult } |         minable.results = { woodResult } | ||||||
|     end |     end | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann