mirror of
				https://github.com/minetest-mods/mesecons.git
				synced 2025-11-04 04:55:26 +01:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			75bd1e8be6
			...
			de4eeebd3b
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					de4eeebd3b | 
@@ -66,6 +66,7 @@ function mesecon.register_movestone(name, def, is_sticky, is_vertical)
 | 
			
		||||
		mesecon.on_dignode(pos, node)
 | 
			
		||||
		mesecon.on_placenode(frontpos, node)
 | 
			
		||||
		minetest.get_node_timer(frontpos):start(timer_interval)
 | 
			
		||||
		minetest.sound_play("movestone", {pos = pos, max_hear_distance = 20, gain = 0.5,})
 | 
			
		||||
 | 
			
		||||
		-- ### Step 3: If sticky, pull stack behind ###
 | 
			
		||||
		if is_sticky then
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								mesecons_movestones/sounds/movestone.ogg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								mesecons_movestones/sounds/movestone.ogg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user