Withering Heights Advancement

This commit is contained in:
PrairieAstronomer 2022-07-25 11:48:38 -06:00
parent a9a8a18b9b
commit f84063ad0a
3 changed files with 14 additions and 0 deletions

View file

@ -38,6 +38,12 @@ local function wither_spawn(pos)
if check_schem(p, schem) then if check_schem(p, schem) then
remove_schem(p, schem) remove_schem(p, schem)
minetest.add_entity(vector.add(p, {x = 0, y = 1, z = 0, [d] = 1}), "mobs_mc:wither") minetest.add_entity(vector.add(p, {x = 0, y = 1, z = 0, [d] = 1}), "mobs_mc:wither")
local objects = minetest.get_objects_inside_radius(pos, 20)
for _, players in ipairs(objects) do
if players:is_player() then
awards.unlock(players:get_player_name(), "mcl:witheringHeights")
end
end
end end
end end
end end

View file

@ -231,6 +231,12 @@ awards.register_achievement("mcl:tacticalFishing", {
icon = "pufferfish_bucket.png", icon = "pufferfish_bucket.png",
}) })
awards.register_achievement("mcl:witheringHeights", {
title = S("Withering Heights"),
description = S("Summon the wither from the dead."),
icon = "mcl_mobitems_nether_star.png",
})
-- 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"),

View file

@ -63,6 +63,8 @@ Not Quite "Nine" Lives=
Charge a Respawn Anchor to the maximum.= Charge a Respawn Anchor to the maximum.=
What A Deal!= What A Deal!=
Successfully trade with a Villager.= Successfully trade with a Villager.=
Withering Heights=
Summon the wither from the dead.=
Fishy Business= Fishy Business=
Catch a fish.@nHint: Catch a fish, salmon, clownfish, or pufferfish.= Catch a fish.@nHint: Catch a fish, salmon, clownfish, or pufferfish.=
Country Lode,@nTake Me Home= Country Lode,@nTake Me Home=