diff options
author | rubenwardy <rubenwardy@gmail.com> | 2016-07-29 16:19:58 +0100 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2016-07-29 16:19:58 +0100 |
commit | f3f6af9e66a5d7e4c39c9533b07ac4d7858cc724 (patch) | |
tree | 6458ee27cfb5d1b66b24163dddaf01c103cadd52 /init.lua | |
parent | 628e485900f03d496fbb087cc9f1605a4802f0d0 (diff) |
Fix bugs in craft trigger, and add an award to use it
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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"), |