mirror of
https://github.com/minetest/minetest_docs.git
synced 2024-10-04 00:43:07 +02:00
fix lua source formatting
Co-authored-by: benrob0329 <ben@innovationplex.com>
This commit is contained in:
parent
81c1dad18c
commit
8ee1e9f22c
@ -32,10 +32,12 @@ image::pomegranate.png[Pomegranate]
|
||||
Plants a tree of type `name` at `pos` if `name` is a registered pomegranate tree.
|
||||
|
||||
.Planting A Tree
|
||||
[example, lua]
|
||||
====
|
||||
[source, lua]
|
||||
---
|
||||
plant_tree(vector.new(35, 42, 36), "regular")
|
||||
---
|
||||
====
|
||||
|
||||
=== `grow_tree(pos)`
|
||||
* `pos`: `vector`
|
||||
|
Loading…
Reference in New Issue
Block a user