forked from cacklingfiend/lignumis
		
	Fix bug with Astrponics 1.7.0
This commit is contained in:
		
							parent
							
								
									90a1805529
								
							
						
					
					
						commit
						82f882d920
					
				
					 1 changed files with 10 additions and 2 deletions
				
			
		|  | @ -1,2 +1,10 @@ | ||||||
| data.raw.technology["tree-seeding"].hidden = false | local Technology = require("__cf-lib__/data/Technology") | ||||||
| data.raw.technology["tree-seeding"].enabled = true | 
 | ||||||
|  | -- This just undoes what astroponics changes to tree seeding | ||||||
|  | Technology:new("tree-seeding"):addRecipe("wood-processing") | ||||||
|  | Technology:new("astroponics"):removeRecipe("wood-processing") | ||||||
|  | for i, effect in pairs(data.raw.technology["tree-seeding"].effects) do | ||||||
|  |     if effect.type == "change-recipe-productivity" and effect.recipe == "wood-processing" then | ||||||
|  |         table.remove(data.raw.technology["tree-seeding"].effects, i) | ||||||
|  |     end | ||||||
|  | end | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann