1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-07-14 22:30:29 +02:00

add initial MineClone2 support (thx usrib)

This commit is contained in:
tenplus1
2023-08-31 07:53:19 +01:00
parent 581a1bbaef
commit df64f1117f
45 changed files with 256 additions and 183 deletions

View File

@ -41,7 +41,7 @@ The farming API allows you to easily register plants and hoes.
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)
minlight = 13, -- Minimum light to grow
maxlight = default.LIGHT_MAX -- Maximum light to grow
maxlight = minetest.LIGHT_MAX -- Maximum light to grow
}
Note: Any crops registered with the above function will use the new growing routines, also if crops are manually added with the {growing=1} group they will also grow.