Adjust abms.
This commit is contained in:
parent
6119dba871
commit
7b6de7195c
1 changed files with 5 additions and 5 deletions
10
abms.lua
10
abms.lua
|
@ -414,8 +414,8 @@ minetest.register_abm({
|
|||
|
||||
minetest.register_abm({
|
||||
nodenames = {"fire:basic_flame"},
|
||||
interval = 10 * time_factor,
|
||||
chance = 10,
|
||||
interval = time_factor,
|
||||
chance = 100,
|
||||
action = function(p0, node, _, _)
|
||||
minetest.remove_node(p0)
|
||||
end,
|
||||
|
@ -428,7 +428,7 @@ minetest.register_abm({
|
|||
minetest.register_abm({
|
||||
nodenames = {"fun_caves:tree"},
|
||||
neighbors = {'fire:basic_flame'},
|
||||
interval = 1 * time_factor,
|
||||
interval = time_factor,
|
||||
chance = 20,
|
||||
action = function(pos, node)
|
||||
if not (pos and node) then
|
||||
|
@ -441,7 +441,7 @@ minetest.register_abm({
|
|||
|
||||
minetest.register_abm({
|
||||
nodenames = {"default:leaves"},
|
||||
interval = 10 * time_factor,
|
||||
interval = 20 * time_factor,
|
||||
chance = 100,
|
||||
catch_up = false,
|
||||
action = function(pos, node)
|
||||
|
@ -460,7 +460,7 @@ minetest.register_abm({
|
|||
minetest.register_abm({
|
||||
nodenames = {"default:apple"},
|
||||
interval = time_factor,
|
||||
chance = 40,
|
||||
chance = 80,
|
||||
catch_up = false,
|
||||
action = function(pos, node)
|
||||
if not (pos and node) then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue