update readme.md
This commit is contained in:
parent
3d05b660ad
commit
9c7a19ce17
@ -12,6 +12,8 @@ The regrow.add_fruit() function is used to override each fruits after_dig_node
|
|||||||
function so that an invisible node is placed once it is taken, then a timer is
|
function so that an invisible node is placed once it is taken, then a timer is
|
||||||
started that will regrow the fruit on completion (unless tree is chopped down).
|
started that will regrow the fruit on completion (unless tree is chopped down).
|
||||||
|
|
||||||
|
Example: regrow.add_fruit("default:apple", "default:leaves")
|
||||||
|
|
||||||
So far default apples and ethereal banana, orange and coconuts are supported.
|
So far default apples and ethereal banana, orange and coconuts are supported.
|
||||||
|
|
||||||
|
|
||||||
@ -21,3 +23,4 @@ Changelog
|
|||||||
- 0.1 - Initial upload.
|
- 0.1 - Initial upload.
|
||||||
- 0.2 - Add checks for player placed fruit and tree's nearby.
|
- 0.2 - Add checks for player placed fruit and tree's nearby.
|
||||||
- 0.3 - Make add_fruit a global function for other mods to use.
|
- 0.3 - Make add_fruit a global function for other mods to use.
|
||||||
|
- 0.4 - Add check for fruit tree leaf type before re-growing.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user