Difference between revisions of "Template:treedef"
Jump to navigation
Jump to search
Hybrid Dog (talk | contribs) |
Hybrid Dog (talk | contribs) (this code style needs to look soo cruel…) |
||
Line 2: | Line 2: | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
treedef = { | treedef = { | ||
− | axiom = {{{axiom|?}}}, | + | axiom = {{{axiom|?}}},{{#ifexist: rules_a | |
− | + | rules_a = {{{rules_a}}},}}{{#ifexist: rules_b | | |
− | + | rules_b = {{{rules_b}}},}}{{#ifexist: rules_c | | |
− | + | rules_c = {{{rules_c}}},}}{{#ifexist: rules_d | | |
− | + | rules_d = {{{rules_d}}},}}{{#ifexist: trunk | | |
− | + | trunk = {{{trunk}}},}}{{#ifexist: leaves | | |
− | + | leaves = {{{leaves}}},}}{{#ifexist: leaves2 | | |
− | + | leaves2 = {{{leaves2}}},}} | |
leaves2_chance = {{{leaves2_chance}}}, | leaves2_chance = {{{leaves2_chance}}}, | ||
angle = {{{angle}}}, | angle = {{{angle}}}, |
Revision as of 16:21, 4 July 2015
Definition
treedef = {
axiom = ?,
leaves2_chance = {{{leaves2_chance}}},
angle = {{{angle}}},
iterations = {{{iterations}}},
random_level = 0,
trunk_type = "single",
thin_branches = true,
fruit_chance = {{{fruit_chance}}},
fruit = {{{fruit}}},
seed = {{{seed}}},
}