mirror of
https://github.com/minetest/minetest_docs.git
synced 2024-07-07 08:35:16 +02:00
fill out planting a tree
Co-authored-by: benrob0329 <ben@innovationplex.com>
This commit is contained in:
parent
b0ec672c9b
commit
949973fa10
@ -25,7 +25,18 @@ image::pomegranate.png[Pomegranate]
|
||||
|
||||
== Pomegranate API Methods
|
||||
|
||||
* `plant_tree()`
|
||||
=== `plant_tree(pos, name)`
|
||||
* `pos`: `Vector`
|
||||
* `name`: `string`
|
||||
|
||||
Plants a tree of type `name` at `pos` if `name` is a registered pomegranate tree.
|
||||
|
||||
.Planting A Tree
|
||||
[example, lua]
|
||||
---
|
||||
plant_tree(Vector.new(35, 42, 36), "regular")
|
||||
---
|
||||
|
||||
* `grow_tree()`
|
||||
* `spray_tree()`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user