2017-03-10 02:25:31 +03:00
|
|
|
-- Settings
|
|
|
|
|
|
|
|
-- If true, activates achievements from other Minecraft editions (XBox, PS, etc.)
|
2017-03-20 02:52:49 +03:00
|
|
|
local non_pc_achievements = false
|
2017-03-10 02:25:31 +03:00
|
|
|
|
2021-05-29 17:12:33 +03:00
|
|
|
local S = minetest.get_translator(minetest.get_current_modname())
|
2017-03-04 02:04:06 +03:00
|
|
|
|
|
|
|
-- Achievements from PC Edition
|
|
|
|
|
|
|
|
awards.register_achievement("mcl_buildWorkBench", {
|
|
|
|
title = S("Benchmarking"),
|
|
|
|
description = S("Craft a crafting table from 4 wooden planks."),
|
|
|
|
icon = "crafting_workbench_front.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
2017-06-13 03:50:43 +03:00
|
|
|
item = "mcl_crafting_table:crafting_table",
|
2017-03-04 02:04:06 +03:00
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2017-03-04 02:04:06 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:buildPickaxe", {
|
|
|
|
title = S("Time to Mine!"),
|
|
|
|
description = S("Use a crafting table to craft a wooden pickaxe from wooden planks and sticks."),
|
|
|
|
icon = "default_tool_woodpick.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
|
|
|
item = "mcl_tools:pick_wood",
|
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2017-03-04 02:04:06 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:buildFurnace", {
|
|
|
|
title = S("Hot Topic"),
|
|
|
|
description = S("Use 8 cobblestones to craft a furnace."),
|
|
|
|
icon = "default_furnace_front.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
|
|
|
item = "mcl_furnaces:furnace",
|
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
2022-10-04 02:17:03 +03:00
|
|
|
type = "Advancement",
|
|
|
|
group = "Overworld",
|
2017-03-04 02:04:06 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:buildHoe", {
|
|
|
|
title = S("Time to Farm!"),
|
|
|
|
description = S("Use a crafting table to craft a wooden hoe from wooden planks and sticks."),
|
|
|
|
icon = "farming_tool_woodhoe.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
|
|
|
item = "mcl_farming:hoe_wood",
|
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Husbandry",
|
2017-03-04 02:04:06 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:makeBread", {
|
|
|
|
title = S("Bake Bread"),
|
|
|
|
description = S("Use wheat to craft a bread."),
|
|
|
|
icon = "farming_bread.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
|
|
|
item = "mcl_farming:bread",
|
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Husbandry",
|
2017-03-04 02:04:06 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
awards.register_achievement("mcl:bakeCake", {
|
|
|
|
title = S("The Lie"),
|
|
|
|
description = S("Craft a cake using wheat, sugar, milk and an egg."),
|
|
|
|
icon = "cake.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
|
|
|
item = "mcl_cake:cake",
|
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Husbandry",
|
2017-03-04 02:04:06 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:buildBetterPickaxe", {
|
|
|
|
title = S("Getting an Upgrade"),
|
2017-03-06 03:33:22 +03:00
|
|
|
-- TODO: This achievement should support all non-wood pickaxes
|
|
|
|
description = S("Craft a stone pickaxe using sticks and cobblestone."),
|
2017-03-04 02:04:06 +03:00
|
|
|
icon = "default_tool_stonepick.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
|
|
|
item = "mcl_tools:pick_stone",
|
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2017-03-04 02:04:06 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:buildSword", {
|
|
|
|
title = S("Time to Strike!"),
|
2017-03-06 03:33:22 +03:00
|
|
|
description = S("Craft a wooden sword using wooden planks and sticks on a crafting table."),
|
2017-03-04 02:04:06 +03:00
|
|
|
icon = "default_tool_woodsword.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
|
|
|
item = "mcl_tools:sword_wood",
|
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Adventure",
|
2017-03-04 02:04:06 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
awards.register_achievement("mcl:bookcase", {
|
|
|
|
title = S("Librarian"),
|
2017-03-06 03:33:22 +03:00
|
|
|
description = S("Craft a bookshelf."),
|
2017-03-04 02:04:06 +03:00
|
|
|
icon = "default_bookshelf.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
|
|
|
item = "mcl_books:bookshelf",
|
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2017-03-04 02:04:06 +03:00
|
|
|
})
|
|
|
|
|
2022-06-11 20:52:11 +03:00
|
|
|
awards.register_achievement("mcl:buildIronPickaxe", {
|
|
|
|
title = S("Isn't It Iron Pick"),
|
|
|
|
description = S("Craft a iron pickaxe using sticks and iron."),
|
|
|
|
icon = "default_tool_steelpick.png",
|
|
|
|
trigger = {
|
|
|
|
type = "craft",
|
|
|
|
item = "mcl_tools:pick_iron",
|
|
|
|
target = 1
|
2022-10-04 01:55:26 +03:00
|
|
|
},
|
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2022-06-11 20:52:11 +03:00
|
|
|
})
|
|
|
|
|
2017-03-06 00:52:19 +03:00
|
|
|
-- Item pickup achievements: These are awarded when picking up a certain item.
|
|
|
|
-- The achivements are manually given in the mod mcl_item_entity.
|
|
|
|
awards.register_achievement("mcl:diamonds", {
|
|
|
|
title = S("DIAMONDS!"),
|
|
|
|
description = S("Pick up a diamond from the floor."),
|
2017-05-30 06:31:34 +03:00
|
|
|
icon = "mcl_core_diamond_ore.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2017-03-06 00:52:19 +03:00
|
|
|
})
|
2017-03-06 00:33:09 +03:00
|
|
|
awards.register_achievement("mcl:blazeRod", {
|
|
|
|
title = S("Into Fire"),
|
2017-03-06 03:59:58 +03:00
|
|
|
description = S("Pick up a blaze rod from the floor."),
|
2017-03-06 00:33:09 +03:00
|
|
|
icon = "mcl_mobitems_blaze_rod.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2017-03-06 00:33:09 +03:00
|
|
|
})
|
2017-03-04 02:04:06 +03:00
|
|
|
|
2017-03-06 00:52:19 +03:00
|
|
|
awards.register_achievement("mcl:killCow", {
|
|
|
|
title = S("Cow Tipper"),
|
2017-03-06 03:14:45 +03:00
|
|
|
description = S("Pick up leather from the floor.\nHint: Cows and some other animals have a chance to drop leather, when killed."),
|
2017-03-06 00:52:19 +03:00
|
|
|
icon = "mcl_mobitems_leather.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Adventure",
|
2017-03-06 00:52:19 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:mineWood", {
|
|
|
|
title = S("Getting Wood"),
|
|
|
|
description = S("Pick up a wood item from the ground.\nHint: Punch a tree trunk until it pops out as an item."),
|
|
|
|
icon = "default_tree.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2017-03-06 00:52:19 +03:00
|
|
|
})
|
|
|
|
|
2022-07-01 21:39:10 +03:00
|
|
|
awards.register_achievement("mcl:whosCuttingOnions", {
|
|
|
|
title = S("Who is Cutting Onions?"),
|
|
|
|
description = S("Pick up a crying obsidian from the floor."),
|
|
|
|
icon = "default_obsidian.png^mcl_core_crying_obsidian.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2022-07-01 21:39:10 +03:00
|
|
|
})
|
|
|
|
|
2022-07-01 21:41:01 +03:00
|
|
|
awards.register_achievement("mcl:hiddenInTheDepths", {
|
|
|
|
title = S("Hidden in the Depths"),
|
|
|
|
description = S("Pick up an Ancient Debris from the floor."),
|
|
|
|
icon = "mcl_nether_ancient_debris_side.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2022-07-01 21:41:01 +03:00
|
|
|
})
|
|
|
|
|
2022-09-13 21:35:20 +03:00
|
|
|
awards.register_achievement("mcl:PickUpDragonEgg", {
|
|
|
|
title = S("The Next Generation"),
|
|
|
|
description = S("Hold the Dragon Egg.\nHint: Pick up the egg from the ground and have it in your inventory."),
|
|
|
|
icon = "mcl_end_dragon_egg.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Goal",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "End",
|
2022-09-13 21:35:20 +03:00
|
|
|
})
|
|
|
|
|
2022-09-14 00:08:52 +03:00
|
|
|
awards.register_achievement("mcl:skysTheLimit", {
|
|
|
|
title = S("Sky's the Limit"),
|
|
|
|
description = S("Find the elytra and prepare to fly above and beyond!"),
|
|
|
|
icon = "mcl_armor_inv_elytra.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Goal",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "End",
|
2022-09-14 00:08:52 +03:00
|
|
|
}) -- TODO: Make also unlock when moved to inventory, not just picking up from ground
|
|
|
|
|
2017-03-06 01:58:26 +03:00
|
|
|
-- Smelting achivements: These are awarded when picking up an item from a furnace
|
|
|
|
-- output. They are given in mcl_furnaces.
|
|
|
|
awards.register_achievement("mcl:acquireIron", {
|
|
|
|
title = S("Aquire Hardware"),
|
|
|
|
description = S("Take an iron ingot from a furnace's output slot.\nHint: To smelt an iron ingot, put a fuel (like coal) and iron ore into a furnace."),
|
|
|
|
icon = "default_steel_ingot.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2017-03-06 01:58:26 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:cookFish", {
|
|
|
|
title = S("Delicious Fish"),
|
|
|
|
description = S("Take a cooked fish from a furnace.\nHint: Use a fishing rod to catch a fish and cook it in a furnace."),
|
|
|
|
icon = "mcl_fishing_fish_cooked.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Husbandry",
|
2017-03-06 01:58:26 +03:00
|
|
|
})
|
|
|
|
|
2017-03-06 02:22:41 +03:00
|
|
|
-- Other achievements triggered outside of mcl_achievements
|
|
|
|
|
|
|
|
-- Triggered in mcl_minecarts
|
|
|
|
awards.register_achievement("mcl:onARail", {
|
|
|
|
title = S("On A Rail"),
|
|
|
|
description = S("Travel by minecart for at least 1000 meters from your starting point in a single ride."),
|
|
|
|
icon = "default_rail.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Challenge",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Adventure",
|
2017-03-06 02:22:41 +03:00
|
|
|
})
|
|
|
|
|
2018-05-08 00:10:49 +03:00
|
|
|
-- Triggered in mcl_bows
|
2017-03-06 03:02:30 +03:00
|
|
|
awards.register_achievement("mcl:snipeSkeleton", {
|
|
|
|
title = S("Sniper Duel"),
|
|
|
|
-- TODO: This achievement should be for killing, not hitting
|
2017-05-27 01:37:25 +03:00
|
|
|
-- TODO: The range should be 50, not 20. Nerfed because of reduced bow range
|
|
|
|
description = S("Hit a skeleton, wither skeleton or stray by bow and arrow from a distance of at least 20 meters."),
|
2018-05-08 00:10:49 +03:00
|
|
|
icon = "mcl_bows_bow.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Challenge",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Adventure",
|
2017-09-15 19:03:37 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
-- Triggered in mcl_portals
|
|
|
|
awards.register_achievement("mcl:buildNetherPortal", {
|
2022-07-01 22:45:07 +03:00
|
|
|
title = S("We Need to Go Deeper"),
|
2017-09-19 21:06:57 +03:00
|
|
|
description = S("Use obsidian and a fire starter to construct a Nether portal."),
|
2022-07-01 22:45:07 +03:00
|
|
|
icon = "mcl_fire_flint_and_steel.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2017-03-06 03:02:30 +03:00
|
|
|
})
|
|
|
|
|
2022-06-11 21:29:11 +03:00
|
|
|
awards.register_achievement("mcl:enterEndPortal", {
|
|
|
|
title = S("The End?"),
|
|
|
|
description = S("Or the beginning?\nHint: Enter an end portal."),
|
|
|
|
icon = "mcl_end_end_stone.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2022-06-11 21:29:11 +03:00
|
|
|
})
|
|
|
|
|
2022-07-01 22:41:21 +03:00
|
|
|
awards.register_achievement("mcl:theNether", {
|
|
|
|
title = S("The Nether"),
|
|
|
|
description = S("Bring summer clothes.\nHint: Enter the Nether."),
|
|
|
|
icon = "mcl_nether_netherrack.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2022-07-01 22:41:21 +03:00
|
|
|
})
|
|
|
|
|
2022-06-11 21:41:59 +03:00
|
|
|
-- Triggered in mcl_totems
|
|
|
|
awards.register_achievement("mcl:postMortal", {
|
|
|
|
title = S("Postmortal"),
|
|
|
|
description = S("Use a Totem of Undying to cheat death."),
|
|
|
|
icon = "mcl_totems_totem.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Goal",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Adventure",
|
2022-06-11 21:41:59 +03:00
|
|
|
})
|
|
|
|
|
2022-06-11 21:52:51 +03:00
|
|
|
-- Triggered in mcl_beds
|
|
|
|
awards.register_achievement("mcl:sweetDreams", {
|
|
|
|
title = S("Sweet Dreams"),
|
|
|
|
description = S("Sleep in a bed to change your respawn point."),
|
2022-10-06 19:36:51 +03:00
|
|
|
icon = "mcl_beds_bed_red_inv.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Adventure",
|
2022-06-11 21:52:51 +03:00
|
|
|
})
|
|
|
|
|
2022-07-01 22:11:26 +03:00
|
|
|
awards.register_achievement("mcl:notQuiteNineLives", {
|
|
|
|
title = S('Not Quite "Nine" Lives'),
|
|
|
|
description = S("Charge a Respawn Anchor to the maximum."),
|
|
|
|
icon = "respawn_anchor_side4.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2022-07-01 22:11:26 +03:00
|
|
|
})
|
|
|
|
|
2022-06-11 22:18:25 +03:00
|
|
|
-- Triggered in mobs_mc
|
|
|
|
awards.register_achievement("mcl:whatAdeal", {
|
|
|
|
title = S("What A Deal!"),
|
|
|
|
description = S("Successfully trade with a Villager."),
|
|
|
|
icon = "mcl_core_emerald.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Adventure",
|
2022-06-11 22:18:25 +03:00
|
|
|
})
|
|
|
|
|
2022-07-08 05:31:25 +03:00
|
|
|
awards.register_achievement("mcl:tacticalFishing", {
|
|
|
|
title = S("Tactical Fishing"),
|
|
|
|
description = S("Catch a fish... without a fishing rod!"),
|
2023-02-15 17:32:32 +03:00
|
|
|
icon = "mcl_buckets_pufferfish_bucket.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Husbandry",
|
2022-07-08 05:31:25 +03:00
|
|
|
})
|
|
|
|
|
2022-10-29 07:20:13 +03:00
|
|
|
awards.register_achievement("mcl:cutestPredator", {
|
|
|
|
title = S("The Cutest Predator"),
|
|
|
|
description = S("Catch an Axolotl with a bucket!"),
|
2023-02-15 17:32:32 +03:00
|
|
|
icon = "mcl_buckets_axolotl_bucket.png",
|
2022-10-29 07:20:13 +03:00
|
|
|
type = "Advancement",
|
|
|
|
group = "Husbandry",
|
|
|
|
})
|
|
|
|
|
2022-07-25 20:48:38 +03:00
|
|
|
awards.register_achievement("mcl:witheringHeights", {
|
|
|
|
title = S("Withering Heights"),
|
|
|
|
description = S("Summon the wither from the dead."),
|
|
|
|
icon = "mcl_mobitems_nether_star.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2022-07-25 20:48:38 +03:00
|
|
|
})
|
|
|
|
|
2022-09-14 01:03:07 +03:00
|
|
|
awards.register_achievement("mcl:freeTheEnd", {
|
|
|
|
title = S("Free the End"),
|
|
|
|
description = S("Kill the ender dragon. Good Luck!"),
|
2022-10-03 19:31:10 +03:00
|
|
|
icon = "(spawn_egg.png^[multiply:#252525)^(spawn_egg_overlay.png^[multiply:#b313c9)", -- TODO: Dragon Head Icon
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "End",
|
2022-09-14 01:03:07 +03:00
|
|
|
})
|
|
|
|
|
2022-06-11 23:07:57 +03:00
|
|
|
-- Triggered in mcl_fishing
|
|
|
|
awards.register_achievement("mcl:fishyBusiness", {
|
|
|
|
title = S("Fishy Business"),
|
2022-07-01 23:04:33 +03:00
|
|
|
description = S("Catch a fish.\nHint: Catch a fish, salmon, clownfish, or pufferfish."),
|
2022-06-11 23:07:57 +03:00
|
|
|
icon = "mcl_fishing_fishing_rod.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Husbandry",
|
2022-06-11 23:07:57 +03:00
|
|
|
})
|
|
|
|
|
2022-06-12 00:31:57 +03:00
|
|
|
-- Triggered in mcl_compass
|
|
|
|
awards.register_achievement("mcl:countryLode", {
|
2023-01-06 04:38:55 +03:00
|
|
|
title = S("Country Lode, Take Me Home"),
|
2022-06-12 00:31:57 +03:00
|
|
|
description = S("Use a compass on a Lodestone."),
|
|
|
|
icon = "lodestone_side4.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2022-06-12 00:31:57 +03:00
|
|
|
})
|
|
|
|
|
2022-05-30 06:06:48 +03:00
|
|
|
-- Triggered in mcl_smithing_table
|
|
|
|
awards.register_achievement("mcl:seriousDedication", {
|
2022-07-01 23:04:33 +03:00
|
|
|
title = S("Serious Dedication"),
|
|
|
|
description = S("Use a Netherite Ingot to upgrade a hoe, and then completely reevaluate your life choices."),
|
|
|
|
icon = "farming_tool_netheritehoe.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Challenge",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Husbandry",
|
2022-05-30 06:06:48 +03:00
|
|
|
})
|
|
|
|
|
2022-07-01 23:37:02 +03:00
|
|
|
-- Triggered in mcl_brewing
|
|
|
|
awards.register_achievement("mcl:localBrewery", {
|
|
|
|
title = S("Local Brewery"),
|
|
|
|
description = S("Brew a Potion.\nHint: Take a potion or glass bottle out of the brewing stand."),
|
|
|
|
icon = "mcl_potions_potion_overlay.png^[colorize:#F82423:"..tostring(127).."^mcl_potions_potion_bottle.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2022-07-01 23:37:02 +03:00
|
|
|
})
|
|
|
|
|
2022-07-01 23:50:56 +03:00
|
|
|
-- Triggered in mcl_enchanting
|
|
|
|
awards.register_achievement("mcl:enchanter", {
|
|
|
|
title = S("Enchanter"),
|
|
|
|
description = S("Enchant an item using an Enchantment Table."),
|
|
|
|
icon = "mcl_enchanting_book_enchanted.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2022-07-01 23:50:56 +03:00
|
|
|
})
|
|
|
|
|
2022-07-24 13:32:20 +03:00
|
|
|
--Triggered in mcl_beacons
|
|
|
|
awards.register_achievement("mcl:beacon", {
|
|
|
|
title = S("Bring Home the Beacon"),
|
|
|
|
description = S("Use a beacon."),
|
2022-07-26 11:40:45 +03:00
|
|
|
icon = "beacon_achievement_icon.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2022-07-24 13:32:20 +03:00
|
|
|
})
|
|
|
|
|
|
|
|
awards.register_achievement("mcl:maxed_beacon", {
|
|
|
|
title = S("Beaconator"),
|
|
|
|
description = S("Use a fully powered beacon."),
|
2022-07-26 11:40:45 +03:00
|
|
|
icon = "beacon_achievement_icon.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Goal",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Nether",
|
2022-07-24 13:32:20 +03:00
|
|
|
})
|
|
|
|
|
2022-09-13 23:34:53 +03:00
|
|
|
-- Triggered in mcl_end
|
|
|
|
awards.register_achievement("mcl:theEndAgain", {
|
|
|
|
title = S("The End... Again..."),
|
|
|
|
description = S("Respawn the Ender Dragon."),
|
|
|
|
icon = "mcl_end_crystal_item.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Goal",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "End",
|
2022-09-13 23:34:53 +03:00
|
|
|
})
|
|
|
|
|
2022-11-12 00:52:09 +03:00
|
|
|
-- 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",
|
|
|
|
})
|
|
|
|
|
2022-11-12 01:09:17 +03:00
|
|
|
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",
|
|
|
|
})
|
|
|
|
|
2022-11-15 20:38:29 +03:00
|
|
|
-- Triggered in mcl_copper
|
|
|
|
awards.register_achievement("mcl:wax_on", {
|
|
|
|
title = S("Wax On"),
|
|
|
|
description = S("Apply honeycomb to a copper block to protect it from the elements."),
|
|
|
|
icon = "mcl_honey_honeycomb.png",
|
|
|
|
type = "Advancement",
|
|
|
|
group = "Husbandry",
|
|
|
|
})
|
|
|
|
|
|
|
|
awards.register_achievement("mcl:wax_off", {
|
|
|
|
title = S("Wax Off"),
|
|
|
|
description = S("Scrape wax off of a copper block."),
|
|
|
|
icon = "default_tool_stoneaxe.png",
|
|
|
|
type = "Advancement",
|
|
|
|
group = "Husbandry",
|
|
|
|
})
|
|
|
|
|
2017-03-04 02:04:06 +03:00
|
|
|
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
|
|
|
|
2017-03-10 02:25:31 +03:00
|
|
|
if non_pc_achievements then
|
|
|
|
awards.register_achievement("mcl:n_placeDispenser", {
|
|
|
|
title = S("Dispense With This"),
|
|
|
|
description = S("Place a dispenser."),
|
|
|
|
icon = "mcl_dispensers_dispenser_front_horizontal.png",
|
|
|
|
trigger = {
|
|
|
|
type = "place",
|
|
|
|
node = "mcl_dispensers:dispenser",
|
|
|
|
target = 1
|
|
|
|
}
|
|
|
|
})
|
2017-03-04 02:04:06 +03:00
|
|
|
|
2017-03-10 02:25:31 +03:00
|
|
|
-- FIXME: Eating achievements don't work when you have exactly one of these items on hand
|
|
|
|
awards.register_achievement("mcl:n_eatPorkchop", {
|
|
|
|
title = S("Pork Chop"),
|
|
|
|
description = S("Eat a cooked porkchop."),
|
|
|
|
icon = "mcl_mobitems_porkchop_cooked.png",
|
|
|
|
trigger = {
|
|
|
|
type = "eat",
|
|
|
|
item= "mcl_mobitems:cooked_porkchop",
|
|
|
|
target = 1,
|
|
|
|
}
|
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:n_eatRabbit", {
|
|
|
|
title = S("Rabbit Season"),
|
|
|
|
icon = "mcl_mobitems_rabbit_cooked.png",
|
|
|
|
description = S("Eat a cooked rabbit."),
|
|
|
|
trigger = {
|
|
|
|
type = "eat",
|
|
|
|
item= "mcl_mobitems:cooked_rabbit",
|
|
|
|
target = 1,
|
|
|
|
}
|
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:n_eatRottenFlesh", {
|
|
|
|
title = S("Iron Belly"),
|
|
|
|
description = S("Get really desperate and eat rotten flesh."),
|
|
|
|
icon = "mcl_mobitems_rotten_flesh.png",
|
|
|
|
trigger = {
|
|
|
|
type = "eat",
|
|
|
|
item= "mcl_mobitems:rotten_flesh",
|
|
|
|
target = 1,
|
|
|
|
}
|
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:n_placeFlowerpot", {
|
|
|
|
title = S("Pot Planter"),
|
|
|
|
description = S("Place a flower pot."),
|
|
|
|
icon = "mcl_flowerpots_flowerpot_inventory.png",
|
|
|
|
trigger = {
|
|
|
|
type = "place",
|
|
|
|
node = "mcl_flowerpots:flower_pot",
|
|
|
|
target = 1,
|
|
|
|
}
|
|
|
|
})
|
2017-03-04 02:04:06 +03:00
|
|
|
|
2017-03-10 02:25:31 +03:00
|
|
|
awards.register_achievement("mcl:n_emeralds", {
|
|
|
|
title = S("The Haggler"),
|
2017-06-13 03:52:00 +03:00
|
|
|
description = S("Mine emerald ore."),
|
2017-03-10 02:25:31 +03:00
|
|
|
icon = "default_emerald.png",
|
|
|
|
trigger = {
|
|
|
|
type = "dig",
|
|
|
|
node = "mcl_core:stone_with_emerald",
|
2017-06-13 03:52:00 +03:00
|
|
|
target = 1,
|
2017-03-10 02:25:31 +03:00
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
2017-03-04 02:04:06 +03:00
|
|
|
|
2017-03-04 03:57:10 +03:00
|
|
|
-- Show achievements formspec when the button was pressed
|
|
|
|
minetest.register_on_player_receive_fields(function(player, formname, fields)
|
|
|
|
if fields.__mcl_achievements then
|
|
|
|
local name = player:get_player_name()
|
|
|
|
awards.show_to(name, name, nil, false)
|
|
|
|
end
|
|
|
|
end)
|
2021-03-28 03:32:57 +03:00
|
|
|
|
|
|
|
|
|
|
|
awards.register_achievement("mcl:stoneAge", {
|
|
|
|
title = S("Stone Age"),
|
|
|
|
description = S("Mine a stone with new pickaxe."),
|
|
|
|
icon = "default_cobble.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2021-03-28 03:32:57 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:hotStuff", {
|
|
|
|
title = S("Hot Stuff"),
|
|
|
|
description = S("Put lava in a bucket."),
|
|
|
|
icon = "bucket_lava.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2021-03-28 03:32:57 +03:00
|
|
|
})
|
|
|
|
awards.register_achievement("mcl:obsidian", {
|
|
|
|
title = S("Ice Bucket Challenge"),
|
|
|
|
description = S("Obtain an obsidian block."),
|
|
|
|
icon = "default_obsidian.png",
|
2022-10-04 01:55:26 +03:00
|
|
|
type = "Advancement",
|
2022-10-04 02:17:03 +03:00
|
|
|
group = "Overworld",
|
2021-03-28 03:32:57 +03:00
|
|
|
})
|
2022-10-25 02:20:09 +03:00
|
|
|
|
|
|
|
awards.register_achievement("mcl:hero_of_the_village", {
|
2022-11-04 22:55:56 +03:00
|
|
|
title = S("Hero of the Village"),
|
2022-10-25 02:20:09 +03:00
|
|
|
description = S("Successfully defend a village from a raid"),
|
|
|
|
icon = "mcl_raids_hero_of_the_village_icon.png",
|
|
|
|
type = "Advancement",
|
2022-11-04 22:55:56 +03:00
|
|
|
group = "Adventure",
|
|
|
|
secret = true,
|
|
|
|
})
|
|
|
|
|
|
|
|
awards.register_achievement("mcl:voluntary_exile", {
|
|
|
|
title = S("Voluntary Exile"),
|
|
|
|
description = S("Kill a raid captain. Maybe consider staying away from the local villages for the time being..."),
|
|
|
|
icon = "mcl_potions_effect_bad_omen.png",
|
|
|
|
type = "Advancement",
|
|
|
|
group = "Adventure",
|
|
|
|
secret = true,
|
2022-10-25 02:20:09 +03:00
|
|
|
})
|