 6726e40768
			
		
	
	
		6726e40768
		
			
		
	
	
	
	
		
			
			* adds Lua language support * makes the library generic, allowing for easy extension for more languages * small improvements and fixes
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			226 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			226 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| -- entity is a global variable that is set to the entity that is currently being processed,
 | |
| -- it is automatically available in all scripts
 | |
| 
 | |
| -- get name of the entity
 | |
| get_name(entity):and_then(function(name)
 | |
| 	print(name)
 | |
| end)
 |