mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 12:01:06 +01:00
Country Lode, Take Me Home Advancement
This commit is contained in:
parent
eb72bb81da
commit
bbd86045e5
2 changed files with 8 additions and 0 deletions
|
@ -208,6 +208,13 @@ awards.register_achievement("mcl:fishyBusiness", {
|
||||||
icon = "mcl_fishing_fishing_rod.png",
|
icon = "mcl_fishing_fishing_rod.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Triggered in mcl_compass
|
||||||
|
awards.register_achievement("mcl:countryLode", {
|
||||||
|
title = S("Country Lode, Take Me Home"),
|
||||||
|
description = S("Use a compass on a Lodestone."),
|
||||||
|
icon = "lodestone_side4.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
|
||||||
|
|
|
@ -189,6 +189,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
|
|
||||||
if string_find(stack:get_name(), "_lodestone") then
|
if string_find(stack:get_name(), "_lodestone") then
|
||||||
stack:set_name("mcl_compass:" .. compass_frame .. "_lodestone")
|
stack:set_name("mcl_compass:" .. compass_frame .. "_lodestone")
|
||||||
|
awards.unlock(player:get_player_name(), "mcl:countryLode")
|
||||||
else
|
else
|
||||||
stack:set_name("mcl_compass:" .. compass_frame)
|
stack:set_name("mcl_compass:" .. compass_frame)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue