Skip to content

Commit

Permalink
remove floating date palm trunk and adjust decay
Browse files Browse the repository at this point in the history
fixes #6
  • Loading branch information
OgelGames committed Jun 1, 2022
1 parent 62cab1b commit cbe846d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions default_settings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion node_defs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tree_models.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down

0 comments on commit cbe846d

Please sign in to comment.