forked from cacklingfiend/lignumis
		
	Add compatibility for "Gleba reborn"
This commit is contained in:
		
							parent
							
								
									6f4e8dcda8
								
							
						
					
					
						commit
						151337c116
					
				
					 3 changed files with 19 additions and 1 deletions
				
			
		| 
						 | 
					@ -30,6 +30,7 @@
 | 
				
			||||||
        "?atan-nuclear-science",
 | 
					        "?atan-nuclear-science",
 | 
				
			||||||
        "?crushing-industry",
 | 
					        "?crushing-industry",
 | 
				
			||||||
        "?Diversitree",
 | 
					        "?Diversitree",
 | 
				
			||||||
 | 
					        "?gleba-reborn",
 | 
				
			||||||
        "?hot-metals >= 1.1.0",
 | 
					        "?hot-metals >= 1.1.0",
 | 
				
			||||||
        "?lane-splitters",
 | 
					        "?lane-splitters",
 | 
				
			||||||
        "?metal-and-stars",
 | 
					        "?metal-and-stars",
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										16
									
								
								lignumis/prototypes/compatibility/gleba-reborn.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								lignumis/prototypes/compatibility/gleba-reborn.lua
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,16 @@
 | 
				
			||||||
 | 
					local Technology = require("__cf-lib__/data/Technology")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if not mods["gleba-reborn"] then return end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Technology:new("tree-seeding")
 | 
				
			||||||
 | 
					    :setPrerequisites({ "wood-science-pack" })
 | 
				
			||||||
 | 
					    :assign({
 | 
				
			||||||
 | 
					        unit = {
 | 
				
			||||||
 | 
					            count = 10,
 | 
				
			||||||
 | 
					            ingredients = {
 | 
				
			||||||
 | 
					                { "wood-science-pack", 1 }
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            time = 10
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    })
 | 
				
			||||||
 | 
					    .prototype.research_trigger = nil
 | 
				
			||||||
| 
						 | 
					@ -1 +1,2 @@
 | 
				
			||||||
require("aai-industry")
 | 
					require("aai-industry")
 | 
				
			||||||
 | 
					require("gleba-reborn")
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue