forked from luanti-org/minetest_game
		
	Default: Revert "Default: Shorter and better ABMs"
This reverts commit e523c3a296 to re-enable
the overriding and redefinition of these global functions.
			
			
This commit is contained in:
		
				
					committed by
					
						 sfan5
						sfan5
					
				
			
			
				
	
			
			
			
						parent
						
							d5b9fee6fe
						
					
				
				
					commit
					3512226867
				
			| @@ -139,7 +139,9 @@ if minetest.settings:get_bool("enable_lavacooling") ~= false then | ||||
| 		interval = 1, | ||||
| 		chance = 2, | ||||
| 		catch_up = false, | ||||
| 		action = default.cool_lava, | ||||
| 		action = function(...) | ||||
| 			default.cool_lava(...) | ||||
| 		end, | ||||
| 	}) | ||||
| end | ||||
|  | ||||
| @@ -222,7 +224,9 @@ minetest.register_abm({ | ||||
| 	neighbors = {"group:sand"}, | ||||
| 	interval = 12, | ||||
| 	chance = 83, | ||||
| 	action = default.grow_cactus | ||||
| 	action = function(...) | ||||
| 		default.grow_cactus(...) | ||||
| 	end | ||||
| }) | ||||
|  | ||||
| minetest.register_abm({ | ||||
| @@ -231,7 +235,9 @@ minetest.register_abm({ | ||||
| 	neighbors = {"default:dirt", "default:dirt_with_grass"}, | ||||
| 	interval = 14, | ||||
| 	chance = 71, | ||||
| 	action = default.grow_papyrus | ||||
| 	action = function(...) | ||||
| 		default.grow_papyrus(...) | ||||
| 	end | ||||
| }) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user