mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 01:05:49 +01:00 
			
		
		
		
	Animated torches
This commit is contained in:
		@@ -61,4 +61,10 @@ Originating from G4JC's Almost MC Texture Pack:
 | 
			
		||||
  default_torch.png
 | 
			
		||||
  default_torch_on_ceiling.png
 | 
			
		||||
  default_torch_on_floor.png
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
VanessaE's animated torches (WTFPL):
 | 
			
		||||
  default_torch_animated.png
 | 
			
		||||
  default_torch_on_ceiling_animated.png
 | 
			
		||||
  default_torch_on_floor_animated.png
 | 
			
		||||
  default_torch_on_floor.png
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1098,7 +1098,12 @@ minetest.register_node("default:lava_source", {
 | 
			
		||||
minetest.register_node("default:torch", {
 | 
			
		||||
	description = "Torch",
 | 
			
		||||
	drawtype = "torchlike",
 | 
			
		||||
	tiles = {"default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"},
 | 
			
		||||
	--tiles = {"default_torch_on_floor.png", "default_torch_on_ceiling.png", "default_torch.png"},
 | 
			
		||||
	tiles = {
 | 
			
		||||
		{name="default_torch_on_floor_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
 | 
			
		||||
		{name="default_torch_on_ceiling_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}},
 | 
			
		||||
		{name="default_torch_animated.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=3.0}}
 | 
			
		||||
	},
 | 
			
		||||
	inventory_image = "default_torch_on_floor.png",
 | 
			
		||||
	wield_image = "default_torch_on_floor.png",
 | 
			
		||||
	paramtype = "light",
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								mods/default/textures/default_torch_animated.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mods/default/textures/default_torch_animated.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.4 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								mods/default/textures/default_torch_on_ceiling_animated.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mods/default/textures/default_torch_on_ceiling_animated.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.3 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 282 B  | 
							
								
								
									
										
											BIN
										
									
								
								mods/default/textures/default_torch_on_floor_animated.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mods/default/textures/default_torch_on_floor_animated.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.3 KiB  | 
		Reference in New Issue
	
	Block a user