Camas/mods/farming/plants.lua

31 lines
537 B
Lua
Raw Normal View History

--
-- Plants
--
2015-09-01 17:15:24 +02:00
farming.register_plant(
"farming:wheat",
2015-09-01 17:15:24 +02:00
{
grow_time = 600,
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,
}
)
2015-09-01 17:15:24 +02:00
farming.register_plant(
"farming:cotton",
2015-09-01 17:15:24 +02:00
{
grow_time = 780,
2015-09-01 17:15:24 +02:00
grows_near = {"group:water"},
growing_distance = 4,
grows_on = {"group:plantable_sandy", "group:plantable_soil"},
2015-09-01 17:15:24 +02:00
light_min = 12,
light_max = 15,
}
)
2015-09-01 17:15:24 +02:00
default.log("plants", "loaded")