summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorRubenwardy <anjayward@gmail.com>2013-02-23 09:30:50 +0000
committerRubenwardy <anjayward@gmail.com>2013-02-23 09:30:50 +0000
commit0cbd1301368e3f10031b1cebe4d29b6a26c1f7e0 (patch)
tree52b86b074da6f650e77e3715d60eb56815df8bd5 /init.lua
parent7e5d134aac0d736cd385b95bb42c148800922fe7 (diff)
Add foundations award
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/init.lua b/init.lua
index 3e0b267..1cd154f 100644
--- a/init.lua
+++ b/init.lua
@@ -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