Merge pull request 'Withering Heights Advancement' (#2492) from wither_advancement into master
Reviewed-on: MineClone2/MineClone2#2492 Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
This commit is contained in:
commit
5a90f34edb
|
@ -38,6 +38,12 @@ local function wither_spawn(pos)
|
|||
if check_schem(p, schem) then
|
||||
remove_schem(p, schem)
|
||||
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
|
||||
|
|
|
@ -231,6 +231,12 @@ awards.register_achievement("mcl:tacticalFishing", {
|
|||
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
|
||||
awards.register_achievement("mcl:fishyBusiness", {
|
||||
title = S("Fishy Business"),
|
||||
|
|
|
@ -63,6 +63,8 @@ Not Quite "Nine" Lives=
|
|||
Charge a Respawn Anchor to the maximum.=
|
||||
What A Deal!=
|
||||
Successfully trade with a Villager.=
|
||||
Withering Heights=
|
||||
Summon the wither from the dead.=
|
||||
Fishy Business=
|
||||
Catch a fish.@nHint: Catch a fish, salmon, clownfish, or pufferfish.=
|
||||
Country Lode,@nTake Me Home=
|
||||
|
|
Loading…
Reference in New Issue