diff options
author | Rubenwardy <anjayward@gmail.com> | 2013-02-23 09:30:50 +0000 |
---|---|---|
committer | Rubenwardy <anjayward@gmail.com> | 2013-02-23 09:30:50 +0000 |
commit | 0cbd1301368e3f10031b1cebe4d29b6a26c1f7e0 (patch) | |
tree | 52b86b074da6f650e77e3715d60eb56815df8bd5 /init.lua | |
parent | 7e5d134aac0d736cd385b95bb42c148800922fe7 (diff) |
Add foundations award
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -24,17 +24,17 @@ end) -- First Wood Placed! -awards.register_achievement("award_woodplace",{ +awards.register_achievement("award_foundations",{ title = "Foundations", - description = "First Wood Placed!", + description = "Every house starts from its foundations!", }) awards.register_onPlace(function(player,data) - if not data['place']['default'] or not data['place']['default']['wood'] then + if not data['place']['default'] or not data['place']['default']['brick'] then return end - if data['place']['default']['wood'] > 0 then - return "award_woodplace" + if data['place']['default']['brick'] > 0 then + return "award_foundations" end end)
\ No newline at end of file |