mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Bee Our Guest Advancement
This commit is contained in:
parent
8a3c1eaa6e
commit
0aaaa05164
3 changed files with 12 additions and 1 deletions
|
@ -389,6 +389,15 @@ awards.register_achievement("mcl:theEndAgain", {
|
|||
group = "End",
|
||||
})
|
||||
|
||||
-- Triggered in mcl_beehives
|
||||
awards.register_achievement("mcl:bee_our_guest", {
|
||||
title = S("Bee Our Guest"),
|
||||
description = S("Use a campfire to collect a bottle of honey from a beehive without aggrivating the bees inside."),
|
||||
icon = "mcl_honey_honey_bottle.png",
|
||||
type = "Advancement",
|
||||
group = "Husbandry",
|
||||
})
|
||||
|
||||
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
||||
|
||||
if non_pc_achievements then
|
||||
|
|
|
@ -87,3 +87,5 @@ Sky's The Limit=
|
|||
Find the elytra and prepare to fly above and beyond!=
|
||||
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.=
|
||||
|
|
|
@ -31,7 +31,7 @@ local honey_harvest = function(pos, node, player, itemstack, pointed_thing)
|
|||
if not is_creative then
|
||||
itemstack:take_item()
|
||||
end
|
||||
if not campfire[1] then mcl_util.deal_damage(player, 10) end
|
||||
if not campfire[1] then mcl_util.deal_damage(player, 10) else awards.unlock(player:get_player_name(), "mcl:bee_our_guest") end
|
||||
end
|
||||
elseif shears then
|
||||
minetest.add_item(pos, "mcl_honey:honeycomb 3")
|
||||
|
|
Loading…
Reference in a new issue