forked from MineClone5/MineClone5
Update Fork #9
|
@ -201,56 +201,56 @@ awards.register_achievement("mcl:enterEndPortal", {
|
||||||
|
|
||||||
-- Triggered in mcl_totems
|
-- Triggered in mcl_totems
|
||||||
awards.register_achievement("mcl:postMortal", {
|
awards.register_achievement("mcl:postMortal", {
|
||||||
title = S("Postmortal"),
|
title = S("Postmortal"),
|
||||||
description = S("Use a Totem of Undying to cheat death."),
|
description = S("Use a Totem of Undying to cheat death."),
|
||||||
icon = "mcl_totems_totem.png",
|
icon = "mcl_totems_totem.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Triggered in mcl_beds
|
-- Triggered in mcl_beds
|
||||||
awards.register_achievement("mcl:sweetDreams", {
|
awards.register_achievement("mcl:sweetDreams", {
|
||||||
title = S("Sweet Dreams"),
|
title = S("Sweet Dreams"),
|
||||||
description = S("Sleep in a bed to change your respawn point."),
|
description = S("Sleep in a bed to change your respawn point."),
|
||||||
icon = "mcl_beds_bed_red.png",
|
icon = "mcl_beds_bed_red.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Triggered in mcl_smithing_table
|
-- Triggered in mcl_smithing_table
|
||||||
awards.register_achievement("mcl:seriousDedication", {
|
awards.register_achievement("mcl:seriousDedication", {
|
||||||
title = S("Serious Dedication"),
|
title = S("Serious Dedication"),
|
||||||
description = S("Use a Netherite Ingot to upgrade a hoe, and then completely reevaluate your life choices."),
|
description = S("Use a Netherite Ingot to upgrade a hoe, and then completely reevaluate your life choices."),
|
||||||
icon = "farming_tool_netheritehoe.png",
|
icon = "farming_tool_netheritehoe.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Triggered in mobs_mc
|
-- Triggered in mobs_mc
|
||||||
awards.register_achievement("mcl:whatAdeal", {
|
awards.register_achievement("mcl:whatAdeal", {
|
||||||
title = S("What A Deal!"),
|
title = S("What A Deal!"),
|
||||||
description = S("Successfully trade with a Villager."),
|
description = S("Successfully trade with a Villager."),
|
||||||
icon = "mcl_core_emerald.png",
|
icon = "mcl_core_emerald.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Triggered in mcl_fishing
|
-- Triggered in mcl_fishing
|
||||||
awards.register_achievement("mcl:fishyBusiness", {
|
awards.register_achievement("mcl:fishyBusiness", {
|
||||||
title = S("Fishy Business"),
|
title = S("Fishy Business"),
|
||||||
description = S("Catch a fish. \nHint: Catch a fish, salmon, clownfish, or pufferfish."),
|
description = S("Catch a fish. \nHint: Catch a fish, salmon, clownfish, or pufferfish."),
|
||||||
icon = "mcl_fishing_fishing_rod.png",
|
icon = "mcl_fishing_fishing_rod.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Armor Advancements
|
-- Armor Advancements
|
||||||
--[[awards.register_achievement("mcl:suitUp", {
|
--[[awards.register_achievement("mcl:suitUp", {
|
||||||
title = S("Suit Up"),
|
title = S("Suit Up"),
|
||||||
description = S("Protect yourself with a piece of iron armor."),
|
description = S("Protect yourself with a piece of iron armor."),
|
||||||
icon = "mcl_armor_inv_chestplate_iron.png",
|
icon = "mcl_armor_inv_chestplate_iron.png",
|
||||||
})]]--
|
})]]--
|
||||||
|
|
||||||
--[[awards.register_achievement("mcl:coverMeDiamonds", {
|
--[[awards.register_achievement("mcl:coverMeDiamonds", {
|
||||||
title = S("Cover Me with Diamonds"),
|
title = S("Cover Me with Diamonds"),
|
||||||
description = S("Diamond armor saves lives."),
|
description = S("Diamond armor saves lives."),
|
||||||
icon = "mcl_armor_inv_chestplate_diamond.png",
|
icon = "mcl_armor_inv_chestplate_diamond.png",
|
||||||
})]]--
|
})]]--
|
||||||
|
|
||||||
--[[awards.register_achievement("mcl:coverMeDebris", {
|
--[[awards.register_achievement("mcl:coverMeDebris", {
|
||||||
title = S("Cover Me in Debris"),
|
title = S("Cover Me in Debris"),
|
||||||
description = S("Get a full suit of Netherite armor."),
|
description = S("Get a full suit of Netherite armor."),
|
||||||
icon = "mcl_armor_inv_chestplate_netherite.png",
|
icon = "mcl_armor_inv_chestplate_netherite.png",
|
||||||
})]]--
|
})]]--
|
||||||
|
|
||||||
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
||||||
|
|
|
@ -43,7 +43,7 @@ mcl_damage.register_modifier(function(obj, damage, reason)
|
||||||
obj:set_wielded_item(wield)
|
obj:set_wielded_item(wield)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
awards.unlock(obj:get_player_name(), "mcl:postMortal")
|
awards.unlock(obj:get_player_name(), "mcl:postMortal")
|
||||||
|
|
||||||
-- Effects
|
-- Effects
|
||||||
minetest.sound_play({name = "mcl_totems_totem", gain = 1}, {pos=ppos, max_hear_distance = 16}, true)
|
minetest.sound_play({name = "mcl_totems_totem", gain = 1}, {pos=ppos, max_hear_distance = 16}, true)
|
||||||
|
|
Loading…
Reference in New Issue