forked from mtcontrib/plantlife_modpack
Adding vine growth speed settings
This commit is contained in:
parent
c76fd45a2c
commit
93265656cc
@ -18,8 +18,8 @@ local rarity_side = tonumber(minetest.settings:get("vines_rarity_side")) or defa
|
||||
local rarity_jungle = tonumber(minetest.settings:get("vines_rarity_jungle")) or default_rarity
|
||||
local rarity_willow = tonumber(minetest.settings:get("vines_rarity_willow")) or default_rarity
|
||||
|
||||
local growth_min = 60 * 3
|
||||
local growth_max = 60 * 6
|
||||
local growth_min = tonumber(minetest.settings:get("vines_growth_min")) or 180
|
||||
local growth_max = tonumber(minetest.settings:get("vines_growth_max")) or 360
|
||||
|
||||
-- support for i18n
|
||||
local S = minetest.get_translator("vines")
|
||||
|
@ -33,3 +33,9 @@ vines_enable_willow (Enable willow vines) bool true
|
||||
|
||||
#Rarity of willow vines, from 1 to 100, higher numbers are rarer.
|
||||
vines_rarity_willow (Rarity of willow vines) int 90 1 100
|
||||
|
||||
#Vine growth speed, minimum number of seconds between each growth.
|
||||
vines_growth_min (Minimum number of seconds between growth) int 180 1 3600
|
||||
|
||||
#Vine growth speed, maximum number of seconds between each growth.
|
||||
vines_growth_max (Maximum number of seconds between growth) int 360 1 3600
|
||||
|
Loading…
Reference in New Issue
Block a user