forked from mtcontrib/scifi_nodes
		
	add forcefield node (#75)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										20
									
								
								forcefield.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								forcefield.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| minetest.register_node("scifi_nodes:forcefield", { | ||||
| 	description = "Forcefield", | ||||
| 	sunlight_propagates = true, | ||||
| 	drawtype = "glasslike", | ||||
| 	groups = {}, | ||||
| 	paramtype = "light", | ||||
| 	light_source = minetest.LIGHT_MAX, | ||||
| 	diggable = false, | ||||
| 	drop = '', | ||||
| 	tiles = {{ | ||||
| 		name = "scifi_nodes_forcefield.png", | ||||
| 		animation = { | ||||
| 			type = "vertical_frames", | ||||
| 			aspect_w = 16, | ||||
| 			aspect_h = 16, | ||||
| 			length = 1.0, | ||||
| 		} | ||||
| 	}}, | ||||
| 	on_blast = function() end, | ||||
| }) | ||||
		Reference in New Issue
	
	Block a user