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:
2
api.txt
2
api.txt
@ -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.
|
||||
|
Reference in New Issue
Block a user