mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
Free The End Advancement
This commit is contained in:
parent
d74e61d8b2
commit
ede968b571
3 changed files with 15 additions and 0 deletions
|
@ -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"})
|
||||
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,
|
||||
fire_resistant = true,
|
||||
})
|
||||
|
|
|
@ -249,6 +249,12 @@ awards.register_achievement("mcl:witheringHeights", {
|
|||
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
|
||||
awards.register_achievement("mcl:fishyBusiness", {
|
||||
title = S("Fishy Business"),
|
||||
|
|
|
@ -85,3 +85,5 @@ The End... Again...=
|
|||
Respawn the Ender Dragon.=
|
||||
Sky's The Limit=
|
||||
Find the elytra and prepare to fly above and beyond!=
|
||||
Free the End=
|
||||
Kill the ender dragon. Good Luck!=
|
||||
|
|
Loading…
Reference in a new issue