mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Total Beelocation Advancement
This commit is contained in:
parent
0aaaa05164
commit
bbb908239b
3 changed files with 11 additions and 0 deletions
|
@ -398,6 +398,14 @@ awards.register_achievement("mcl:bee_our_guest", {
|
|||
group = "Husbandry",
|
||||
})
|
||||
|
||||
awards.register_achievement("mcl:total_beelocation", {
|
||||
title = S("Total Beelocation"),
|
||||
description = S("Move a bee nest, with 3 bees inside, using a silk touch enchanted tool."),
|
||||
icon = "mcl_beehives_bee_nest_front_honey.png",
|
||||
type = "Advancement",
|
||||
group = "Husbandry",
|
||||
})
|
||||
|
||||
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
||||
|
||||
if non_pc_achievements then
|
||||
|
|
|
@ -89,3 +89,5 @@ Free the End=
|
|||
Kill the ender dragon. Good Luck!=
|
||||
Bee Our Guest=
|
||||
Use a campfire to collect a bottle of honey from a beehive without aggrivating the bees inside.=
|
||||
Total Beelocation=
|
||||
Move a bee nest, with 3 bees inside, using a silk touch enchanted tool.=
|
||||
|
|
|
@ -55,6 +55,7 @@ local dig_hive = function(pos, node, oldmetadata, digger)
|
|||
elseif beenest then
|
||||
if silk_touch or is_creative then
|
||||
minetest.add_item(pos, "mcl_beehives:bee_nest")
|
||||
awards.unlock(digger:get_player_name(), "mcl:total_beelocation")
|
||||
else
|
||||
mcl_util.deal_damage(digger, 10)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue