diff --git a/depends.txt b/depends.txt index 4214628..c53185f 100644 --- a/depends.txt +++ b/depends.txt @@ -1,4 +1,5 @@ bucket farming +awards? food? intllib? diff --git a/init.lua b/init.lua index 8b15860..1453620 100644 --- a/init.lua +++ b/init.lua @@ -136,3 +136,17 @@ if throwable_cake then 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