Difference between revisions of "L-system tree examples/Template"
Jump to navigation
Jump to search
(Add template for L-system tree example page) |
(add mapgen templates) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | '''Note: View the source code of this page (and delete this line of text when you're finished)!''' | ||
+ | |||
== 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 12: | Line 14: | ||
If there are no additional mods, write: | If there are no additional mods, write: | ||
− | * '''Additional mods''': '' | + | * '''Additional mods''': ''None'' |
--> | --> | ||
Line 20: | 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! ]] | ||
} | } | ||
Line 32: | Line 38: | ||
[[File:IMAGE_NAME_HERE.png|420px]] | [[File:IMAGE_NAME_HERE.png|420px]] | ||
--> | --> | ||
+ | |||
+ | <noinclude> | ||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
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! ]] }