Coding style

This commit is contained in:
rubenwardy 2014-05-02 19:56:36 +01:00
parent 442346623a
commit d0e5dfc0c1
2 changed files with 13 additions and 13 deletions

View File

@ -244,7 +244,7 @@ function awards.give_achievement(name,award)
end end
-- record this in the log -- record this in the log
minetest.log("action", name.." has unlocked award "..title..".") minetest.log("action", name.." has unlocked award "..title)
-- save playertable -- save playertable
awards.save() awards.save()

View File

@ -22,7 +22,7 @@ awards.register_achievement("award_lightitup",{
trigger = { trigger = {
type = "place", type = "place",
node = "default:torch", node = "default:torch",
target = 100, target = 100
} }
}) })
@ -33,7 +33,7 @@ awards.register_achievement("award_lumberjack",{
trigger = { trigger = {
type = "dig", type = "dig",
node = "default:tree", node = "default:tree",
target = 100, target = 100
} }
}) })
@ -45,8 +45,8 @@ awards.register_achievement("award_mesefind",{
background = "bg_mining.png", background = "bg_mining.png",
trigger = { trigger = {
type = "dig", type = "dig",
node = "default:stone_with_mese", node = "default:mese",
target = 1, target = 1
} }
}) })
@ -57,7 +57,7 @@ awards.register_achievement("award_nyanfind",{
trigger = { trigger = {
type = "dig", type = "dig",
node = "default:nyancat", node = "default:nyancat",
target = 1, target = 1
} }
}) })
@ -70,7 +70,7 @@ awards.register_achievement("award_mine1",{
trigger = { trigger = {
type = "dig", type = "dig",
node = "default:stone", node = "default:stone",
target = 10, target = 10
} }
}) })
@ -83,7 +83,7 @@ awards.register_achievement("award_mine2",{
trigger = { trigger = {
type = "dig", type = "dig",
node = "default:stone", node = "default:stone",
target = 100, target = 100
} }
}) })
@ -96,7 +96,7 @@ awards.register_achievement("award_mine3",{
trigger = { trigger = {
type = "dig", type = "dig",
node = "default:stone", node = "default:stone",
target = 1000, target = 1000
} }
}) })
@ -109,7 +109,7 @@ awards.register_achievement("award_mine4",{
trigger = { trigger = {
type = "dig", type = "dig",
node = "default:stone", node = "default:stone",
target = 10000, target = 10000
} }
}) })
@ -119,7 +119,7 @@ awards.register_achievement("award_death1",{
description = S("You have more lives than a cat!"), description = S("You have more lives than a cat!"),
trigger = { trigger = {
type = "death", type = "death",
target = 1, target = 1
} }
}) })
@ -135,7 +135,7 @@ awards.register_achievement("award_chat1",{
description = S("Use the chat to talk to players"), description = S("Use the chat to talk to players"),
trigger = { trigger = {
type = "chat", type = "chat",
target = 1, target = 1
} }
}) })
@ -146,7 +146,7 @@ awards.register_achievement("award_join1",{
description = S("Connect to the server"), description = S("Connect to the server"),
trigger = { trigger = {
type = "join", type = "join",
target = 1, target = 1
} }
}) })