mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 01:21:05 +01:00
Who is Cutting Onions? Advancement
This commit is contained in:
parent
cea6af267f
commit
687bc04560
2 changed files with 7 additions and 0 deletions
|
@ -59,6 +59,7 @@ mcl_item_entity.register_pickup_achievement("tree", "mcl:mineWood")
|
||||||
mcl_item_entity.register_pickup_achievement("mcl_mobitems:blaze_rod", "mcl:blazeRod")
|
mcl_item_entity.register_pickup_achievement("mcl_mobitems:blaze_rod", "mcl:blazeRod")
|
||||||
mcl_item_entity.register_pickup_achievement("mcl_mobitems:leather", "mcl:killCow")
|
mcl_item_entity.register_pickup_achievement("mcl_mobitems:leather", "mcl:killCow")
|
||||||
mcl_item_entity.register_pickup_achievement("mcl_core:diamond", "mcl:diamonds")
|
mcl_item_entity.register_pickup_achievement("mcl_core:diamond", "mcl:diamonds")
|
||||||
|
mcl_item_entity.register_pickup_achievement("mcl_core:crying_obsidian", "mcl:whosCuttingOnions")
|
||||||
|
|
||||||
local function check_pickup_achievements(object, player)
|
local function check_pickup_achievements(object, player)
|
||||||
if has_awards then
|
if has_awards then
|
||||||
|
|
|
@ -136,6 +136,12 @@ awards.register_achievement("mcl:mineWood", {
|
||||||
icon = "default_tree.png",
|
icon = "default_tree.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
awards.register_achievement("mcl:whosCuttingOnions", {
|
||||||
|
title = S("Who is Cutting Onions?"),
|
||||||
|
description = S("Pick up a crying obsidian from the floor."),
|
||||||
|
icon = "default_obsidian.png^mcl_core_crying_obsidian.png",
|
||||||
|
})
|
||||||
|
|
||||||
-- Smelting achivements: These are awarded when picking up an item from a furnace
|
-- Smelting achivements: These are awarded when picking up an item from a furnace
|
||||||
-- output. They are given in mcl_furnaces.
|
-- output. They are given in mcl_furnaces.
|
||||||
awards.register_achievement("mcl:acquireIron", {
|
awards.register_achievement("mcl:acquireIron", {
|
||||||
|
|
Loading…
Reference in a new issue