2013-01-20 06:01:15 +01:00
|
|
|
moretrees.beech_model={
|
|
|
|
axiom="FFFFFBFB",
|
2022-10-25 01:09:19 +02:00
|
|
|
-- luacheck: no max line length
|
2013-01-20 06:01:15 +01:00
|
|
|
rules_a="[&&&GGF[++^Fd][--&Fd]//Fd[+^Fd][--&Fd]]////[&&&GGF[++^Fd][--&Fd]//Fd[+^Fd][--&Fd]]////[&&&GGF[++^Fd][--&Fd]//Fd[+^Fd][--&Fdd]]",
|
|
|
|
rules_b="[&&&F[++^Fd][--&d]//d[+^d][--&d]]////[&&&F[++^Fd][--&d]//d[+^d][--&d]]////[&&&F[++^Fd][--&Fd]//d[+^d][--&d]]",
|
|
|
|
rules_c="/",
|
|
|
|
rules_d="F",
|
2014-06-15 04:41:14 +02:00
|
|
|
trunk="moretrees:beech_trunk",
|
|
|
|
leaves="moretrees:beech_leaves",
|
2013-01-20 06:01:15 +01:00
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
2014-08-24 09:14:08 +02:00
|
|
|
trunk_type="single",
|
|
|
|
thin_branches=true
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.apple_tree_model={
|
|
|
|
axiom="FFFFFAFFBF",
|
|
|
|
rules_a="[&&&FFFFF&&FFFF][&&&++++FFFFF&&FFFF][&&&----FFFFF&&FFFF]",
|
|
|
|
rules_b="[&&&++FFFFF&&FFFF][&&&--FFFFF&&FFFF][&&&------FFFFF&&FFFF]",
|
|
|
|
trunk="moretrees:apple_tree_trunk",
|
|
|
|
leaves="moretrees:apple_tree_leaves",
|
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="single",
|
2014-08-24 09:14:08 +02:00
|
|
|
thin_branches=true,
|
2024-05-26 17:08:14 +02:00
|
|
|
fruit=minetest.get_modpath("default") and "default:apple" or nil,
|
|
|
|
fruit_chance=minetest.get_modpath("default") and 15 or nil,
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.oak_model={
|
|
|
|
axiom="FFFFFFA",
|
|
|
|
rules_a="[&FFBFA]////[&BFFFA]////[&FBFFA]",
|
|
|
|
rules_b="[&FFFA]////[&FFFA]////[&FFFA]",
|
|
|
|
trunk="moretrees:oak_trunk",
|
|
|
|
leaves="moretrees:oak_leaves",
|
|
|
|
angle=30,
|
|
|
|
iterations=5,
|
|
|
|
random_level=2,
|
2014-08-24 09:14:08 +02:00
|
|
|
trunk_type="crossed",
|
|
|
|
thin_branches=false,
|
2013-01-20 06:01:15 +01:00
|
|
|
fruit="moretrees:acorn",
|
|
|
|
fruit_chance=3,
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2016-07-01 16:06:29 +02:00
|
|
|
moretrees.poplar_model={
|
|
|
|
axiom="TTTaaBCCCCCCCCCCCcccBBB[[f]&&G++f++Gf++Gf++Gf++G--]G[[f]&&G++f++Gf++Gf++Gf++G--]Gff",
|
|
|
|
rules_a="T",
|
|
|
|
rules_b="[[T]&&G++f++ff++ff++ff++f--]G",
|
|
|
|
rules_c="[[T]&&G++f++ff++ff++ff++f--G++[d]G[d]G++G[d]G[d]G[d]G++G[d]G[d]G[d]G++G[d]G[d]G[d]G++G[d]G]G",
|
|
|
|
rules_d="f",
|
|
|
|
trunk="moretrees:poplar_trunk",
|
|
|
|
leaves="moretrees:poplar_leaves",
|
|
|
|
angle=45,
|
|
|
|
iterations=0,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="single",
|
|
|
|
thin_branches=false,
|
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.poplar_small_model={
|
|
|
|
axiom="TT[T]BCCCCccBBff",
|
|
|
|
rules_a="T",
|
|
|
|
rules_b="[[f]&&G++f++Gf++Gf++Gf++G--]G",
|
|
|
|
rules_c="[[T]&&G++f++[d]Gf++[d]Gf++[d]Gf++[d]G--]G",
|
|
|
|
rules_d="f",
|
|
|
|
trunk="moretrees:poplar_trunk",
|
|
|
|
leaves="moretrees:poplar_leaves",
|
|
|
|
angle=45,
|
|
|
|
iterations=0,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="single",
|
|
|
|
thin_branches=false,
|
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.sequoia_model={
|
|
|
|
axiom="FFFFFFFFFFddccA///cccFddcFA///ddFcFA/cFFddFcdBddd/A/ccdcddd/ccAddddcFBcccAccFdFcFBcccc/BFdFFcFFdcccc/B",
|
2022-10-25 01:09:19 +02:00
|
|
|
-- luacheck: no max line length
|
2013-01-20 06:01:15 +01:00
|
|
|
rules_a="[&&&GGF[++^FFdd][--&Fddd]//Fdd[+^Fd][--&Fdd]]////[&&&GGF[++^FFdd][--&Fddd]//Fdd[+^Fd][--&Fdd]]////[&&&GGF[++^FFdd][--&Fddd]//Fdd[+^Fd][--&Fdd]]",
|
|
|
|
rules_b="[&&&GGF[++^Fdd][--&Fdd]//dd[+^d][--&Fd]]////[&&&GGF[++^Fdd][--&Fdd]//dd[+^d][--&Fd]]////[&&&GGF[++^Fdd][--&Fdd]//dd[+^d][--&Fd]]",
|
|
|
|
rules_c="/",
|
|
|
|
rules_d="F",
|
|
|
|
trunk="moretrees:sequoia_trunk",
|
|
|
|
leaves="moretrees:sequoia_leaves",
|
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="crossed",
|
|
|
|
thin_branches=true
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.birch_model1={
|
|
|
|
axiom="FFFFFdddccA/FFFFFFcA/FFFFFFcB",
|
|
|
|
rules_a="[&&&dddd^^ddddddd][&&&---dddd^^ddddddd][&&&+++dddd^^ddddddd][&&&++++++dddd^^ddddddd]",
|
|
|
|
rules_b="[&&&ddd^^ddddd][&&&---ddd^^ddddd][&&&+++ddd^^ddddd][&&&++++++ddd^^ddddd]",
|
|
|
|
rules_c="/",
|
|
|
|
rules_d="F",
|
|
|
|
trunk="moretrees:birch_trunk",
|
|
|
|
leaves="moretrees:birch_leaves",
|
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="single",
|
|
|
|
thin_branches=true
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.birch_model2={
|
|
|
|
axiom="FFFdddccA/FFFFFccA/FFFFFccB",
|
|
|
|
rules_a="[&&&dFFF^^FFFdd][&&&---dFFF^^FFFdd][&&&+++dFFF^^FFFdd][&&&++++++dFFF^^FFFdd]",
|
|
|
|
rules_b="[&&&dFF^^FFFd][&&&---dFFF^^FFFd][&&&+++dFF^^FFFd][&&&++++++dFF^^FFFd]",
|
|
|
|
rules_c="/",
|
|
|
|
rules_d="F",
|
|
|
|
trunk="moretrees:birch_trunk",
|
|
|
|
leaves="moretrees:birch_leaves",
|
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="single",
|
|
|
|
thin_branches=true
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2016-05-19 13:26:52 +02:00
|
|
|
-- Coconuts can't be generated as fruit, because there is no support for the
|
|
|
|
-- special fruit trunks that allow coconuts to regrow at the correct position
|
|
|
|
-- in the tree.
|
|
|
|
-- So, a placeholder fruit trunk is spawned. An ABM will convert it to the final
|
|
|
|
-- fruit trunk, and generate the actual coconuts.
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.palm_model={
|
2016-05-19 13:26:52 +02:00
|
|
|
axiom="FFcccccc&FFFFFdddRA//A//A//A//A//A",
|
2013-01-20 06:01:15 +01:00
|
|
|
rules_a="[&fb&bbb[++f--&ffff&ff][--f++&ffff&ff]&ffff&bbbb&b]",
|
|
|
|
rules_b="f",
|
|
|
|
rules_c="/",
|
|
|
|
rules_d="F",
|
|
|
|
trunk="moretrees:palm_trunk",
|
|
|
|
leaves="moretrees:palm_leaves",
|
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="single",
|
|
|
|
thin_branches=true,
|
2016-05-19 13:26:52 +02:00
|
|
|
fruit="moretrees:palm_fruit_trunk_gen",
|
2013-01-20 06:01:15 +01:00
|
|
|
fruit_chance=0
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2016-05-18 22:54:19 +02:00
|
|
|
-- Dates can't be generated as fruit, because there is no support for the
|
|
|
|
-- special (male and female) fruit trunks that allow dates to regrow at the
|
|
|
|
-- correct position in the tree.
|
|
|
|
-- 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={
|
2022-06-01 09:02:34 +02:00
|
|
|
axiom="TTTTddddddddddccccccccccRT[TTT]"..
|
2016-05-18 22:54:19 +02:00
|
|
|
"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]",
|
|
|
|
rules_a="Gffb&bbb[++f--&ffff&ff][--f++&ffff&ff]&ff&ff&bb&bb&bb",
|
|
|
|
rules_b="f",
|
|
|
|
rules_c="/",
|
|
|
|
rules_d="F",
|
|
|
|
trunk="moretrees:date_palm_trunk",
|
|
|
|
leaves="moretrees:date_palm_leaves",
|
|
|
|
angle=18,
|
|
|
|
iterations=1,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="single",
|
|
|
|
thin_branches=false,
|
|
|
|
fruit="moretrees:date_palm_fruit_trunk",
|
|
|
|
fruit_chance=0
|
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.spruce_model1={
|
2022-10-25 01:09:19 +02:00
|
|
|
-- luacheck: no max line length
|
2013-01-20 06:01:15 +01:00
|
|
|
axiom="FFFFFAFFFFFFBFFFFFFCFFFFFFDFFFFFF[&&&F^^FF][&&&++F^^FF][&&&++++F^^FF][&&&++++++F^^FF][&&&--F^^FF][&&&----F^^FF][FFFFf]",
|
|
|
|
rules_a="[&&&FFFFFF^^FFF][&&&++FFFFFF^^FFF][&&&++++FFFFFF^^FFF][&&&++++++FFFFFF^^FFF][&&&--FFFFFF^^FFF][&&&----FFFFFF^^FFF]",
|
|
|
|
rules_b="[&&&FFFFF^^FFF][&&&++FFFFF^^FFF][&&&++++FFFFF^^FFF][&&&++++++FFFFF^^FFF][&&&--FFFFF^^FFF][&&&----FFFFF^^FFF]",
|
|
|
|
rules_c="[&&&FFFF^^FFF][&&&++FFFF^^FFF][&&&++++FFFF^^FFF][&&&++++++FFFF^^FFF][&&&--FFFF^^FFF][&&&----FFFF^^FFF]",
|
|
|
|
rules_d="[&&&FFF^^FFF][&&&++FFF^^FFF][&&&++++FFF^^FFF][&&&++++++FFF^^FFF][&&&--FFF^^FFF][&&&----FFF^^FFF]",
|
|
|
|
trunk="moretrees:spruce_trunk",
|
|
|
|
leaves="moretrees:spruce_leaves",
|
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="crossed",
|
|
|
|
thin_branches=true,
|
2013-01-20 20:57:07 +01:00
|
|
|
fruit="moretrees:spruce_cone",
|
2013-01-20 06:01:15 +01:00
|
|
|
fruit_chance=8
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.spruce_model2={
|
2022-10-25 01:09:19 +02:00
|
|
|
-- luacheck: no max line length
|
2013-01-20 06:01:15 +01:00
|
|
|
axiom="FFFFFFBFFFFFFCFFFFFFDFFFFFF[&&&F^^FF][&&&++F^^FF][&&&++++F^^FF][&&&++++++F^^FF][&&&--F^^FF][&&&----F^^FF][FFFFf]",
|
|
|
|
rules_b="[&&&FFFFF^^FFF][&&&++FFFFF^^FFF][&&&++++FFFFF^^FFF][&&&++++++FFFFF^^FFF][&&&--FFFFF^^FFF][&&&----FFFFF^^FFF]",
|
|
|
|
rules_c="[&&&FFFF^^FFF][&&&++FFFF^^FFF][&&&++++FFFF^^FFF][&&&++++++FFFF^^FFF][&&&--FFFF^^FFF][&&&----FFFF^^FFF]",
|
|
|
|
rules_d="[&&&FFF^^FFF][&&&++FFF^^FFF][&&&++++FFF^^FFF][&&&++++++FFF^^FFF][&&&--FFF^^FFF][&&&----FFF^^FFF]",
|
|
|
|
trunk="moretrees:spruce_trunk",
|
|
|
|
leaves="moretrees:spruce_leaves",
|
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="crossed",
|
|
|
|
thin_branches=true,
|
2013-01-20 20:57:07 +01:00
|
|
|
fruit="moretrees:spruce_cone",
|
2013-01-20 06:01:15 +01:00
|
|
|
fruit_chance=8
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2016-05-18 16:54:45 +02:00
|
|
|
moretrees.cedar_model={
|
2013-01-20 06:01:15 +01:00
|
|
|
axiom="FFFFFcccdddB///cFdFB////cFdFB///cFdFB///cFdFA///cFdFA///cFdFB[FF]f",
|
|
|
|
rules_a="[&&&TTTT[++^TFdd][--&TFd]//Tdd[+^Fd][--&Fdd]]",
|
|
|
|
rules_b="[&&&TTT[++^Fdd][--&Fdd]//dd[+^d][--&Fd]]",
|
|
|
|
rules_c="/",
|
|
|
|
rules_d="F",
|
2016-05-18 16:54:45 +02:00
|
|
|
trunk="moretrees:cedar_trunk",
|
|
|
|
leaves="moretrees:cedar_leaves",
|
2013-01-20 06:01:15 +01:00
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="single",
|
|
|
|
thin_branches=true,
|
2016-05-18 16:54:45 +02:00
|
|
|
fruit="moretrees:cedar_cone",
|
2013-01-20 06:01:15 +01:00
|
|
|
fruit_chance=8
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.willow_model={
|
|
|
|
axiom="FFFFFFFFccA",
|
2022-10-25 01:09:19 +02:00
|
|
|
-- luacheck: no max line length
|
2013-01-20 06:01:15 +01:00
|
|
|
rules_a="[&FF&FFFF&&F&FFFFFFFdddd][**&FF&FFFF&&F&FFFFFFFdddd][//&FF&FFFF&&F&FFFFFFFdddd][////&FF&FFFF&&F&FFFFFFFdddd][//////&FF&FFFF&&F&FFFFFFFdddd][////////&FF&FFFF&&F&FFFFFFFdddd]",
|
|
|
|
rules_c="/",
|
|
|
|
rules_d="F",
|
|
|
|
trunk="moretrees:willow_trunk",
|
|
|
|
leaves="moretrees:willow_leaves",
|
|
|
|
angle=30,
|
|
|
|
iterations=2,
|
|
|
|
random_level=0,
|
|
|
|
trunk_type="crossed",
|
|
|
|
thin_branches=true
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
2013-01-20 06:01:15 +01:00
|
|
|
moretrees.rubber_tree_model={
|
|
|
|
axiom="FFFFA",
|
|
|
|
rules_a="[&FFBFA]////[&BFFFA]////[&FBFFA]",
|
|
|
|
rules_b="[&FFA]////[&FFA]////[&FFA]",
|
|
|
|
trunk="moretrees:rubber_tree_trunk",
|
|
|
|
leaves="moretrees:rubber_tree_leaves",
|
|
|
|
angle=35,
|
|
|
|
iterations=3,
|
|
|
|
random_level=1,
|
|
|
|
trunk_type="double",
|
|
|
|
thin_branches=true
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
moretrees.jungletree_model={
|
|
|
|
axiom=nil,
|
|
|
|
rules_a=nil,
|
|
|
|
rules_b=nil,
|
2015-08-14 20:38:35 +02:00
|
|
|
trunk="moretrees:jungletree_trunk",
|
2024-05-26 17:08:14 +02:00
|
|
|
leaves=xcompat.materials.jungle_leaves,
|
2013-01-20 00:36:13 +01:00
|
|
|
leaves2=nil,
|
|
|
|
leaves2_chance=nil,
|
|
|
|
angle=45,
|
|
|
|
iterations=nil,
|
|
|
|
random_level=2,
|
|
|
|
trunk_type=nil,
|
2013-01-22 02:52:04 +01:00
|
|
|
thin_branches=true,
|
2013-01-20 00:36:13 +01:00
|
|
|
fruit_chance=15,
|
|
|
|
fruit="vines:vine"
|
|
|
|
}
|
|
|
|
|
2013-01-22 02:52:04 +01:00
|
|
|
moretrees.fir_model={
|
2013-01-20 00:36:13 +01:00
|
|
|
axiom="FFFAF[&&-F][&&+F][&&---F][&&+++F]Fff",
|
|
|
|
rules_a=nil,
|
|
|
|
rules_b=nil,
|
2013-01-22 02:50:41 +01:00
|
|
|
trunk="moretrees:fir_trunk",
|
2013-01-20 00:36:13 +01:00
|
|
|
leaves=nil,
|
|
|
|
angle=45,
|
|
|
|
iterations=7,
|
|
|
|
random_level=5,
|
2013-01-20 06:01:15 +01:00
|
|
|
trunk_type="single",
|
2013-01-22 02:52:04 +01:00
|
|
|
thin_branches=true,
|
|
|
|
fruit="moretrees:fir_cone",
|
|
|
|
fruit_chance=8
|
2013-01-20 00:36:13 +01:00
|
|
|
}
|