Camas/mods/farming/plants.lua

23 lines
470 B
Lua
Raw Normal View History

2015-09-01 17:15:24 +02:00
farming.register_plant(
"wheat",
{
grow_time = 720,
2015-09-01 17:15:24 +02:00
grows_near = {"group:water"},
growing_distance = 3,
2015-10-08 20:05:50 +02:00
grows_on = {"group:plantable_soil"},
2015-09-01 17:15:24 +02:00
light_min = 8,
light_max = 15,
})
farming.register_plant(
"cotton",
{
grow_time = 1440,
2015-09-01 17:15:24 +02:00
grows_near = {"group:water"},
growing_distance = 4,
2015-10-08 20:05:50 +02:00
grows_on = {"group:plantable_soil"},
2015-09-01 17:15:24 +02:00
light_min = 12,
light_max = 15,
})
default.log("plants", "loaded")