forked from MineClone5/MineClone5
Serious Dedication Advancement
This commit is contained in:
parent
d4828f8993
commit
3a12b9f6c6
|
@ -213,6 +213,13 @@ awards.register_achievement("mcl:sweetDreams", {
|
||||||
icon = "mcl_beds_bed_red.png",
|
icon = "mcl_beds_bed_red.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Triggered in mcl_smithing_table
|
||||||
|
awards.register_achievement("mcl:seriousDedication", {
|
||||||
|
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",
|
||||||
|
})
|
||||||
|
|
||||||
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
|
||||||
|
|
||||||
if non_pc_achievements then
|
if non_pc_achievements then
|
||||||
|
|
|
@ -125,6 +125,11 @@ minetest.register_node("mcl_smithing_table:table", {
|
||||||
-- ToDo: make epic sound
|
-- ToDo: make epic sound
|
||||||
minetest.sound_play("mcl_smithing_table_upgrade", {pos = pos, max_hear_distance = 16})
|
minetest.sound_play("mcl_smithing_table_upgrade", {pos = pos, max_hear_distance = 16})
|
||||||
end
|
end
|
||||||
|
if listname == "upgraded_item" then
|
||||||
|
if stack:get_name() == "mcl_farming:hoe_netherite" then
|
||||||
|
awards.unlock(player:get_player_name(), "mcl:seriousDedication")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
reset_upgraded_item(pos)
|
reset_upgraded_item(pos)
|
||||||
end,
|
end,
|
||||||
|
@ -133,6 +138,7 @@ minetest.register_node("mcl_smithing_table:table", {
|
||||||
_mcl_hardness = 2.5
|
_mcl_hardness = 2.5
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "mcl_smithing_table:table",
|
output = "mcl_smithing_table:table",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
Loading…
Reference in New Issue