def get_nls_from_nlogo(lines):
	"""Gets NetLogo source from an .nlogo file. 
	The nlogo file format contains a lot of different things, and thus we need to extract the actual NetLogo code from it. 

	Parameters
	----------
	lines : list of str
	        The contents of a file as a list of strings
	
	Returns
	-------
	lines : list of str
	        The NetLogo code. 
	"""
	breakline = len(lines)
	for i in range(len(lines)):
		line = lines[i].strip("\n")
		if line.startswith("@#$#@#$#@"):
			breakline = i
			break
	return lines[0:breakline]