Difference between revisions of "Template:treedef"

From Minetest Developer Wiki
Jump to navigation Jump to search
(Created page with "=== Definition === <pre> treedef = { axiom = {{{axiom}}}, rules_a = {{{rules_a}}}, rules_b = {{{rules_b}}}, rules_c = {{{rules_c}}}, rules_d = {{{rules_d}}}, trunk = {{{...")
 
Line 9: Line 9:
 
trunk = {{{trunk}}},
 
trunk = {{{trunk}}},
 
leaves = {{{leaves}}},
 
leaves = {{{leaves}}},
 +
leaves2 = {{{leaves2}}},
 +
leaves2_chance = {{{leaves2_chance}}},
 
angle = {{{angle}}},
 
angle = {{{angle}}},
 
iterations = {{{iterations}}},
 
iterations = {{{iterations}}},
Line 15: Line 17:
 
thin_branches = {{{thin_branches|true}}},
 
thin_branches = {{{thin_branches|true}}},
 
fruit_chance = {{{fruit_chance}}},
 
fruit_chance = {{{fruit_chance}}},
fruit = {{{fruit}}}
+
fruit = {{{fruit}}},
 +
seed = {{{seed}}},
 
}
 
}
 
</pre>
 
</pre>

Revision as of 18:30, 30 June 2015

Definition

treedef = {
	axiom = {{{axiom}}},
	rules_a = {{{rules_a}}},
	rules_b = {{{rules_b}}},
	rules_c = {{{rules_c}}},
	rules_d = {{{rules_d}}},
	trunk = {{{trunk}}},
	leaves = {{{leaves}}},
	leaves2 = {{{leaves2}}},
	leaves2_chance = {{{leaves2_chance}}},
	angle = {{{angle}}},
	iterations = {{{iterations}}},
	random_level = {{{random_level|0}}},
	trunk_type = {{{random_level|"single"}}},
	thin_branches = {{{thin_branches|true}}},
	fruit_chance = {{{fruit_chance}}},
	fruit = {{{fruit}}},
	seed = {{{seed}}},
}