|  |  | @@ -707,6 +707,22 @@ function updateInfo() { | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  |  | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | // todo needs a nice system for formatting this | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | Object.entries(selectedEntity.currentView.attributes).forEach(([key, attr]) => { | 
		
	
		
			
			|  |  |  | if (key !== "height") { | 
		
	
		
			
			|  |  |  | if (attr.type === "length") { | 
		
	
		
			
			|  |  |  | const ratio = math.divide(selectedEntity.currentView[key], prevSelectedEntity.currentView.height) | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | if (ratio > 1) { | 
		
	
		
			
			|  |  |  | text += selectedEntity.name + "'s " + attr.name + " is " + math.format(ratio, {precision: 2}) + " times longer than " + prevSelectedEntity.name + " is tall\n"; | 
		
	
		
			
			|  |  |  | } else { | 
		
	
		
			
			|  |  |  | text += selectedEntity.name + "'s " + attr.name + " is " + math.format(1/ratio, {precision: 2}) + " times shorter than " + prevSelectedEntity.name + " is tall\n"; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }); | 
		
	
		
			
			|  |  |  |  | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | } | 
		
	
	
		
			
				|  |  | 
 |