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
				
			
		|  | @ -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 } | ||||
|     if minable.results and #woodResults > 0 then | ||||
|         table.assign(woodResults[1], woodResult) | ||||
|         woodResults[1].amount = nil | ||||
|     else | ||||
|         minable.results = { woodResult } | ||||
|     end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann