X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=game_api.txt;h=a066a087c1677a3e91e02afda870ece50b434603;hb=b4c752224833b3ef69c2f1f8ecb3001bf9221324;hp=6ddeb9806bc851f7a94b09a44b08d67651c18652;hpb=c42a525ce8203dd738ea2f968f46a34ea3110d57;p=oweals%2Fminetest_game.git diff --git a/game_api.txt b/game_api.txt index 6ddeb980..a066a087 100644 --- a/game_api.txt +++ b/game_api.txt @@ -359,6 +359,8 @@ The farming API allows you to easily register plants and hoes. { description = "", -- Description of seed item + harvest_description = "", -- Description of harvest item + -- (optional, derived automatically if not provided) 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)