Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Default: Revert "Default: Shorter and better ABMs"
This reverts commit e523c3a to re-enable
the overriding and redefinition of these global functions.
  • Loading branch information
Desour authored and paramat committed Jun 8, 2017
1 parent f855bee commit 626cd8e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions mods/default/functions.lua
Expand Up @@ -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

Expand Down Expand Up @@ -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({
Expand All @@ -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
})


Expand Down

0 comments on commit 626cd8e

Please sign in to comment.