Add awards achievement

This commit is contained in:
MrIbby 2016-06-01 11:13:13 -07:00
parent 7cad265d2c
commit aabecb3595
2 changed files with 15 additions and 0 deletions

View File

@ -1,4 +1,5 @@
bucket bucket
farming farming
awards?
food? food?
intllib? intllib?

View File

@ -136,3 +136,17 @@ if throwable_cake then
end, end,
}) })
end end
-- CAKE AWARD --
if minetest.get_modpath("awards") then
awards.register_achievement("award_the_lie", {
title = S("The Lie"),
description = S("Craft a cake"),
icon = "cake.png",
trigger = {
type = "craft",
item = "cake:cake",
target = 1
}
})
end