mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-26 17:23:49 +01:00
Remove easy awards
This commit is contained in:
parent
e1148bfc92
commit
fbac38c2db
48
init.lua
48
init.lua
@ -40,12 +40,12 @@ awards.register_achievement("award_lumberjack",{
|
|||||||
-- Found some Mese!
|
-- Found some Mese!
|
||||||
awards.register_achievement("award_mesefind",{
|
awards.register_achievement("award_mesefind",{
|
||||||
title = S("First Mese Find"),
|
title = S("First Mese Find"),
|
||||||
description = S("Found some Mese!"),
|
description = S("Found my first mese block"),
|
||||||
icon = "mese.png",
|
icon = "mese.png",
|
||||||
background = "bg_mining.png",
|
background = "bg_mining.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "dig",
|
type = "dig",
|
||||||
node = "default:mese",
|
node = "default:stone_with_mese",
|
||||||
target = 1
|
target = 1
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -53,7 +53,7 @@ awards.register_achievement("award_mesefind",{
|
|||||||
-- 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!"),
|
||||||
description = S("Find a nyan cat"),
|
description = S("I found a nyan cat"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "dig",
|
type = "dig",
|
||||||
node = "default:nyancat",
|
node = "default:nyancat",
|
||||||
@ -61,19 +61,6 @@ awards.register_achievement("award_nyanfind",{
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Just entered the mine
|
|
||||||
awards.register_achievement("award_mine1",{
|
|
||||||
title = S("Entering the mine"),
|
|
||||||
description = S("You have dug 10 stone blocks"),
|
|
||||||
icon = "miniminer.png",
|
|
||||||
background = "bg_mining.png",
|
|
||||||
trigger = {
|
|
||||||
type = "dig",
|
|
||||||
node = "default:stone",
|
|
||||||
target = 10
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Mini Miner
|
-- Mini Miner
|
||||||
awards.register_achievement("award_mine2",{
|
awards.register_achievement("award_mine2",{
|
||||||
title = S("Mini Miner"),
|
title = S("Mini Miner"),
|
||||||
@ -115,11 +102,11 @@ awards.register_achievement("award_mine4",{
|
|||||||
|
|
||||||
-- First Death
|
-- First Death
|
||||||
awards.register_achievement("award_death1",{
|
awards.register_achievement("award_death1",{
|
||||||
title = S("First Death"),
|
title = S("Dies a lot"),
|
||||||
description = S("You have more lives than a cat!"),
|
description = S("The game isn't that hard, is it?"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "death",
|
type = "death",
|
||||||
target = 1
|
target = 100
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -128,6 +115,13 @@ awards.register_achievement("award_burn",{
|
|||||||
title = S("You're a witch!"),
|
title = S("You're a witch!"),
|
||||||
description = S("Burn to death in a fire")
|
description = S("Burn to death in a fire")
|
||||||
})
|
})
|
||||||
|
awards.register_onDeath(function(player,data)
|
||||||
|
local pos = player:getpos()
|
||||||
|
if pos and minetest.find_node_near(pos, 1, "fire:basic_flame") ~= nil then
|
||||||
|
return "award_burn"
|
||||||
|
end
|
||||||
|
return nil
|
||||||
|
end)
|
||||||
|
|
||||||
-- 1 sentence
|
-- 1 sentence
|
||||||
awards.register_achievement("award_chat1",{
|
awards.register_achievement("award_chat1",{
|
||||||
@ -141,14 +135,6 @@ awards.register_achievement("award_chat1",{
|
|||||||
|
|
||||||
|
|
||||||
-- Join
|
-- Join
|
||||||
awards.register_achievement("award_join1",{
|
|
||||||
title = S("Welcome!"),
|
|
||||||
description = S("Connect to the server"),
|
|
||||||
trigger = {
|
|
||||||
type = "join",
|
|
||||||
target = 1
|
|
||||||
}
|
|
||||||
})
|
|
||||||
awards.register_achievement("award_join2",{
|
awards.register_achievement("award_join2",{
|
||||||
title = S("Frequent Visitor"),
|
title = S("Frequent Visitor"),
|
||||||
description = S("Connect to the server 50 times"),
|
description = S("Connect to the server 50 times"),
|
||||||
@ -158,11 +144,3 @@ awards.register_achievement("award_join2",{
|
|||||||
},
|
},
|
||||||
secret = true
|
secret = true
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_onDeath(function(player,data)
|
|
||||||
local pos = player:getpos()
|
|
||||||
if pos and minetest.find_node_near(pos, 1, "fire:basic_flame") ~= nil then
|
|
||||||
return "award_burn"
|
|
||||||
end
|
|
||||||
return nil
|
|
||||||
end)
|
|
Loading…
Reference in New Issue
Block a user