mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-01-12 11:10:28 +01:00
every award should now have a description and a difficulty.
This commit is contained in:
parent
7f18c5cf95
commit
a9e0a4a887
@ -9,8 +9,9 @@ local gas_seep = "(("..df_dependencies.texture_stone.."^"..df_dependencies.textu
|
|||||||
|
|
||||||
awards.register_achievement("dfcaverns_destroyed_gas_seep", {
|
awards.register_achievement("dfcaverns_destroyed_gas_seep", {
|
||||||
title = S("Destroy a Gas Seep"),
|
title = S("Destroy a Gas Seep"),
|
||||||
description = S(""),
|
description = S("Plug a crack that mine gas is seeping out of to make the caves just a little bit safer."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^" .. gas_seep .."^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^" .. gas_seep .."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 2,
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "dig",
|
type = "dig",
|
||||||
node = "mine_gas:gas_seep",
|
node = "mine_gas:gas_seep",
|
||||||
@ -22,6 +23,7 @@ awards.register_achievement("dfcaverns_giant_web", {
|
|||||||
title = S("Collect Giant Webbing"),
|
title = S("Collect Giant Webbing"),
|
||||||
description = S("Collect a piece of giant webbing found in a cave."),
|
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",
|
icon ="dfcaverns_awards_backgroundx32.png^big_webs_item.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 1,
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "dig",
|
type = "dig",
|
||||||
node = "big_webs:webbing",
|
node = "big_webs:webbing",
|
||||||
@ -47,6 +49,7 @@ awards.register_achievement("dfcaverns_cave_pearls", {
|
|||||||
title = S("Collect Cave Pearls"),
|
title = S("Collect Cave Pearls"),
|
||||||
description = S("Collect some cave pearls from the wall of a cave."),
|
description = S("Collect some cave pearls from the wall of a cave."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^dfcaverns_cave_pearls_achievement.png^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^dfcaverns_cave_pearls_achievement.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 1,
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "dig",
|
type = "dig",
|
||||||
node = "df_mapitems:cave_pearls",
|
node = "df_mapitems:cave_pearls",
|
||||||
@ -64,6 +67,7 @@ awards.register_achievement("dfcaverns_castle_coral", {
|
|||||||
node = "df_mapitems:castle_coral",
|
node = "df_mapitems:castle_coral",
|
||||||
target = 1
|
target = 1
|
||||||
},
|
},
|
||||||
|
difficulty = 2,
|
||||||
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -76,6 +80,7 @@ awards.register_achievement("dfcaverns_ruby_crystals", {
|
|||||||
node = "group:dfcaverns_big_crystal",
|
node = "group:dfcaverns_big_crystal",
|
||||||
target = 1
|
target = 1
|
||||||
},
|
},
|
||||||
|
difficulty = 1,
|
||||||
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -88,6 +93,7 @@ awards.register_achievement("dfcaverns_cave_coral", {
|
|||||||
node = "group:dfcaverns_cave_coral",
|
node = "group:dfcaverns_cave_coral",
|
||||||
target = 1
|
target = 1
|
||||||
},
|
},
|
||||||
|
difficulty = 1,
|
||||||
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -100,6 +106,7 @@ awards.register_achievement("dfcaverns_flawless_mese", {
|
|||||||
node = "df_mapitems:glow_mese",
|
node = "df_mapitems:glow_mese",
|
||||||
target = 1
|
target = 1
|
||||||
},
|
},
|
||||||
|
difficulty = 3,
|
||||||
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -112,6 +119,7 @@ awards.register_achievement("dfcaverns_luminous_salt", {
|
|||||||
node = "df_mapitems:salt_crystal",
|
node = "df_mapitems:salt_crystal",
|
||||||
target = 1
|
target = 1
|
||||||
},
|
},
|
||||||
|
difficulty = 1,
|
||||||
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -124,6 +132,7 @@ awards.register_achievement("dfcaverns_glow_amethyst", {
|
|||||||
node = "df_underworld_items:glow_amethyst",
|
node = "df_underworld_items:glow_amethyst",
|
||||||
target = 1
|
target = 1
|
||||||
},
|
},
|
||||||
|
difficulty = 2,
|
||||||
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -136,6 +145,7 @@ awards.register_achievement("dfcaverns_glow_stone", {
|
|||||||
node = "df_underworld_items:glowstone",
|
node = "df_underworld_items:glowstone",
|
||||||
target = 1
|
target = 1
|
||||||
},
|
},
|
||||||
|
difficulty = 2,
|
||||||
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
_dfcaverns_achievements = {"dfcaverns_prospector"},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -145,6 +155,7 @@ awards.register_achievement("dfcaverns_prospector", {
|
|||||||
title = S("Deep Prospector"),
|
title = S("Deep Prospector"),
|
||||||
description = S("Collect various different exotic items from various caverns."),
|
description = S("Collect various different exotic items from various caverns."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^"..crossed_pick_and_shovel.."^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^"..crossed_pick_and_shovel.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 3 / df_achievements.get_child_achievement_count("dfcaverns_prospector"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
achievement_name="dfcaverns_prospector",
|
achievement_name="dfcaverns_prospector",
|
||||||
|
@ -16,47 +16,47 @@ end
|
|||||||
local plant_node_achievements =
|
local plant_node_achievements =
|
||||||
{
|
{
|
||||||
["df_trees:black_cap_sapling"] = {achievement="dfcaverns_plant_black_cap",
|
["df_trees:black_cap_sapling"] = {achievement="dfcaverns_plant_black_cap",
|
||||||
title=S("Plant Black Cap"), desc=S(""), icon=make_texture("dfcaverns_black_cap_sapling.png", coal_ore), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Black Cap"), icon=make_texture("dfcaverns_black_cap_sapling.png", coal_ore), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_trees:fungiwood_sapling"] = {achievement="dfcaverns_plant_fungiwood",
|
["df_trees:fungiwood_sapling"] = {achievement="dfcaverns_plant_fungiwood",
|
||||||
title=S("Plant Fungiwood"), desc=S(""), icon=make_texture("dfcaverns_fungiwood_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Fungiwood"), icon=make_texture("dfcaverns_fungiwood_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_trees:goblin_cap_sapling"] = {achievement="dfcaverns_plant_goblin_cap",
|
["df_trees:goblin_cap_sapling"] = {achievement="dfcaverns_plant_goblin_cap",
|
||||||
title=S("Plant Goblin Cap"), desc=S(""), icon=make_texture("dfcaverns_goblin_cap_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Goblin Cap"), icon=make_texture("dfcaverns_goblin_cap_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_trees:nether_cap_sapling"] = {achievement="dfcaverns_plant_nethercap",
|
["df_trees:nether_cap_sapling"] = {achievement="dfcaverns_plant_nethercap",
|
||||||
title=S("Plant @1", nethercap_name), desc=S(""), icon=make_texture("dfcaverns_nether_cap_sapling.png", ice_texture), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant @1", nethercap_name), icon=make_texture("dfcaverns_nether_cap_sapling.png", ice_texture), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_trees:spore_tree_sapling"] = {achievement="dfcaverns_plant_spore_tree",
|
["df_trees:spore_tree_sapling"] = {achievement="dfcaverns_plant_spore_tree",
|
||||||
title=S("Plant Spore Tree"), desc=S(""), icon=make_texture("dfcaverns_spore_tree_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Spore Tree"), icon=make_texture("dfcaverns_spore_tree_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_trees:tower_cap_sapling"] = {achievement="dfcaverns_plant_tower_cap",
|
["df_trees:tower_cap_sapling"] = {achievement="dfcaverns_plant_tower_cap",
|
||||||
title=S("Plant Tower Cap"), desc=S(""), icon=make_texture("dfcaverns_tower_cap_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Tower Cap"), icon=make_texture("dfcaverns_tower_cap_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_trees:tunnel_tube_sapling"] = {achievement="dfcaverns_plant_tunnel_tube",
|
["df_trees:tunnel_tube_sapling"] = {achievement="dfcaverns_plant_tunnel_tube",
|
||||||
title=S("Plant Tunnel Tube"), desc=S(""), icon=make_texture("dfcaverns_tunnel_tube_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Tunnel Tube"), icon=make_texture("dfcaverns_tunnel_tube_sapling.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_trees:torchspine_ember"] = {achievement="dfcaverns_plant_torchspine",
|
["df_trees:torchspine_ember"] = {achievement="dfcaverns_plant_torchspine",
|
||||||
title=S("Plant Torchspine"), desc=S(""), icon=make_texture("dfcaverns_torchspine_achievement.png", coal_ore), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Torchspine"), icon=make_texture("dfcaverns_torchspine_achievement.png", coal_ore), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_trees:spindlestem_seedling"] = {achievement="dfcaverns_plant_spindlestem",
|
["df_trees:spindlestem_seedling"] = {achievement="dfcaverns_plant_spindlestem",
|
||||||
title=S("Plant Spindlestem"), desc=S(""), icon=make_texture("dfcaverns_spindlestem_achievement.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Spindlestem"), icon=make_texture("dfcaverns_spindlestem_achievement.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_trees:blood_thorn"] = {achievement="dfcaverns_plant_bloodthorn",
|
["df_trees:blood_thorn"] = {achievement="dfcaverns_plant_bloodthorn",
|
||||||
title=S("Plant Bloodthorn"), desc=S(""), icon=make_texture("dfcaverns_bloodthorn_achievement.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Bloodthorn"), icon=make_texture("dfcaverns_bloodthorn_achievement.png"), _dfcaverns_achievements={"dfcaverns_plant_all_upper_trees", "dfcaverns_plant_all_underground_trees"}, difficulty = 1,},
|
||||||
["df_primordial_items:giant_hypha_apical_meristem"] = {achievement="dfcaverns_plant_giant_mycelium",
|
["df_primordial_items:giant_hypha_apical_meristem"] = {achievement="dfcaverns_plant_giant_mycelium",
|
||||||
title=S("Plant Primordial Mycelium"), desc=S(""), icon=make_texture("dfcaverns_mush_soil.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Primordial Mycelium"), icon=make_texture("dfcaverns_mush_soil.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}, difficulty = 3,},
|
||||||
["df_primordial_items:fern_sapling"] = {achievement="dfcaverns_plant_primordial_fern",
|
["df_primordial_items:fern_sapling"] = {achievement="dfcaverns_plant_primordial_fern",
|
||||||
title=S("Plant Primordial Fern"), desc=S(""), icon=make_texture("dfcaverns_jungle_fern_03.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Primordial Fern"), icon=make_texture("dfcaverns_jungle_fern_03.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}, difficulty = 3,},
|
||||||
["df_primordial_items:jungle_mushroom_sapling"] = {achievement="dfcaverns_plant_primordial_jungle_mushroom",
|
["df_primordial_items:jungle_mushroom_sapling"] = {achievement="dfcaverns_plant_primordial_jungle_mushroom",
|
||||||
title=S("Plant Primordial Jungle Mushroom"), desc=S(""), icon=make_texture("dfcaverns_jungle_mushroom_02.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Primordial Jungle Mushroom"), icon=make_texture("dfcaverns_jungle_mushroom_02.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}, difficulty = 3,},
|
||||||
["df_primordial_items:jungletree_sapling"] = {achievement="dfcaverns_plant_primordial_jungletree",
|
["df_primordial_items:jungletree_sapling"] = {achievement="dfcaverns_plant_primordial_jungletree",
|
||||||
title=S("Plant Primordial Jungle Tree"), desc=S(""), icon=make_texture("dfcaverns_jungle_sapling.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Primordial Jungle Tree"), icon=make_texture("dfcaverns_jungle_sapling.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}, difficulty = 3,},
|
||||||
["df_primordial_items:mush_sapling"] = {achievement="dfcaverns_plant_primordial_mushroom",
|
["df_primordial_items:mush_sapling"] = {achievement="dfcaverns_plant_primordial_mushroom",
|
||||||
title=S("Plant Primordial Mushroom"), desc=S(""), icon=make_texture("dfcaverns_mush_sapling.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}},
|
title=S("Plant Primordial Mushroom"), icon=make_texture("dfcaverns_mush_sapling.png"), secret = true, _dfcaverns_achievements={"dfcaverns_plant_all_primordial", "dfcaverns_plant_all_underground_trees"}, difficulty = 3,},
|
||||||
["df_farming:cave_wheat_seed"] = {achievement="dfcaverns_plant_cave_wheat",
|
["df_farming:cave_wheat_seed"] = {achievement="dfcaverns_plant_cave_wheat",
|
||||||
title=S("Plant Cave Wheat"), desc=S(""), icon=make_texture("dfcaverns_cave_wheat_8.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}},
|
title=S("Plant Cave Wheat"), icon=make_texture("dfcaverns_cave_wheat_8.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}, difficulty = 1,},
|
||||||
["df_farming:dimple_cup_seed"] = {achievement="dfcaverns_plant_dimple_cup",
|
["df_farming:dimple_cup_seed"] = {achievement="dfcaverns_plant_dimple_cup",
|
||||||
title=S("Plant Dimple Cup"), desc=S(""), icon=make_texture("dfcaverns_dimple_cup_4.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}},
|
title=S("Plant Dimple Cup"), icon=make_texture("dfcaverns_dimple_cup_4.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}, difficulty = 1,},
|
||||||
["df_farming:pig_tail_seed"] = {achievement="dfcaverns_plant_pig_tail",
|
["df_farming:pig_tail_seed"] = {achievement="dfcaverns_plant_pig_tail",
|
||||||
title=S("Plant Pig Tail"), desc=S(""), icon=make_texture("dfcaverns_pig_tail_8.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}},
|
title=S("Plant Pig Tail"), icon=make_texture("dfcaverns_pig_tail_8.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}, difficulty = 1,},
|
||||||
["df_farming:plump_helmet_spawn"] = {achievement="dfcaverns_plant_plump_helmet",
|
["df_farming:plump_helmet_spawn"] = {achievement="dfcaverns_plant_plump_helmet",
|
||||||
title=S("Plant Plump Helmet"), desc=S(""), icon=make_texture("dfcaverns_plump_helmet_achievement.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}},
|
title=S("Plant Plump Helmet"), icon=make_texture("dfcaverns_plump_helmet_achievement.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}, difficulty = 1,},
|
||||||
["df_farming:quarry_bush_seed"] = {achievement="dfcaverns_plant_quarry_bush",
|
["df_farming:quarry_bush_seed"] = {achievement="dfcaverns_plant_quarry_bush",
|
||||||
title=S("Plant Quarry Bush"), desc=S(""), icon=make_texture("dfcaverns_quarry_bush_5.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}},
|
title=S("Plant Quarry Bush"), icon=make_texture("dfcaverns_quarry_bush_5.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}, difficulty = 1,},
|
||||||
["df_farming:sweet_pod_seed"] = {achievement="dfcaverns_plant_sweet_pod",
|
["df_farming:sweet_pod_seed"] = {achievement="dfcaverns_plant_sweet_pod",
|
||||||
title=S("Plant Sweet Pod"), desc=S(""), icon=make_texture("dfcaverns_sweet_pod_6.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}},
|
title=S("Plant Sweet Pod"), icon=make_texture("dfcaverns_sweet_pod_6.png"), _dfcaverns_achievements={"dfcaverns_plant_all_farmables"}, difficulty = 1,},
|
||||||
}
|
}
|
||||||
|
|
||||||
minetest.register_on_placenode(function(pos, newnode, placer, oldnode, itemstack, pointed_thing)
|
minetest.register_on_placenode(function(pos, newnode, placer, oldnode, itemstack, pointed_thing)
|
||||||
@ -76,10 +76,10 @@ minetest.register_on_placenode(function(pos, newnode, placer, oldnode, itemstack
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
for _, def in pairs(plant_node_achievements) do
|
for seed_item, def in pairs(plant_node_achievements) do
|
||||||
awards.register_achievement(def.achievement, {
|
awards.register_achievement(def.achievement, {
|
||||||
title = def.title,
|
title = def.title,
|
||||||
description = def.desc,
|
description = S("Plant a @1 in a place where it can grow.", minetest.registered_items[seed_item].description),
|
||||||
icon = def.icon,
|
icon = def.icon,
|
||||||
secret = def.secret,
|
secret = def.secret,
|
||||||
_dfcaverns_achievements = def._dfcaverns_achievements,
|
_dfcaverns_achievements = def._dfcaverns_achievements,
|
||||||
@ -92,6 +92,7 @@ awards.register_achievement("dfcaverns_plant_all_upper_trees", {
|
|||||||
icon = "dfcaverns_awards_backgroundx32.png^"
|
icon = "dfcaverns_awards_backgroundx32.png^"
|
||||||
.."(dfcaverns_awards_cavern_towercapx32.png^dfcaverns_awards_cavern_fungiwoodx32.png^dfcaverns_awards_cavern_goblincapx32.png)^[transformFX"
|
.."(dfcaverns_awards_cavern_towercapx32.png^dfcaverns_awards_cavern_fungiwoodx32.png^dfcaverns_awards_cavern_goblincapx32.png)^[transformFX"
|
||||||
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 1 / df_achievements.get_child_achievement_count("dfcaverns_plant_all_upper_trees"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
achievement_name="dfcaverns_plant_all_upper_trees",
|
achievement_name="dfcaverns_plant_all_upper_trees",
|
||||||
@ -106,6 +107,7 @@ awards.register_achievement("dfcaverns_plant_all_primordial", {
|
|||||||
.."(dfcaverns_awards_cavern_primordial_mushx32.png^dfcaverns_awards_cavern_junglex32.png)^[transformFX"
|
.."(dfcaverns_awards_cavern_primordial_mushx32.png^dfcaverns_awards_cavern_junglex32.png)^[transformFX"
|
||||||
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
||||||
secret = true,
|
secret = true,
|
||||||
|
difficulty = 3 / df_achievements.get_child_achievement_count("dfcaverns_plant_all_primordial"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
achievement_name="dfcaverns_plant_all_primordial",
|
achievement_name="dfcaverns_plant_all_primordial",
|
||||||
@ -120,6 +122,7 @@ awards.register_achievement("dfcaverns_plant_all_underground_trees", {
|
|||||||
.."(dfcaverns_awards_cavern_towercapx32.png^dfcaverns_awards_cavern_fungiwoodx32.png^dfcaverns_awards_cavern_goblincapx32.png)^[transformFX"
|
.."(dfcaverns_awards_cavern_towercapx32.png^dfcaverns_awards_cavern_fungiwoodx32.png^dfcaverns_awards_cavern_goblincapx32.png)^[transformFX"
|
||||||
.. "^dfcaverns_awards_cavern_primordial_mushx32.png^dfcaverns_awards_cavern_junglex32.png"
|
.. "^dfcaverns_awards_cavern_primordial_mushx32.png^dfcaverns_awards_cavern_junglex32.png"
|
||||||
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 4 / df_achievements.get_child_achievement_count("dfcaverns_plant_all_underground_trees"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
achievement_name="dfcaverns_plant_all_underground_trees",
|
achievement_name="dfcaverns_plant_all_underground_trees",
|
||||||
@ -141,6 +144,7 @@ awards.register_achievement("dfcaverns_plant_all_farmables", {
|
|||||||
.."^[combine:32x32:0,16=dfcaverns_sweet_pod_6.png"
|
.."^[combine:32x32:0,16=dfcaverns_sweet_pod_6.png"
|
||||||
.."^[combine:32x32:16,16=dfcaverns_quarry_bush_5.png"
|
.."^[combine:32x32:16,16=dfcaverns_quarry_bush_5.png"
|
||||||
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 1 / df_achievements.get_child_achievement_count("dfcaverns_plant_all_farmables"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
achievement_name="dfcaverns_plant_all_farmables",
|
achievement_name="dfcaverns_plant_all_farmables",
|
||||||
|
@ -16,6 +16,7 @@ for itemname, def in pairs(minetest.registered_items) do
|
|||||||
item = itemname,
|
item = itemname,
|
||||||
target = 1
|
target = 1
|
||||||
},
|
},
|
||||||
|
difficulty = 2,
|
||||||
_dfcaverns_achievements = {"dfcaverns_gourmand"},
|
_dfcaverns_achievements = {"dfcaverns_gourmand"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
@ -24,43 +25,48 @@ end
|
|||||||
local bread_def = minetest.registered_items["df_farming:cave_bread"]
|
local bread_def = minetest.registered_items["df_farming:cave_bread"]
|
||||||
awards.register_achievement("dfcaverns_meal_dwarven_bread", {
|
awards.register_achievement("dfcaverns_meal_dwarven_bread", {
|
||||||
title = S("Eat @1", bread_def.description),
|
title = S("Eat @1", bread_def.description),
|
||||||
description = S(""),
|
description = S("It's a basic staple of the underground, but at least it's not Plump Helmet."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^dfcaverns_prepared_food13x32.png^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^dfcaverns_prepared_food13x32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "eat",
|
type = "eat",
|
||||||
item = "df_farming:cave_bread",
|
item = "df_farming:cave_bread",
|
||||||
target = 1,
|
target = 1,
|
||||||
},
|
},
|
||||||
|
difficulty = 1,
|
||||||
_dfcaverns_achievements = {"dfcaverns_gourmand"},
|
_dfcaverns_achievements = {"dfcaverns_gourmand"},
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_gourmand", {
|
awards.register_achievement("dfcaverns_gourmand", {
|
||||||
title = S("Dwarven Gourmand"),
|
title = S("Dwarven Gourmand"),
|
||||||
description = S("Eat one of each of the various meals that can be cooked from underground ingredients."),
|
description = S("Eat one of each of the various meals that can be cooked or crafted from underground ingredients."),
|
||||||
icon ="dfcaverns_awards_backgroundx32.png^dfcaverns_prepared_food28x32.png^dfcaverns_gourmand_achievement.png^dfcaverns_awards_foregroundx32.png",
|
icon ="dfcaverns_awards_backgroundx32.png^dfcaverns_prepared_food28x32.png^dfcaverns_gourmand_achievement.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 2 / df_achievements.get_child_achievement_count("dfcaverns_gourmand"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
achievement_name="dfcaverns_gourmand",
|
achievement_name="dfcaverns_gourmand",
|
||||||
target=df_achievements.get_child_achievement_count("dfcaverns_gourmand"),
|
target=df_achievements.get_child_achievement_count("dfcaverns_gourmand"),
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("df_primordial_items") then
|
if minetest.get_modpath("df_primordial_items") then
|
||||||
awards.register_achievement("dfcaverns_primordial_fruit", {
|
awards.register_achievement("dfcaverns_primordial_fruit", {
|
||||||
title = S("Eat a Primordial Fruit"),
|
title = S("Eat a Primordial Fruit"),
|
||||||
description = S(""),
|
description = S("Eat one of the strange fruits found only deep underground in the Primordial caverns."),
|
||||||
icon ="dfcaverns_awards_backgroundx32.png^dfcaverns_primordial_fruit.png^dfcaverns_awards_foregroundx32.png",
|
icon ="dfcaverns_awards_backgroundx32.png^dfcaverns_primordial_fruit.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 3,
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "eat",
|
type = "eat",
|
||||||
item = "df_primordial_items:primordial_fruit",
|
item = "df_primordial_items:primordial_fruit",
|
||||||
target = 1
|
target = 1
|
||||||
},
|
},
|
||||||
|
secret = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_glowtato", {
|
awards.register_achievement("dfcaverns_glowtato", {
|
||||||
title = S("Eat a Glowtato"),
|
title = S("Eat a Glowtato"),
|
||||||
description = S(""),
|
description = S("Slightly less prestigious than the Primordial Fruit, but still rare and exotic compared to surface world fare."),
|
||||||
icon ="dfcaverns_awards_backgroundx32.png^dfcaverns_glowtato.png^dfcaverns_awards_foregroundx32.png",
|
icon ="dfcaverns_awards_backgroundx32.png^dfcaverns_glowtato.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 3,
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "eat",
|
type = "eat",
|
||||||
item = "df_primordial_items:glowtato",
|
item = "df_primordial_items:glowtato",
|
||||||
|
@ -33,7 +33,7 @@ awards.register_achievement = function(achievement_name, achievement_def, ...)
|
|||||||
if old_awards_version and achievement_def.trigger and achievement_def.trigger.type=="dfcaverns_achievements" then
|
if old_awards_version and achievement_def.trigger and achievement_def.trigger.type=="dfcaverns_achievements" then
|
||||||
-- there's a significant difference between how triggers work
|
-- there's a significant difference between how triggers work
|
||||||
-- in older versions of the awards mod. The new version of the trigger doesn't
|
-- in older versions of the awards mod. The new version of the trigger doesn't
|
||||||
-- work with the old. For now, strip them out.
|
-- work with the old. Rather than do a bunch of work to support old versions, strip them out.
|
||||||
achievement_def.trigger = nil
|
achievement_def.trigger = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
### dig.lua ###
|
### dig.lua ###
|
||||||
|
|
||||||
"Collect" Lightseam Stone=
|
"Collect" Lightseam Stone=
|
||||||
|
|
||||||
|
Attempt to collect a piece of Lightseam, a strange glowing mineral found deep underground.=
|
||||||
|
|
||||||
Collect Castle Coral=
|
Collect Castle Coral=
|
||||||
Collect Cave Coral=
|
Collect Cave Coral=
|
||||||
Collect Cave Pearls=
|
Collect Cave Pearls=
|
||||||
@ -13,11 +16,28 @@ Collect Giant Webbing=
|
|||||||
Collect Glow Worms=
|
Collect Glow Worms=
|
||||||
Collect Glowing Amethyst=
|
Collect Glowing Amethyst=
|
||||||
Collect Luminous Salt Crystal=
|
Collect Luminous Salt Crystal=
|
||||||
|
|
||||||
|
Collect a block of glowing amethyst crystal from the Underworld.=
|
||||||
|
|
||||||
|
Collect a flawless Mese crystal block from the Magma Sea.=
|
||||||
|
|
||||||
|
Collect a luminous salt crystal from the dry caverns where Bloodthorns live.=
|
||||||
|
|
||||||
|
Collect a piece of Castle Coral from the Sunless Sea.=
|
||||||
|
Collect a piece of Cave Coral from the Sunless Sea.=
|
||||||
|
Collect a piece of giant webbing found in a cave.=
|
||||||
|
|
||||||
|
Collect one of the giant red crystals found in large barren caverns.=
|
||||||
|
|
||||||
|
Collect some cave pearls from the wall of a cave.=
|
||||||
|
Collect various different exotic items from various caverns.=
|
||||||
Deep Prospector=
|
Deep Prospector=
|
||||||
Destroy a Gas Seep=
|
Destroy a Gas Seep=
|
||||||
|
|
||||||
|
Plug a crack that mine gas is seeping out of to make the caves just a little bit safer.=
|
||||||
|
|
||||||
|
|
||||||
### dig.lua ###
|
### dig.lua ###
|
||||||
### farming.lua ###
|
|
||||||
### food.lua ###
|
### food.lua ###
|
||||||
### misc.lua ###
|
### misc.lua ###
|
||||||
|
|
||||||
@ -27,9 +47,9 @@ Destroy a Gas Seep=
|
|||||||
|
|
||||||
Plant @1=
|
Plant @1=
|
||||||
Plant All Farmable Underground Plants=
|
Plant All Farmable Underground Plants=
|
||||||
Plant All Fungal Tree Types=
|
Plant All Fungal Trees=
|
||||||
Plant All Primordial Tree Types=
|
Plant All Primordial Trees=
|
||||||
Plant All Underground Tree Types=
|
Plant All Underground Trees=
|
||||||
Plant Black Cap=
|
Plant Black Cap=
|
||||||
Plant Bloodthorn=
|
Plant Bloodthorn=
|
||||||
Plant Cave Wheat=
|
Plant Cave Wheat=
|
||||||
@ -50,6 +70,16 @@ Plant Sweet Pod=
|
|||||||
Plant Torchspine=
|
Plant Torchspine=
|
||||||
Plant Tower Cap=
|
Plant Tower Cap=
|
||||||
Plant Tunnel Tube=
|
Plant Tunnel Tube=
|
||||||
|
Plant a @1 in a place where it can grow.=
|
||||||
|
|
||||||
|
Plant one of every kind of 'tree' found in the caverns above the Sunless Sea.=
|
||||||
|
|
||||||
|
Plant one of every kind of 'tree' found in the caverns beneath the surface.=
|
||||||
|
|
||||||
|
Plant one of every kind of 'tree' from the Primordial caverns.=
|
||||||
|
|
||||||
|
Plant one of every kind of small farmable plant found in the caverns beneath the surface.=
|
||||||
|
|
||||||
|
|
||||||
### food.lua ###
|
### food.lua ###
|
||||||
|
|
||||||
@ -59,26 +89,40 @@ Eat Diced Mushroom=
|
|||||||
Eat a Glowtato=
|
Eat a Glowtato=
|
||||||
Eat a Primordial Fruit=
|
Eat a Primordial Fruit=
|
||||||
|
|
||||||
Eat one of each of the various meals that can be cooked from underground ingredients.=
|
Eat one of each of the various meals that can be cooked or crafted from underground ingredients.=
|
||||||
|
|
||||||
|
Eat one of the strange fruits found only deep underground in the Primordial caverns.=
|
||||||
|
|
||||||
|
It's a basic staple of the underground, but at least it's not Plump Helmet.=
|
||||||
|
|
||||||
One of the many delights that can be crafted only from fungal growths found deep underground.=
|
One of the many delights that can be crafted only from fungal growths found deep underground.=
|
||||||
|
|
||||||
|
Slightly less prestigious than the Primordial Fruit, but still rare and exotic compared to surface world fare.=
|
||||||
|
|
||||||
|
|
||||||
### misc.lua ###
|
### misc.lua ###
|
||||||
|
|
||||||
|
Activating a puzzle seal has produced a breach in the slade foundations of the world.=
|
||||||
|
|
||||||
Capture an Ice Sprite=
|
Capture an Ice Sprite=
|
||||||
|
Decipher the code of the ancients. Do you dare turn the key?=
|
||||||
Detonate Mine Gas=
|
Detonate Mine Gas=
|
||||||
Get Attacked by an Underworld Guardian=
|
Get Attacked by an Underworld Guardian=
|
||||||
Loot 100 Ancient Warrior Bones=
|
Loot 100 Ancient Warrior Bones=
|
||||||
Loot Ancient Warrior Bones=
|
Loot Ancient Warrior Bones=
|
||||||
Punch Veinstone=
|
Punch Veinstone=
|
||||||
|
Punch a vein to hear the heartbeat of the stone.=
|
||||||
Repair 100 Ancient Lanterns=
|
Repair 100 Ancient Lanterns=
|
||||||
Repair an Ancient Lantern=
|
Repair an Ancient Lantern=
|
||||||
Solve a Puzzle Seal=
|
Solve a Puzzle Seal=
|
||||||
Trigger a Slade Breacher=
|
Trigger a Slade Breacher=
|
||||||
|
|
||||||
|
You may not be able to build new ones, but at least you can get the old ones shining brightly again.=
|
||||||
|
|
||||||
You've captured an ice sprite and placed it in a bottle. It dances and sparkles and sheds light through the frosted glass while making a faint tinkling sound. Pretty.=
|
You've captured an ice sprite and placed it in a bottle. It dances and sparkles and sheds light through the frosted glass while making a faint tinkling sound. Pretty.=
|
||||||
|
|
||||||
|
You've discovered something important about those mysterious slade statues in the Underworld.=
|
||||||
|
|
||||||
|
|
||||||
### travel.lua ###
|
### travel.lua ###
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@ if df_dependencies.node_name_glass_bottle then
|
|||||||
title = S("Capture an Ice Sprite"),
|
title = S("Capture an Ice Sprite"),
|
||||||
description = S("You've captured an ice sprite and placed it in a bottle. It dances and sparkles and sheds light through the frosted glass while making a faint tinkling sound. Pretty."),
|
description = S("You've captured an ice sprite and placed it in a bottle. It dances and sparkles and sheds light through the frosted glass while making a faint tinkling sound. Pretty."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^ice_sprites_bottle.png^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^ice_sprites_bottle.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 2,
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "craft",
|
type = "craft",
|
||||||
item = "ice_sprites:ice_sprite_bottle",
|
item = "ice_sprites:ice_sprite_bottle",
|
||||||
@ -19,7 +20,8 @@ df_mapitems.on_veinstone_punched = function(pos, node, puncher, pointed_thing)
|
|||||||
end
|
end
|
||||||
awards.register_achievement("dfcaverns_punched_veinstone", {
|
awards.register_achievement("dfcaverns_punched_veinstone", {
|
||||||
title = S("Punch Veinstone"),
|
title = S("Punch Veinstone"),
|
||||||
description = S(""),
|
description = S("Punch a vein to hear the heartbeat of the stone."),
|
||||||
|
difficulty = 2,
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^((".. df_dependencies.texture_stone .. "^dfcaverns_veins.png)^[resize:32x32)^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^((".. df_dependencies.texture_stone .. "^dfcaverns_veins.png)^[resize:32x32)^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -32,7 +34,8 @@ if minetest.get_modpath("df_underworld_items") then
|
|||||||
end
|
end
|
||||||
awards.register_achievement("dfcaverns_attacked_by_guardian_statue", {
|
awards.register_achievement("dfcaverns_attacked_by_guardian_statue", {
|
||||||
title = S("Get Attacked by an Underworld Guardian"),
|
title = S("Get Attacked by an Underworld Guardian"),
|
||||||
description = S(""),
|
difficulty = 2,
|
||||||
|
description = S("You've discovered something important about those mysterious slade statues in the Underworld."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^dfcaverns_guardian_achievement.png^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^dfcaverns_guardian_achievement.png^dfcaverns_awards_foregroundx32.png",
|
||||||
secret=true,
|
secret=true,
|
||||||
})
|
})
|
||||||
@ -44,7 +47,8 @@ if minetest.get_modpath("df_underworld_items") then
|
|||||||
end
|
end
|
||||||
awards.register_achievement("dfcaverns_solved_puzzle_seal", {
|
awards.register_achievement("dfcaverns_solved_puzzle_seal", {
|
||||||
title = S("Solve a Puzzle Seal"),
|
title = S("Solve a Puzzle Seal"),
|
||||||
description = S(""),
|
difficulty = 4,
|
||||||
|
description = S("Decipher the code of the ancients. Do you dare turn the key?"),
|
||||||
icon = "dfcaverns_puzzle_seal_solvedx32.png^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_puzzle_seal_solvedx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -53,7 +57,8 @@ if minetest.get_modpath("df_underworld_items") then
|
|||||||
end
|
end
|
||||||
awards.register_achievement("dfcaverns_triggered_slade_breacher", {
|
awards.register_achievement("dfcaverns_triggered_slade_breacher", {
|
||||||
title = S("Trigger a Slade Breacher"),
|
title = S("Trigger a Slade Breacher"),
|
||||||
description = S(""),
|
difficulty = 1,
|
||||||
|
description = S("Activating a puzzle seal has produced a breach in the slade foundations of the world."),
|
||||||
icon = "dfcaverns_puzzle_seal_activex32.png^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_puzzle_seal_activex32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
secret=true,
|
secret=true,
|
||||||
})
|
})
|
||||||
@ -63,7 +68,8 @@ if minetest.get_modpath("df_underworld_items") then
|
|||||||
end
|
end
|
||||||
awards.register_achievement("dfcaverns_repaired_lantern", {
|
awards.register_achievement("dfcaverns_repaired_lantern", {
|
||||||
title = S("Repair an Ancient Lantern"),
|
title = S("Repair an Ancient Lantern"),
|
||||||
description = S(""),
|
difficulty = 2,
|
||||||
|
description = S("You may not be able to build new ones, but at least you can get the old ones shining brightly again."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^((dfcaverns_slade_brick.png^(" .. df_dependencies.texture_meselamp .. "^[mask:dfcaverns_lantern_mask.png))^[resize:32x32)^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^((dfcaverns_slade_brick.png^(" .. df_dependencies.texture_meselamp .. "^[mask:dfcaverns_lantern_mask.png))^[resize:32x32)^dfcaverns_awards_foregroundx32.png",
|
||||||
secret=true,
|
secret=true,
|
||||||
})
|
})
|
||||||
|
@ -180,6 +180,7 @@ awards.register_achievement("dfcaverns_visit_tower_cap", {
|
|||||||
description = S("Discover a cavern where Tower Caps grow in the wild."),
|
description = S("Discover a cavern where Tower Caps grow in the wild."),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_towercapx32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_towercapx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_fungiwood", {
|
awards.register_achievement("dfcaverns_visit_fungiwood", {
|
||||||
@ -187,6 +188,7 @@ awards.register_achievement("dfcaverns_visit_fungiwood", {
|
|||||||
description = S("Discover a cavern where Fungiwoods grow in the wild."),
|
description = S("Discover a cavern where Fungiwoods grow in the wild."),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_fungiwoodx32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_fungiwoodx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_goblin_cap", {
|
awards.register_achievement("dfcaverns_visit_goblin_cap", {
|
||||||
@ -194,6 +196,7 @@ awards.register_achievement("dfcaverns_visit_goblin_cap", {
|
|||||||
description = S("Discover a cavern where Goblin Caps grow in the wild."),
|
description = S("Discover a cavern where Goblin Caps grow in the wild."),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_goblincapx32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_goblincapx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_spore_tree", {
|
awards.register_achievement("dfcaverns_visit_spore_tree", {
|
||||||
@ -201,6 +204,7 @@ awards.register_achievement("dfcaverns_visit_spore_tree", {
|
|||||||
description = S("Discover a cavern where Spore Trees grow in the wild."),
|
description = S("Discover a cavern where Spore Trees grow in the wild."),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_sporetreesx32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_sporetreesx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_tunnel_tube", {
|
awards.register_achievement("dfcaverns_visit_tunnel_tube", {
|
||||||
@ -208,6 +212,7 @@ awards.register_achievement("dfcaverns_visit_tunnel_tube", {
|
|||||||
description = S("Discover a cavern where Tunnel Tubes grow in the wild."),
|
description = S("Discover a cavern where Tunnel Tubes grow in the wild."),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_tunneltubex32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_tunneltubex32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_nethercap", {
|
awards.register_achievement("dfcaverns_visit_nethercap", {
|
||||||
@ -215,6 +220,7 @@ awards.register_achievement("dfcaverns_visit_nethercap", {
|
|||||||
description = S("Discover a cavern where @1s grow in the wild.", nethercap_name),
|
description = S("Discover a cavern where @1s grow in the wild.", nethercap_name),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_nethercapx32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_nethercapx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_blood_thorn", {
|
awards.register_achievement("dfcaverns_visit_blood_thorn", {
|
||||||
@ -222,6 +228,7 @@ awards.register_achievement("dfcaverns_visit_blood_thorn", {
|
|||||||
description = S("Discover a cavern where Bloodthorns grow in the wild."),
|
description = S("Discover a cavern where Bloodthorns grow in the wild."),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_bloodthornx32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_bloodthornx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_black_cap", {
|
awards.register_achievement("dfcaverns_visit_black_cap", {
|
||||||
@ -229,6 +236,7 @@ awards.register_achievement("dfcaverns_visit_black_cap", {
|
|||||||
description = S("Discover a cavern where Black Caps grow in the wild."),
|
description = S("Discover a cavern where Black Caps grow in the wild."),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_blackcapx32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_blackcapx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_sunless_sea", {
|
awards.register_achievement("dfcaverns_visit_sunless_sea", {
|
||||||
@ -236,6 +244,7 @@ awards.register_achievement("dfcaverns_visit_sunless_sea", {
|
|||||||
description = S("Discover the giant caverns to which all water from the surface ultimately drain."),
|
description = S("Discover the giant caverns to which all water from the surface ultimately drain."),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_seax32.png^dfcaverns_awards_cavern_towercapx32.png^dfcaverns_awards_cavern_fungiwoodx32.png^dfcaverns_awards_cavern_goblincapx32.png^dfcaverns_awards_cavern_sporetreesx32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_seax32.png^dfcaverns_awards_cavern_towercapx32.png^dfcaverns_awards_cavern_fungiwoodx32.png^dfcaverns_awards_cavern_goblincapx32.png^dfcaverns_awards_cavern_sporetreesx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_upper_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@ -245,6 +254,7 @@ awards.register_achievement("dfcaverns_visit_oil_sea", {
|
|||||||
description = S("Discover a cavern containing oil deep underground."),
|
description = S("Discover a cavern containing oil deep underground."),
|
||||||
icon =cavern_background.."^dfcaverns_awards_cavern_oilx32.png^dfcaverns_awards_foregroundx32.png",
|
icon =cavern_background.."^dfcaverns_awards_cavern_oilx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_middle_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_middle_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 2,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_lava_sea", {
|
awards.register_achievement("dfcaverns_visit_lava_sea", {
|
||||||
@ -252,6 +262,7 @@ awards.register_achievement("dfcaverns_visit_lava_sea", {
|
|||||||
description = S("Discover the sea of magma that volcanoes draw from."),
|
description = S("Discover the sea of magma that volcanoes draw from."),
|
||||||
icon = cavern_background.."^dfcaverns_awards_cavern_lavax32.png^dfcaverns_awards_foregroundx32.png",
|
icon = cavern_background.."^dfcaverns_awards_cavern_lavax32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_middle_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_middle_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 2,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_underworld", {
|
awards.register_achievement("dfcaverns_visit_underworld", {
|
||||||
@ -259,6 +270,7 @@ awards.register_achievement("dfcaverns_visit_underworld", {
|
|||||||
description = S("Discover the ancient caverns at the foundations of the world."),
|
description = S("Discover the ancient caverns at the foundations of the world."),
|
||||||
icon ="dfcaverns_awards_cavern_underworldx32.png^dfcaverns_awards_foregroundx32.png",
|
icon ="dfcaverns_awards_cavern_underworldx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_middle_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_middle_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 2,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@ -269,6 +281,7 @@ awards.register_achievement("dfcaverns_visit_primordial_jungle", {
|
|||||||
icon = "dfcaverns_awards_cavern_backgroundx32.png^(dfcaverns_awards_cavern_background_stalactitex32.png^[multiply:#127a0b)^dfcaverns_awards_cavern_background_platformx32.png^dfcaverns_awards_cavern_junglex32.png^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_cavern_backgroundx32.png^(dfcaverns_awards_cavern_background_stalactitex32.png^[multiply:#127a0b)^dfcaverns_awards_cavern_background_platformx32.png^dfcaverns_awards_cavern_junglex32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
secret = true,
|
secret = true,
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_primordial_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_primordial_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 3,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_primordial_fungal", {
|
awards.register_achievement("dfcaverns_visit_primordial_fungal", {
|
||||||
@ -277,6 +290,7 @@ awards.register_achievement("dfcaverns_visit_primordial_fungal", {
|
|||||||
icon = cavern_background .. "^dfcaverns_awards_cavern_fungalx32.png^dfcaverns_awards_cavern_primordial_mushx32.png^dfcaverns_awards_foregroundx32.png",
|
icon = cavern_background .. "^dfcaverns_awards_cavern_fungalx32.png^dfcaverns_awards_cavern_primordial_mushx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
secret = true,
|
secret = true,
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_primordial_biomes", "dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_primordial_biomes", "dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 3,
|
||||||
})
|
})
|
||||||
|
|
||||||
local stone_background = "([combine:32x32:0,0=" .. df_dependencies.texture_cobble .. ":0,16=" .. df_dependencies.texture_cobble
|
local stone_background = "([combine:32x32:0,0=" .. df_dependencies.texture_cobble .. ":0,16=" .. df_dependencies.texture_cobble
|
||||||
@ -288,6 +302,7 @@ awards.register_achievement("dfcaverns_visit_chasm", {
|
|||||||
description = S("Discover a gigantic underground natural chasm."),
|
description = S("Discover a gigantic underground natural chasm."),
|
||||||
icon = stone_background .. "^dfcaverns_awards_cavern_chasmx32.png^dfcaverns_awards_foregroundx32.png",
|
icon = stone_background .. "^dfcaverns_awards_cavern_chasmx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_pit", {
|
awards.register_achievement("dfcaverns_visit_pit", {
|
||||||
@ -295,6 +310,7 @@ awards.register_achievement("dfcaverns_visit_pit", {
|
|||||||
description = S("Discover a deep natural sinkhole."),
|
description = S("Discover a deep natural sinkhole."),
|
||||||
icon = stone_background .. "^dfcaverns_awards_cavern_pitx32.png^dfcaverns_awards_foregroundx32.png",
|
icon = stone_background .. "^dfcaverns_awards_cavern_pitx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
_dfcaverns_achievements = {"dfcaverns_visit_all_caverns"},
|
_dfcaverns_achievements = {"dfcaverns_visit_all_caverns"},
|
||||||
|
difficulty = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
@ -303,6 +319,7 @@ awards.register_achievement("dfcaverns_visit_all_upper_biomes", {
|
|||||||
title = S("Discover All Fungal Cavern Types"),
|
title = S("Discover All Fungal Cavern Types"),
|
||||||
description = S("Discover examples of all of the fungal cavern biomes."),
|
description = S("Discover examples of all of the fungal cavern biomes."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 1 / df_achievements.get_child_achievement_count("dfcaverns_visit_all_upper_biomes"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
achievement_name="dfcaverns_visit_all_upper_biomes",
|
achievement_name="dfcaverns_visit_all_upper_biomes",
|
||||||
@ -314,6 +331,7 @@ awards.register_achievement("dfcaverns_visit_all_middle_biomes", {
|
|||||||
title = S("Discover All Overworld Cavern Types"),
|
title = S("Discover All Overworld Cavern Types"),
|
||||||
description = S("Discover all of the major types of cavern environments between the Sunless Sea and the foundations of the world."),
|
description = S("Discover all of the major types of cavern environments between the Sunless Sea and the foundations of the world."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 2 / df_achievements.get_child_achievement_count("dfcaverns_visit_all_middle_biomes"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
achievement_name="dfcaverns_visit_all_middle_biomes",
|
achievement_name="dfcaverns_visit_all_middle_biomes",
|
||||||
@ -325,6 +343,7 @@ awards.register_achievement("dfcaverns_visit_all_primordial_biomes", {
|
|||||||
title = S("Discover all Primordial Cavern Types"),
|
title = S("Discover all Primordial Cavern Types"),
|
||||||
description = S("Discover all of the major types of cavern below the foundations of the world."),
|
description = S("Discover all of the major types of cavern below the foundations of the world."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 3 / df_achievements.get_child_achievement_count("dfcaverns_visit_all_primordial_biomes"),
|
||||||
secret = true,
|
secret = true,
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
@ -337,6 +356,7 @@ awards.register_achievement("dfcaverns_visit_all_caverns", {
|
|||||||
title = S("Discover All Underground Cavern Types"),
|
title = S("Discover All Underground Cavern Types"),
|
||||||
description = S("Discover all major kinds of giant cavern environment."),
|
description = S("Discover all major kinds of giant cavern environment."),
|
||||||
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 4 / df_achievements.get_child_achievement_count("dfcaverns_visit_all_caverns"),
|
||||||
trigger = {
|
trigger = {
|
||||||
type="dfcaverns_achievements",
|
type="dfcaverns_achievements",
|
||||||
achievement_name="dfcaverns_visit_all_caverns",
|
achievement_name="dfcaverns_visit_all_caverns",
|
||||||
@ -350,5 +370,6 @@ awards.register_achievement("dfcaverns_visit_glowing_pit", {
|
|||||||
title = S("Discover a Glowing Pit"),
|
title = S("Discover a Glowing Pit"),
|
||||||
description = S("Discover a glowing pit in the slade foundations of the world."),
|
description = S("Discover a glowing pit in the slade foundations of the world."),
|
||||||
icon ="dfcaverns_pit_plasma_static.png^dfcaverns_awards_foregroundx32.png",
|
icon ="dfcaverns_pit_plasma_static.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
difficulty = 2,
|
||||||
secret = true,
|
secret = true,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user