Camas/mods/farming/plants.lua

23 lines
525 B
Lua

farming.register_plant(
"wheat",
{
grow_time = 1440,
grows_near = {"group:water"},
growing_distance = 3,
grows_on = {"default:dirt", "default:dirt_with_grass"},
light_min = 8,
light_max = 15,
})
farming.register_plant(
"cotton",
{
grow_time = 2880,
grows_near = {"group:water"},
growing_distance = 4,
grows_on = {"default:dirt", "default:dirt_with_grass", "default:sand"},
light_min = 12,
light_max = 15,
})
default.log("plants", "loaded")