From f3f6af9e66a5d7e4c39c9533b07ac4d7858cc724 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 29 Jul 2016 16:19:58 +0100 Subject: Fix bugs in craft trigger, and add an award to use it --- init.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'init.lua') 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"), -- cgit v1.2.3