Remove boring achievements

This commit is contained in:
KaadmY 2016-11-13 13:02:09 -08:00 committed by GitHub
parent f01a0051c6
commit 1a69d651b6
1 changed files with 1 additions and 37 deletions

View File

@ -231,34 +231,6 @@ minetest.register_on_player_receive_fields(receive_fields)
-- Below is the default achievements
--
-- Joining
achievements.register_achievement(
"firstjoin",
{
title = "First join",
description = "Join a game for the first time.",
times = 1,
})
achievements.register_achievement(
"like_clockwork",
{
title = "Like clockwork",
description = "Join the same game 100 times.",
times = 100,
})
-- Dying
achievements.register_achievement(
"killathon",
{
title = "Killathon",
description = "Die 10 times.",
times = 10,
})
-- Crafting a broadsword
achievements.register_achievement(
@ -377,12 +349,4 @@ achievements.register_achievement(
placenode = "default:flower",
})
local function on_dieplayer(player)
achievements.trigger_achievement(player, "killathon")
end
minetest.register_on_dieplayer(on_dieplayer)
minetest.register_on_newplayer(function(player) achievements.trigger_achievement(player, "firstjoin") end)
default.log("mod:achievements", "loaded")
default.log("mod:achievements", "loaded")