forked from MineClone5/MineClone5
master #1
|
@ -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
|
||||||
|
|
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue