mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-07-14 22:30:29 +02:00
Can only hoe top of soil (thanks HybridDog for this idea), breaking sound added to hoe
This commit is contained in:
4
api.txt
4
api.txt
@ -21,7 +21,7 @@ The farming API allows you to easily register plants and hoes.
|
||||
|
||||
|
||||
{
|
||||
description = "", -- Description for tooltip
|
||||
description = "My Hoe", -- Description for tooltip
|
||||
inventory_image = "unknown_item.png", -- Image to be used as wield- and inventory image
|
||||
max_uses = 30, -- Uses until destroyed
|
||||
material = "", -- Material for recipes
|
||||
@ -35,7 +35,7 @@ The farming API allows you to easily register plants and hoes.
|
||||
### Plant definition
|
||||
|
||||
{
|
||||
description = "", -- Description of seed item
|
||||
description = "My Plant", -- Description of seed item
|
||||
inventory_image = "unknown_item.png", -- Image to be used as seed's wield- and inventory image
|
||||
steps = 8, -- How many steps the plant has to grow, until it can be harvested
|
||||
-- ^ Always provide a plant texture for each step, format: modname_plantname_i.png (i = stepnumber)
|
||||
|
Reference in New Issue
Block a user