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", {
|
if minetest.get_modpath("big_webs") then
|
||||||
title = S("Collect Giant Webbing"),
|
awards.register_achievement("dfcaverns_giant_web", {
|
||||||
description = S("Collect a piece of giant webbing found in a cave."),
|
title = S("Collect Giant Webbing"),
|
||||||
icon ="dfcaverns_awards_backgroundx32.png^big_webs_item.png^dfcaverns_awards_foregroundx32.png",
|
description = S("Collect a piece of giant webbing found in a cave."),
|
||||||
difficulty = 1,
|
icon ="dfcaverns_awards_backgroundx32.png^big_webs_item.png^dfcaverns_awards_foregroundx32.png",
|
||||||
trigger = {
|
difficulty = 1,
|
||||||
type = "dig",
|
trigger = {
|
||||||
node = "big_webs:webbing",
|
type = "dig",
|
||||||
target = 1
|
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
|
-- too common
|
||||||
--awards.register_achievement("dfcaverns_glow_worms", {
|
--awards.register_achievement("dfcaverns_glow_worms", {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name=df_achievements
|
name=df_achievements
|
||||||
description=Achievements for DFCaverns
|
description=Achievements for DFCaverns
|
||||||
depends=df_caverns, df_trees, df_farming, df_mapitems, df_dependencies, pit_caves
|
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