Difference between revisions of "Template:treedef"

From Minetest Developer Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
treedef = {
 
treedef = {
axiom = {{{axiom}}},
+
axiom = {{{axiom|?}}},
 
rules_a = {{{rules_a}}},
 
rules_a = {{{rules_a}}},
 
rules_b = {{{rules_b}}},
 
rules_b = {{{rules_b}}},

Revision as of 15:56, 1 July 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}}},
}