Difference between revisions of "L-system tree examples/Template"
Jump to navigation
Jump to search
m (“None” instead of “none”) |
(add mapgen templates) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Title of your L-system tree == | == Title of your L-system tree == | ||
=== Profile === | === Profile === | ||
− | * ''' | + | * '''Game used''': <!-- insert the name of the game where you can use the tree. --> |
* '''Additional mods''': | * '''Additional mods''': | ||
<!-- | <!-- | ||
− | Replace this comment with a list of all additional mods this treedef may need. This excludes all mods already part of the | + | Replace this comment with a list of all additional mods this treedef may need. This excludes all mods already part of the game. Mods should be specified in the format “<Human-readable mod name> [<internal mod name>]”. Example usage: |
* '''Additional mods''': | * '''Additional mods''': | ||
Line 22: | Line 22: | ||
axiom = --[[ your axiom here ]], | axiom = --[[ your axiom here ]], | ||
rules_a = --[[ your rule set A here]], | rules_a = --[[ your rule set A here]], | ||
+ | trunk = "mapgen_trunk", | ||
+ | leaves = "mapgen_leaves", | ||
+ | leaves2 = "mapgen_jungleleaves", | ||
+ | fruit = "mapgen_apple", | ||
--[[ add/remove other fields as needed. Only use Lua syntax! ]] | --[[ add/remove other fields as needed. Only use Lua syntax! ]] | ||
} | } |
Latest revision as of 18:19, 17 May 2018
Note: View the source code of this page (and delete this line of text when you're finished)!
Title of your L-system tree
Profile
- Game used:
- Additional mods:
Definition
treedef = { axiom = --[[ your axiom here ]], rules_a = --[[ your rule set A here]], trunk = "mapgen_trunk", leaves = "mapgen_leaves", leaves2 = "mapgen_jungleleaves", fruit = "mapgen_apple", --[[ add/remove other fields as needed. Only use Lua syntax! ]] }