summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2016-07-29 16:19:58 +0100
committerrubenwardy <rubenwardy@gmail.com>2016-07-29 16:19:58 +0100
commitf3f6af9e66a5d7e4c39c9533b07ac4d7858cc724 (patch)
tree6458ee27cfb5d1b66b24163dddaf01c103cadd52 /init.lua
parent628e485900f03d496fbb087cc9f1605a4802f0d0 (diff)
Fix bugs in craft trigger, and add an award to use it
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua14
1 files changed, 12 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index b6a431f..8a8051f 100644
--- a/init.lua
+++ b/init.lua
@@ -36,7 +36,7 @@ awards.register_achievement("award_lightitup",{
trigger = {
type = "place",
node = "default:torch",
- target = 100
+ target = 1
}
})
@@ -100,7 +100,7 @@ awards.register_achievement("award_obsessed_with_obsidian",{
trigger = {
type = "dig",
node = "default:obsidian",
- target = 50
+ target = 1
}
})
@@ -291,6 +291,16 @@ awards.register_achievement("award_marchand_de_sable", {
}
})
+awards.register_achievement("awards_crafter_of_sticks", {
+ title = S("Crafter of Sticks"),
+ description = S("Create 100 Sticks"),
+ trigger = {
+ type = "craft",
+ item = "default:stick",
+ target = 100
+ }
+})
+
-- Join
awards.register_achievement("award_join2", {
title = S("Frequent Visitor"),