|  |  | @@ -322,7 +322,10 @@ function initializeData() { | 
		
	
		
			
			|  |  |  | function registerListeners() { | 
		
	
		
			
			|  |  |  | document.querySelector("#tasty-micro").addEventListener("click", (e) => { | 
		
	
		
			
			|  |  |  | const add = eatMicro(); | 
		
	
		
			
			|  |  |  | clickPopup("+" + round(add, 1) + " food", [e.clientX, e.clientY]); | 
		
	
		
			
			|  |  |  | const text = "+" + round(add, 1) + " food"; | 
		
	
		
			
			|  |  |  | const gulp = "*glp*"; | 
		
	
		
			
			|  |  |  | clickPopup(text, "food", [e.clientX, e.clientY]); | 
		
	
		
			
			|  |  |  | clickPopup(gulp, "gulp", [e.clientX, e.clientY]); | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | document.querySelector("#save").addEventListener("click", save); | 
		
	
	
		
			
				|  |  | @@ -539,11 +542,11 @@ function renderEffects(effectList) { | 
		
	
		
			
			|  |  |  | return renderLines(list); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | function clickPopup(text, location) { | 
		
	
		
			
			|  |  |  | function clickPopup(text, type, location) { | 
		
	
		
			
			|  |  |  | const div = document.createElement("div"); | 
		
	
		
			
			|  |  |  | div.textContent = text; | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | div.classList.add("click-popup"); | 
		
	
		
			
			|  |  |  | div.classList.add("click-popup-" + type); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | div.style.left = location[0] + "px"; | 
		
	
		
			
			|  |  |  | div.style.top = location[1] + "px"; | 
		
	
	
		
			
				|  |  | 
 |