forked from cacklingfiend/lignumis
		
	Correct items per rocket for belts
This commit is contained in:
		
							parent
							
								
									f98bbebdab
								
							
						
					
					
						commit
						c968a7e437
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		|  | @ -21,6 +21,9 @@ Belt.EntityBuilder:new() | ||||||
|     }) |     }) | ||||||
| 
 | 
 | ||||||
| local splitter_item = Belt.ItemBuilder:new() | local splitter_item = Belt.ItemBuilder:new() | ||||||
|  |     :itemsPerRocket("transportBelt", 100) | ||||||
|  |     :itemsPerRocket("undergroundBelt", 50) | ||||||
|  |     :itemsPerRocket("splitter", 50) | ||||||
|     :order("0") |     :order("0") | ||||||
|     :apply() |     :apply() | ||||||
|     .splitter |     .splitter | ||||||
|  |  | ||||||
|  | @ -1,5 +1,6 @@ | ||||||
| local Technology = require("__cf-lib__/data/Technology") | local Technology = require("__cf-lib__/data/Technology") | ||||||
| local Recipe = require("__cf-lib__/data/Recipe") | local Recipe = require("__cf-lib__/data/Recipe") | ||||||
|  | local Item = require("__cf-lib__/data/Item") | ||||||
| 
 | 
 | ||||||
| local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value | local basic_circuit_board = settings.startup["lignumis-basic-circuit-board"].value | ||||||
| 
 | 
 | ||||||
|  | @ -69,6 +70,7 @@ Recipe:new("lab"):replaceIngredient("transport-belt", "wood-transport-belt") | ||||||
| 
 | 
 | ||||||
| -- Gun turret | -- Gun turret | ||||||
| data.raw["ammo-turret"]["gun-turret"].attack_parameters.range = 20 | data.raw["ammo-turret"]["gun-turret"].attack_parameters.range = 20 | ||||||
|  | Item:new("gun-turret"):itemsPerRocket(50) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| -- Agricultural tower | -- Agricultural tower | ||||||
|  | @ -82,6 +84,9 @@ if agricultural_tower.surface_conditions then | ||||||
|     end |     end | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
|  | -- Solar panal | ||||||
|  | Item:new("solar-panel"):itemsPerRocket(50) | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| -- Wood processing | -- Wood processing | ||||||
| 
 | 
 | ||||||
|  | @ -142,6 +147,9 @@ if settings.startup["lignumis-belt-progression"].value then | ||||||
|     Recipe:new("transport-belt"):replaceIngredient("iron-plate", "wood-transport-belt", 2) |     Recipe:new("transport-belt"):replaceIngredient("iron-plate", "wood-transport-belt", 2) | ||||||
|     Recipe:new("underground-belt"):replaceIngredient("transport-belt", "wood-underground-belt", 2) |     Recipe:new("underground-belt"):replaceIngredient("transport-belt", "wood-underground-belt", 2) | ||||||
|     Recipe:new("splitter"):replaceIngredient("transport-belt", "wood-splitter", 1) |     Recipe:new("splitter"):replaceIngredient("transport-belt", "wood-splitter", 1) | ||||||
|  |     Item:new("transport-belt"):itemsPerRocket(100) | ||||||
|  |     Item:new("underground-belt"):itemsPerRocket(50) | ||||||
|  |     Item:new("splitter"):itemsPerRocket(50) | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
| if settings.startup["lignumis-inserter-progression"].value then | if settings.startup["lignumis-inserter-progression"].value then | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Brodtmann
						Simon Brodtmann