2015-09-01 17:15:24 +02:00
|
|
|
farming.register_plant(
|
|
|
|
"wheat",
|
|
|
|
{
|
2015-10-16 22:11:21 +02:00
|
|
|
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",
|
|
|
|
{
|
2015-10-16 22:11:21 +02:00
|
|
|
grow_time = 1440,
|
2015-09-01 17:15:24 +02:00
|
|
|
grows_near = {"group:water"},
|
|
|
|
growing_distance = 4,
|
2015-10-18 02:31:07 +02:00
|
|
|
grows_on = {"group:plantable_sandy", "group:plantable_soil"},
|
2015-09-01 17:15:24 +02:00
|
|
|
light_min = 12,
|
|
|
|
light_max = 15,
|
|
|
|
})
|
|
|
|
|
2015-10-25 22:18:54 +01:00
|
|
|
-- Achievements
|
|
|
|
|
|
|
|
achievements.register_achievement(
|
|
|
|
"farmer",
|
|
|
|
{
|
|
|
|
title = "Farmer",
|
|
|
|
description = "Plant 20 wheat seeds",
|
|
|
|
times = 20,
|
|
|
|
placenode = "farming:wheat_1",
|
|
|
|
})
|
|
|
|
|
|
|
|
achievements.register_achievement(
|
|
|
|
"master_farmer",
|
|
|
|
{
|
|
|
|
title = "Master Farmer",
|
|
|
|
description = "Plant 200 wheat seeds",
|
|
|
|
times = 200,
|
|
|
|
placenode = "farming:wheat_1",
|
|
|
|
})
|
|
|
|
|
|
|
|
achievements.register_achievement(
|
|
|
|
"cotton_farmer",
|
|
|
|
{
|
|
|
|
title = "Cotton Farmer",
|
|
|
|
description = "Plant 10 cotton seeds",
|
|
|
|
times = 10,
|
|
|
|
placenode = "farming:cotton_1",
|
|
|
|
})
|
|
|
|
|
|
|
|
achievements.register_achievement(
|
|
|
|
"master_cotton_farmer",
|
|
|
|
{
|
|
|
|
title = "Master Cotton Farmer",
|
|
|
|
description = "Plant 100 cotton seeds",
|
|
|
|
times = 100,
|
|
|
|
placenode = "farming:cotton_1",
|
|
|
|
})
|
|
|
|
|
2015-09-01 17:15:24 +02:00
|
|
|
default.log("plants", "loaded")
|