Add awards achievement
This commit is contained in:
parent
7cad265d2c
commit
aabecb3595
@ -1,4 +1,5 @@
|
||||
bucket
|
||||
farming
|
||||
awards?
|
||||
food?
|
||||
intllib?
|
||||
|
14
init.lua
14
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user