Bee Our Guest Advancement
This commit is contained in:
parent
8a3c1eaa6e
commit
0aaaa05164
|
@ -389,6 +389,15 @@ awards.register_achievement("mcl:theEndAgain", {
|
||||||
group = "End",
|
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.)
|
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
||||||
|
|
||||||
if non_pc_achievements then
|
if non_pc_achievements then
|
||||||
|
|
|
@ -87,3 +87,5 @@ Sky's The Limit=
|
||||||
Find the elytra and prepare to fly above and beyond!=
|
Find the elytra and prepare to fly above and beyond!=
|
||||||
Free the End=
|
Free the End=
|
||||||
Kill the ender dragon. Good Luck!=
|
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
|
if not is_creative then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
end
|
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
|
end
|
||||||
elseif shears then
|
elseif shears then
|
||||||
minetest.add_item(pos, "mcl_honey:honeycomb 3")
|
minetest.add_item(pos, "mcl_honey:honeycomb 3")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user