mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
The End? Advancement
This commit is contained in:
parent
1a5195b5e6
commit
91f8f44e17
2 changed files with 7 additions and 1 deletions
|
@ -174,6 +174,12 @@ awards.register_achievement("mcl:buildNetherPortal", {
|
||||||
icon = "default_obsidian.png",
|
icon = "default_obsidian.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
awards.register_achievement("mcl:enterEndPortal", {
|
||||||
|
title = S("The End?"),
|
||||||
|
description = S("Or the beginning?\nHint: Enter an end portal."),
|
||||||
|
icon = "mcl_end_end_stone.png",
|
||||||
|
})
|
||||||
|
|
||||||
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
||||||
|
|
||||||
if non_pc_achievements then
|
if non_pc_achievements then
|
||||||
|
|
|
@ -241,7 +241,7 @@ function mcl_portals.end_portal_teleport(pos, node)
|
||||||
end
|
end
|
||||||
|
|
||||||
mcl_portals.end_teleport(obj, objpos)
|
mcl_portals.end_teleport(obj, objpos)
|
||||||
|
awards.unlock(obj:get_player_name(), "mcl:enterEndPortal")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue