|  |  | @@ -17,18 +17,24 @@ let clickBonus = 0; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | let lastTime = 0; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | function calculateProductivity() { | 
		
	
		
			
			|  |  |  | let productivity = 0; | 
		
	
		
			
			|  |  |  | for (const [key, value] of Object.entries(belongings)) { | 
		
	
		
			
			|  |  |  | productivity += productivityOf(key); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | function applyGlobalProdBonuses(productivity) { | 
		
	
		
			
			|  |  |  | for (let effect of effects["prod-all"]) { | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | if (ownedUpgrades[effect.parent]) { | 
		
	
		
			
			|  |  |  | productivity = effect.apply(productivity); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | return productivity; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | function calculateProductivity() { | 
		
	
		
			
			|  |  |  | let productivity = 0; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | for (const [key, value] of Object.entries(belongings)) { | 
		
	
		
			
			|  |  |  | productivity += productivityOf(key); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | return productivity; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
				|  |  | @@ -59,6 +65,8 @@ function productivityOf(type) { | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | let prod = baseProd * productivityMultiplierOf(type); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | prod = applyGlobalProdBonuses(prod); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | return prod * belongings[type].count; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
				|  |  | 
 |