master #1

Merged
balazsszalab merged 73 commits from MineClone5/MineClone5:master into master 2022-06-18 17:29:28 +02:00
2 changed files with 8 additions and 0 deletions
Showing only changes of commit 6c9fc8c963 - Show all commits

View File

@ -227,6 +227,13 @@ awards.register_achievement("mcl:whatAdeal", {
icon = "mcl_core_emerald.png", 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.) -- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
if non_pc_achievements then if non_pc_achievements then

View File

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