Fishy Business Advancement

This commit is contained in:
PrairieAstronomer 2022-06-01 10:22:10 -06:00
parent 4abc8181f7
commit 6c9fc8c963
2 changed files with 8 additions and 0 deletions

View File

@ -227,6 +227,13 @@ awards.register_achievement("mcl:whatAdeal", {
icon = "mcl_core_emerald.png",
})
-- Triggered in mcl_fishing
awards.register_achievement("mcl:fishyBusiness", {
title = S("Fishy Business"),
description = S("Catch a fish. \nHint: Catch a fish, salmon, clownfish, or pufferfish."),
icon = "mcl_fishing_fishing_rod.png",
})
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
if non_pc_achievements then

View File

@ -75,6 +75,7 @@ local fish = function(itemstack, player, pointed_thing)
stacks_min = 1,
stacks_max = 1,
}, pr)
awards.unlock(player:get_player_name(), "mcl:fishyBusiness")
elseif r <= junk_value then
-- Junk
items = mcl_loot.get_loot({