fill out planting a tree

Co-authored-by: benrob0329 <ben@innovationplex.com>
This commit is contained in:
JosiahWI 2022-01-01 14:38:08 -06:00 committed by GitHub
parent b0ec672c9b
commit 949973fa10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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()`