forked from cacklingfiend/lignumis
		
	Add astroponics productivity research
This commit is contained in:
		
							parent
							
								
									31872fef53
								
							
						
					
					
						commit
						9233931a2a
					
				
					 3 changed files with 42 additions and 2 deletions
				
			
		| 
						 | 
					@ -138,6 +138,7 @@ active-noise-cancelling=Active noise cancelling
 | 
				
			||||||
quality-assembler=Quality assembler
 | 
					quality-assembler=Quality assembler
 | 
				
			||||||
aai-wood-loader=Wood loader
 | 
					aai-wood-loader=Wood loader
 | 
				
			||||||
basic-ore-crushing=Basic ore crushing
 | 
					basic-ore-crushing=Basic ore crushing
 | 
				
			||||||
 | 
					astroponics-productivity=Astroponics productivity
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[technology-description]
 | 
					[technology-description]
 | 
				
			||||||
wood-science-pack=Allows research of basic technologies based on wood products.
 | 
					wood-science-pack=Allows research of basic technologies based on wood products.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										38
									
								
								lignumis/prototypes/integrations/astroponics.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								lignumis/prototypes/integrations/astroponics.lua
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,38 @@
 | 
				
			||||||
 | 
					data:extend({
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        type = "technology",
 | 
				
			||||||
 | 
					        name = "astroponics-productivity",
 | 
				
			||||||
 | 
					        icons = {
 | 
				
			||||||
 | 
					            { icon = "__base__/graphics/icons/wood.png",                           icon_size = 64 },
 | 
				
			||||||
 | 
					            { icon = "__astroponics__/graphics/icons/fluid/liquid-fertilizer.png", shift = { -32, -32 }, scale = 1.2 },
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                icon = "__core__/graphics/icons/technology/constants/constant-recipe-productivity.png",
 | 
				
			||||||
 | 
					                icon_size = 128,
 | 
				
			||||||
 | 
					                scale = 0.5,
 | 
				
			||||||
 | 
					                shift = { 50, 50 },
 | 
				
			||||||
 | 
					                floating = true
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        essential = false,
 | 
				
			||||||
 | 
					        level = 1,
 | 
				
			||||||
 | 
					        max_level = 5,
 | 
				
			||||||
 | 
					        show_levels_info = true,
 | 
				
			||||||
 | 
					        effects = {
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                type = "change-recipe-productivity",
 | 
				
			||||||
 | 
					                recipe = "tree-astroponics",
 | 
				
			||||||
 | 
					                change = 0.1
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        prerequisites = { "astroponics", "production-science-pack" },
 | 
				
			||||||
 | 
					        unit = {
 | 
				
			||||||
 | 
					            count_formula = "L*250",
 | 
				
			||||||
 | 
					            ingredients = {
 | 
				
			||||||
 | 
					                { "wood-science-pack",       1 },
 | 
				
			||||||
 | 
					                { "production-science-pack", 1 },
 | 
				
			||||||
 | 
					                { "space-science-pack",      1 },
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            time = 60
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					})
 | 
				
			||||||
| 
						 | 
					@ -1,2 +1,3 @@
 | 
				
			||||||
require("vanilla")
 | 
					require("vanilla")
 | 
				
			||||||
require("Wood-Walls")
 | 
					require("Wood-Walls")
 | 
				
			||||||
 | 
					require("astroponics")
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue