mirror of
https://codeberg.org/tenplus1/farming.git
synced 2025-07-02 16:20:42 +02:00
added crop information to farming.registered_plants table
This commit is contained in:
@ -142,6 +142,15 @@ crop_def.drop = {
|
||||
}
|
||||
minetest.register_node("farming:cotton_8", table.copy(crop_def))
|
||||
|
||||
-- add to registered_plants
|
||||
farming.registered_plants["farming:cotton"] = {
|
||||
crop = "farming:cotton",
|
||||
seed = "farming:seed_cotton",
|
||||
minlight = 13,
|
||||
maxlight = 15,
|
||||
steps = 8
|
||||
}
|
||||
|
||||
--[[ Cotton (example, is already registered in cotton.lua)
|
||||
farming.register_plant("farming:cotton", {
|
||||
description = "Cotton seed",
|
||||
|
Reference in New Issue
Block a user