forked from VoxeLibre/VoxeLibre
Free The End Advancement
This commit is contained in:
parent
d74e61d8b2
commit
ede968b571
|
@ -127,6 +127,13 @@ mcl_mobs:register_mob("mobs_mc:enderdragon", {
|
||||||
minetest.set_node(vector.add(self._portal_pos, vector.new(0, 5, 0)), {name = "mcl_end:dragon_egg"})
|
minetest.set_node(vector.add(self._portal_pos, vector.new(0, 5, 0)), {name = "mcl_end:dragon_egg"})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Free The End Advancement
|
||||||
|
for _,players in pairs(minetest.get_objects_inside_radius(pos,64)) do
|
||||||
|
if players:is_player() then
|
||||||
|
awards.unlock(o:get_player_name(), "mcl:freeTheEnd")
|
||||||
|
end
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
fire_resistant = true,
|
fire_resistant = true,
|
||||||
})
|
})
|
||||||
|
|
|
@ -249,6 +249,12 @@ awards.register_achievement("mcl:witheringHeights", {
|
||||||
icon = "mcl_mobitems_nether_star.png",
|
icon = "mcl_mobitems_nether_star.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
awards.register_achievement("mcl:freeTheEnd", {
|
||||||
|
title = S("Free the End"),
|
||||||
|
description = S("Kill the ender dragon. Good Luck!"),
|
||||||
|
icon = "mobs_mc_spawn_icon_dragon.png", -- TODO: Dragon Head Icon
|
||||||
|
})
|
||||||
|
|
||||||
-- Triggered in mcl_fishing
|
-- Triggered in mcl_fishing
|
||||||
awards.register_achievement("mcl:fishyBusiness", {
|
awards.register_achievement("mcl:fishyBusiness", {
|
||||||
title = S("Fishy Business"),
|
title = S("Fishy Business"),
|
||||||
|
|
|
@ -85,3 +85,5 @@ The End... Again...=
|
||||||
Respawn the Ender Dragon.=
|
Respawn the Ender Dragon.=
|
||||||
Sky's The Limit=
|
Sky's The Limit=
|
||||||
Find the elytra and prepare to fly above and beyond!=
|
Find the elytra and prepare to fly above and beyond!=
|
||||||
|
Free the End=
|
||||||
|
Kill the ender dragon. Good Luck!=
|
||||||
|
|
Loading…
Reference in New Issue