Camas/mods/farming/achievements.lua

34 lines
736 B
Lua
Raw Normal View History

2019-08-28 17:31:41 +02:00
local S = minetest.get_translator("farming")
--
-- Achievements
--
achievements.register_achievement(
"farmer",
{
title = S("Wannabe Farmer"),
description = S("Plant a seed and watch it grow."),
times = 1,
placenode = "group:seed",
})
achievements.register_achievement(
"wheat_farmer",
{
title = S("Wheat Farmer"),
description = S("Harvest a fully-grown wheat plant."),
times = 1,
2019-09-22 03:59:10 +02:00
dignode = "farming:wheat_4",
})
achievements.register_achievement(
"cotton_farmer",
{
2019-08-28 17:31:41 +02:00
title = S("Cotton Farmer"),
description = S("Harvest a fully-grown cotton plant."),
times = 1,
2019-09-22 03:59:10 +02:00
dignode = "farming:cotton_4",
})
default.log("achievements", "loaded")