mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-01-24 17:20:19 +01:00
add an achievement for finding bubblesponge
This commit is contained in:
parent
69b21a3fbf
commit
79f15c70b7
@ -19,17 +19,33 @@ awards.register_achievement("dfcaverns_destroyed_gas_seep", {
|
||||
},
|
||||
})
|
||||
|
||||
awards.register_achievement("dfcaverns_giant_web", {
|
||||
title = S("Collect Giant Webbing"),
|
||||
description = S("Collect a piece of giant webbing found in a cave."),
|
||||
icon ="dfcaverns_awards_backgroundx32.png^big_webs_item.png^dfcaverns_awards_foregroundx32.png",
|
||||
difficulty = 1,
|
||||
trigger = {
|
||||
type = "dig",
|
||||
node = "big_webs:webbing",
|
||||
target = 1
|
||||
},
|
||||
})
|
||||
if minetest.get_modpath("big_webs") then
|
||||
awards.register_achievement("dfcaverns_giant_web", {
|
||||
title = S("Collect Giant Webbing"),
|
||||
description = S("Collect a piece of giant webbing found in a cave."),
|
||||
icon ="dfcaverns_awards_backgroundx32.png^big_webs_item.png^dfcaverns_awards_foregroundx32.png",
|
||||
difficulty = 1,
|
||||
trigger = {
|
||||
type = "dig",
|
||||
node = "big_webs:webbing",
|
||||
target = 1
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
if minetest.get_modpath("bubblesponge") then
|
||||
awards.register_achievement("dfcaverns_bubblesponge", {
|
||||
title = S("Collect Bubblesponge Frond"),
|
||||
description = S("Collect a piece of bubblesponge."),
|
||||
icon ="dfcaverns_awards_backgroundx32.png^bubblesponge_frond.png^dfcaverns_awards_foregroundx32.png",
|
||||
difficulty = 1,
|
||||
trigger = {
|
||||
type = "dig",
|
||||
node = "bubblesponge:frond",
|
||||
target = 1
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
-- too common
|
||||
--awards.register_achievement("dfcaverns_glow_worms", {
|
||||
|
@ -1,4 +1,4 @@
|
||||
name=df_achievements
|
||||
description=Achievements for DFCaverns
|
||||
depends=df_caverns, df_trees, df_farming, df_mapitems, df_dependencies, pit_caves
|
||||
optional_depends=df_underworld_items, hunter_statue, awards
|
||||
optional_depends=df_underworld_items, hunter_statue, awards, big_webs, bubblesponge
|
Loading…
Reference in New Issue
Block a user