mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-12 21:40:29 +02:00
replace bloodthorn ABM with node timers, much more efficient.
This commit is contained in:
@ -31,6 +31,7 @@ local trees = {
|
||||
{name="nether_cap", delay_multiplier = 1},
|
||||
{name="goblin_cap", delay_multiplier = 1},
|
||||
{name="tower_cap", delay_multiplier = 1},
|
||||
{name="blood_thorn", delay_multiplier = 1},
|
||||
}
|
||||
|
||||
--Trees
|
||||
@ -42,9 +43,6 @@ for _, tree in pairs(trees) do
|
||||
setting("float", tree.name.."_delay_multiplier", tree.delay_multiplier, tree.name.." growth delay multiplier")
|
||||
end
|
||||
|
||||
setting("int", "blood_thorn_growth_interval", 12, "blood_thorn growth ABM interval")
|
||||
setting("int", "blood_thorn_growth_chance", 83, "blood_thorn growth ABM chance")
|
||||
|
||||
if minetest.get_modpath("tnt") then
|
||||
df_trees.config.enable_tnt = minetest.settings:get_bool("enable_tnt")
|
||||
if df_trees.config.enable_tnt == nil then
|
||||
|
Reference in New Issue
Block a user