forked from mtcontrib/awards
Add and remove a few awards
This commit is contained in:
parent
116889080c
commit
3c4f6e50b1
48
init.lua
48
init.lua
@ -36,13 +36,13 @@ awards.register_achievement("award_lightitup",{
|
|||||||
trigger = {
|
trigger = {
|
||||||
type = "place",
|
type = "place",
|
||||||
node = "default:torch",
|
node = "default:torch",
|
||||||
target = 1
|
target = 500
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Light ALL the things!
|
-- Light ALL the things!
|
||||||
awards.register_achievement("award_light_all_the_things",{
|
awards.register_achievement("award_well_lit",{
|
||||||
title = S("Light ALL The Things!"),
|
title = S("Well Lit"),
|
||||||
description = S("Place 1,000 torches."),
|
description = S("Place 1,000 torches."),
|
||||||
icon = "novicebuilder.png",
|
icon = "novicebuilder.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
@ -214,20 +214,6 @@ awards.register_achievement("award_youre_a_copper", {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- You're winner
|
|
||||||
awards.register_achievement("award_youre_winner", {
|
|
||||||
title = S("YOU'RE A WINNER!"),
|
|
||||||
description = S("Dig 1 mossy cobblestone."),
|
|
||||||
icon = "miniminer.png",
|
|
||||||
background = "bg_mining.png",
|
|
||||||
trigger = {
|
|
||||||
type = "dig",
|
|
||||||
node = "default:mossycobble",
|
|
||||||
target = 1
|
|
||||||
},
|
|
||||||
secret = true,
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Found a Nyan cat!
|
-- Found a Nyan cat!
|
||||||
awards.register_achievement("award_nyanfind", {
|
awards.register_achievement("award_nyanfind", {
|
||||||
title = S("OMG, Nyan Cat!"),
|
title = S("OMG, Nyan Cat!"),
|
||||||
@ -394,3 +380,31 @@ awards.register_on_death(function(player,data)
|
|||||||
end
|
end
|
||||||
return nil
|
return nil
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- Die near diamond ore
|
||||||
|
awards.register_achievement("award_deep_down", {
|
||||||
|
title = S("Deep Down"),
|
||||||
|
description = S("Die below -10000"),
|
||||||
|
secret = true
|
||||||
|
})
|
||||||
|
awards.register_on_death(function(player,data)
|
||||||
|
local pos = player:getpos()
|
||||||
|
if pos and pos.y < -10000 then
|
||||||
|
return "award_deep_down"
|
||||||
|
end
|
||||||
|
return nil
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- Die near diamond ore
|
||||||
|
awards.register_achievement("award_no_screen", {
|
||||||
|
title = S("In space, no one can hear you scream"),
|
||||||
|
description = S("Die above 10000"),
|
||||||
|
secret = true
|
||||||
|
})
|
||||||
|
awards.register_on_death(function(player,data)
|
||||||
|
local pos = player:getpos()
|
||||||
|
if pos and pos.y > 10000 then
|
||||||
|
return "award_no_screen"
|
||||||
|
end
|
||||||
|
return nil
|
||||||
|
end)
|
||||||
|
@ -29,8 +29,6 @@ First Mese Find =
|
|||||||
Find some Mese. =
|
Find some Mese. =
|
||||||
You're a copper =
|
You're a copper =
|
||||||
Dig 1,000 copper ores. =
|
Dig 1,000 copper ores. =
|
||||||
YOU'RE A WINNER! =
|
|
||||||
Dig 1 mossy cobblestone. =
|
|
||||||
OMG, Nyan Cat! =
|
OMG, Nyan Cat! =
|
||||||
Find a nyan cat. =
|
Find a nyan cat. =
|
||||||
Mini Miner =
|
Mini Miner =
|
||||||
@ -57,3 +55,7 @@ This is Sad =
|
|||||||
Die near diamond ore. =
|
Die near diamond ore. =
|
||||||
The Stack =
|
The Stack =
|
||||||
Die near bones. =
|
Die near bones. =
|
||||||
|
Deep Down =
|
||||||
|
Die below -10000 =
|
||||||
|
In space, no one can hear you scream =
|
||||||
|
Die above 10000 =
|
||||||
|
Loading…
Reference in New Issue
Block a user