2019-08-28 17:31:41 +02:00
|
|
|
local S = minetest.get_translator("farming")
|
2017-05-17 17:57:14 +02:00
|
|
|
--
|
|
|
|
-- Achievements
|
|
|
|
--
|
|
|
|
|
|
|
|
achievements.register_achievement(
|
|
|
|
"farmer",
|
|
|
|
{
|
2019-08-28 17:31:41 +02:00
|
|
|
title = S("Farmer"),
|
2019-09-02 14:54:29 +02:00
|
|
|
description = S("Plant 20 wheat seeds."),
|
2017-05-17 17:57:14 +02:00
|
|
|
times = 20,
|
|
|
|
placenode = "farming:wheat_1",
|
|
|
|
})
|
|
|
|
|
|
|
|
achievements.register_achievement(
|
|
|
|
"master_farmer",
|
|
|
|
{
|
2019-08-28 17:31:41 +02:00
|
|
|
title = S("Master Farmer"),
|
2019-09-02 14:54:29 +02:00
|
|
|
description = S("Plant 200 wheat seeds."),
|
2017-05-17 17:57:14 +02:00
|
|
|
times = 200,
|
|
|
|
placenode = "farming:wheat_1",
|
|
|
|
})
|
|
|
|
|
|
|
|
achievements.register_achievement(
|
|
|
|
"cotton_farmer",
|
|
|
|
{
|
2019-08-28 17:31:41 +02:00
|
|
|
title = S("Cotton Farmer"),
|
2019-09-02 14:54:29 +02:00
|
|
|
description = S("Plant 10 cotton seeds."),
|
2017-05-17 17:57:14 +02:00
|
|
|
times = 10,
|
|
|
|
placenode = "farming:cotton_1",
|
|
|
|
})
|
|
|
|
|
|
|
|
achievements.register_achievement(
|
|
|
|
"master_cotton_farmer",
|
|
|
|
{
|
2019-08-28 17:31:41 +02:00
|
|
|
title = S("Master Cotton Farmer"),
|
2019-09-02 14:54:29 +02:00
|
|
|
description = S("Plant 100 cotton seeds."),
|
2017-05-17 17:57:14 +02:00
|
|
|
times = 100,
|
|
|
|
placenode = "farming:cotton_1",
|
|
|
|
})
|
|
|
|
|
|
|
|
default.log("achievements", "loaded")
|