remove floating date palm trunk and adjust decay

fixes #6
This commit is contained in:
OgelGames 2022-06-01 17:02:34 +10:00
parent 62cab1b1d9
commit cbe846dfde
3 changed files with 3 additions and 2 deletions

View File

@ -55,6 +55,7 @@ moretrees.leafdecay_delay = 2
moretrees.leafdecay_chance = 5
moretrees.leafdecay_radius = 5
moretrees.palm_leafdecay_radius = 10
moretrees.date_palm_leafdecay_radius = 14
-- Change these settings if you want default trees to be gradually cut down
-- above the elevation where firs normally generate.

View File

@ -261,7 +261,7 @@ for i in ipairs(moretrees.treelist) do
droprarity = 20
decay = moretrees.palm_leafdecay_radius
elseif treename == "date_palm" then
decay = moretrees.palm_leafdecay_radius
decay = moretrees.date_palm_leafdecay_radius
end
if treename ~= "jungletree" -- the default game provides jungle tree and pine trunk/planks nodes.

View File

@ -146,7 +146,7 @@ moretrees.palm_model={
-- So, a generic fruit trunk is spawned. An ABM will convert it to a male
-- or female fruit trunk, and generate the actual dates.
moretrees.date_palm_model={
axiom="TTTTddddddddddccccccccccRT[TGGGGT]"..
axiom="TTTTddddddddddccccccccccRT[TTT]"..
"ccccc[&&a]ccccc[&&a]ccccc[&&a]ccccc[&&a]ccccc[&&a]ccccc[&&a]"..
"GGccccc[&a]ccccc[&a]ccccc[&a]ccccc[&a]ccccc[&a]ccccc[&a]"..
"GGccccc[a]ccccc[a]ccccc[a]ccccc[a]ccccc[a]ccccc[a]",