Camas/mods/farming/plants.lua

23 lines
525 B
Lua
Raw Normal View History

2015-09-01 17:15:24 +02:00
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")