Re-add glow item frame achievement

This commit is contained in:
cora 2024-02-19 02:56:36 +01:00 committed by the-real-herowl
parent 7fe5315c26
commit 17dfddfc35
2 changed files with 14 additions and 1 deletions
mods/ITEMS/mcl_itemframes

View file

@ -241,6 +241,19 @@ mcl_itemframes.register_itemframe("glow_frame", {
object_properties = { glow = 15 },
})
awards.register_achievement("mcl_itemframes:glowframe", {
title = S("Glow and Behold!"),
description = S("Craft a glow item frame."),
icon = "mcl_itemframes_glow_item_frame.png",
trigger = {
type = "craft",
item = "mcl_itemframes:glow_item_frame",
target = 1
},
type = "Advancement",
group = "Overworld",
})
minetest.register_lbm({
label = "Respawn item frame item entities",
name = "mcl_itemframes:respawn_entities",

View file

@ -1,2 +1,2 @@
name = mcl_itemframes
depends = mcl_core, mcl_sounds, mcl_compass, mcl_maps, screwdriver
depends = mcl_core, mcl_sounds, mcl_compass, mcl_maps, screwdriver, awards