all achievements have icons now. Also add another sound to the magma sea ambience
@ -5,10 +5,12 @@ local steel_shovel = df_dependencies.texture_tool_steelshovel
|
|||||||
|
|
||||||
local crossed_pick_and_shovel = "((("..steel_shovel.."^[transformFX)^"..steel_pick..")^[resize:32x32)"
|
local crossed_pick_and_shovel = "((("..steel_shovel.."^[transformFX)^"..steel_pick..")^[resize:32x32)"
|
||||||
|
|
||||||
|
local gas_seep = "(("..df_dependencies.texture_stone.."^"..df_dependencies.texture_mineral_coal.."^[combine:16x80:0,-16=crack_anylength.png)^[resize:32x32)"
|
||||||
|
|
||||||
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(""),
|
||||||
--icon =,
|
icon = "dfcaverns_awards_backgroundx32.png^" .. gas_seep .."^dfcaverns_awards_foregroundx32.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "dig",
|
type = "dig",
|
||||||
node = "mine_gas:gas_seep",
|
node = "mine_gas:gas_seep",
|
||||||
@ -66,7 +68,7 @@ awards.register_achievement("dfcaverns_castle_coral", {
|
|||||||
awards.register_achievement("dfcaverns_ruby_crystals", {
|
awards.register_achievement("dfcaverns_ruby_crystals", {
|
||||||
title = S("Collect Giant Red Crystal"),
|
title = S("Collect Giant Red Crystal"),
|
||||||
description = S(""),
|
description = S(""),
|
||||||
--icon =,
|
icon ="dfcaverns_awards_backgroundx32.png^dfcaverns_big_red_crystal_achievement.png^dfcaverns_awards_foregroundx32.png",
|
||||||
trigger = {
|
trigger = {
|
||||||
type = "dig",
|
type = "dig",
|
||||||
node = "group:dfcaverns_big_crystal",
|
node = "group:dfcaverns_big_crystal",
|
||||||
|
@ -25,11 +25,11 @@ local plant_node_achievements =
|
|||||||
["df_trees:torchspine_ember"] = {achievement="dfcaverns_plant_torchspine", title=S("Plant Torchspine"), desc=S(""), icon=make_texture("dfcaverns_torchspine_achievement.png", coal_ore)},
|
["df_trees:torchspine_ember"] = {achievement="dfcaverns_plant_torchspine", title=S("Plant Torchspine"), desc=S(""), icon=make_texture("dfcaverns_torchspine_achievement.png", coal_ore)},
|
||||||
["df_trees:spindlestem_seedling"] = {achievement="dfcaverns_plant_spindlestem", title=S("Plant Spindlestem"), desc=S(""), icon=make_texture("dfcaverns_spindlestem_achievement.png")},
|
["df_trees:spindlestem_seedling"] = {achievement="dfcaverns_plant_spindlestem", title=S("Plant Spindlestem"), desc=S(""), icon=make_texture("dfcaverns_spindlestem_achievement.png")},
|
||||||
["df_trees:blood_thorn"] = {achievement="dfcaverns_plant_bloodthorn", title=S("Plant Bloodthorn"), desc=S(""), icon=make_texture("dfcaverns_bloodthorn_achievement.png")},
|
["df_trees:blood_thorn"] = {achievement="dfcaverns_plant_bloodthorn", title=S("Plant Bloodthorn"), desc=S(""), icon=make_texture("dfcaverns_bloodthorn_achievement.png")},
|
||||||
["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")},
|
["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,},
|
||||||
["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")},
|
["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,},
|
||||||
["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")},
|
["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,},
|
||||||
["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")},
|
["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,},
|
||||||
["df_primordial_items:mush_sapling"] = {achievement="dfcaverns_plant_primordial_mushroom", title=S("Plant Primordial Mushroom"), desc=S(""), icon=make_texture("dfcaverns_mush_sapling.png")},
|
["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,},
|
||||||
["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")},
|
["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")},
|
||||||
["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")},
|
["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")},
|
||||||
["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")},
|
["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")},
|
||||||
@ -85,30 +85,48 @@ for _, def in pairs(plant_node_achievements) do
|
|||||||
title = def.title,
|
title = def.title,
|
||||||
description = def.desc,
|
description = def.desc,
|
||||||
icon = def.icon,
|
icon = def.icon,
|
||||||
|
secret = def.secret,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_plant_all_upper_trees", {
|
awards.register_achievement("dfcaverns_plant_all_upper_trees", {
|
||||||
title = S("Plant All Fungal Tree Types"),
|
title = S("Plant All Fungal Tree Types"),
|
||||||
description = S(""),
|
description = S(""),
|
||||||
--icon =,
|
icon = "dfcaverns_awards_backgroundx32.png^"
|
||||||
|
.."(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",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_plant_all_primordial", {
|
awards.register_achievement("dfcaverns_plant_all_primordial", {
|
||||||
title = S("Plant All Primordial Tree Types"),
|
title = S("Plant All Primordial Tree Types"),
|
||||||
description = S(""),
|
description = S(""),
|
||||||
--icon =,
|
icon = "dfcaverns_awards_backgroundx32.png^"
|
||||||
|
.."(dfcaverns_awards_cavern_primordial_mushx32.png^dfcaverns_awards_cavern_junglex32.png)^[transformFX"
|
||||||
|
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
secret = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_plant_all_underground_trees", {
|
awards.register_achievement("dfcaverns_plant_all_underground_trees", {
|
||||||
title = S("Plant All Underground Tree Types"),
|
title = S("Plant All Underground Tree Types"),
|
||||||
description = S(""),
|
description = S(""),
|
||||||
--icon =,
|
icon = "dfcaverns_awards_backgroundx32.png^"
|
||||||
|
.."(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"
|
||||||
|
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_plant_all_farmables", {
|
awards.register_achievement("dfcaverns_plant_all_farmables", {
|
||||||
title = S("Plant All Farmable Underground Plants"),
|
title = S("Plant All Farmable Underground Plants"),
|
||||||
description = S(""),
|
description = S(""),
|
||||||
--icon =,
|
icon = "dfcaverns_awards_backgroundx32.png"
|
||||||
|
.."^[combine:32x32:0,0="..soil_texture
|
||||||
|
.."^[combine:32x32:0,16="..soil_texture
|
||||||
|
.."^[combine:32x32:16,0="..soil_texture
|
||||||
|
.."^[combine:32x32:16,16="..soil_texture
|
||||||
|
.."^[combine:32x32:0,0=dfcaverns_cave_wheat_8.png"
|
||||||
|
.."^[combine:32x32:16,0=dfcaverns_dimple_cup_4.png"
|
||||||
|
.."^[combine:32x32:8,8=dfcaverns_plump_helmet_achievement.png"
|
||||||
|
.."^[combine:32x32:0,16=dfcaverns_sweet_pod_6.png"
|
||||||
|
.."^[combine:32x32:16,16=dfcaverns_quarry_bush_5.png"
|
||||||
|
.."^[combine:32x32:16,15="..hoe_texture.."^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
@ -23,6 +23,19 @@ for itemname, def in pairs(minetest.registered_items) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local bread_def = minetest.registered_items["df_farming:cave_bread"]
|
||||||
|
awards.register_achievement("dfcaverns_meal_dwarven_bread", {
|
||||||
|
title = S("Eat @1", bread_def.description),
|
||||||
|
description = S(""),
|
||||||
|
icon = "dfcaverns_awards_backgroundx32.png^dfcaverns_prepared_food13x32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
trigger = {
|
||||||
|
type = "eat",
|
||||||
|
item = "df_farming:cave_bread",
|
||||||
|
target = 1,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
table.insert(all_meals, "dfcaverns_meal_dwarven_bread")
|
||||||
|
|
||||||
local test_list = df_achievements.test_list
|
local test_list = df_achievements.test_list
|
||||||
-- name is the player name
|
-- name is the player name
|
||||||
-- def is the award def.
|
-- def is the award def.
|
||||||
@ -38,7 +51,7 @@ end)
|
|||||||
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 from underground ingredients."),
|
||||||
icon ="dfcaverns_awards_backgroundx32.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",
|
||||||
})
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("df_primordial_items") then
|
if minetest.get_modpath("df_primordial_items") then
|
||||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1023 B |
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 140 B |
BIN
df_achievements/textures/dfcaverns_awards_cavern_chasmx32.png
Normal file
After Width: | Height: | Size: 335 B |
BIN
df_achievements/textures/dfcaverns_awards_cavern_fungalx32.png
Normal file
After Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 180 B After Width: | Height: | Size: 174 B |
BIN
df_achievements/textures/dfcaverns_awards_cavern_junglex32.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
df_achievements/textures/dfcaverns_awards_cavern_lavax32.png
Normal file
After Width: | Height: | Size: 742 B |
BIN
df_achievements/textures/dfcaverns_awards_cavern_oilx32.png
Normal file
After Width: | Height: | Size: 255 B |
BIN
df_achievements/textures/dfcaverns_awards_cavern_pitx32.png
Normal file
After Width: | Height: | Size: 249 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@ -178,121 +178,128 @@ local cavern_background = "dfcaverns_awards_cavern_backgroundx32.png^dfcaverns_a
|
|||||||
awards.register_achievement("dfcaverns_visit_tower_cap", {
|
awards.register_achievement("dfcaverns_visit_tower_cap", {
|
||||||
title = S("Discover Tower Caps"),
|
title = S("Discover Tower Caps"),
|
||||||
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",
|
icon =cavern_background.."^dfcaverns_awards_cavern_towercapx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_fungiwood", {
|
awards.register_achievement("dfcaverns_visit_fungiwood", {
|
||||||
title = S("Discover Fungiwood"),
|
title = S("Discover 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",
|
icon =cavern_background.."^dfcaverns_awards_cavern_fungiwoodx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_goblin_cap", {
|
awards.register_achievement("dfcaverns_visit_goblin_cap", {
|
||||||
title = S("Discover Goblin Caps"),
|
title = S("Discover Goblin Caps"),
|
||||||
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",
|
icon =cavern_background.."^dfcaverns_awards_cavern_goblincapx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_spore_tree", {
|
awards.register_achievement("dfcaverns_visit_spore_tree", {
|
||||||
title = S("Discover Spore Trees"),
|
title = S("Discover Spore Trees"),
|
||||||
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",
|
icon =cavern_background.."^dfcaverns_awards_cavern_sporetreesx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_tunnel_tube", {
|
awards.register_achievement("dfcaverns_visit_tunnel_tube", {
|
||||||
title = S("Discover Tunnel Tubes"),
|
title = S("Discover Tunnel Tubes"),
|
||||||
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",
|
icon =cavern_background.."^dfcaverns_awards_cavern_tunneltubex32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_nethercap", {
|
awards.register_achievement("dfcaverns_visit_nethercap", {
|
||||||
title = S("Discover @1s", nethercap_name),
|
title = S("Discover @1s", nethercap_name),
|
||||||
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",
|
icon =cavern_background.."^dfcaverns_awards_cavern_nethercapx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_blood_thorn", {
|
awards.register_achievement("dfcaverns_visit_blood_thorn", {
|
||||||
title = S("Discover Bloodthorns"),
|
title = S("Discover Bloodthorns"),
|
||||||
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",
|
icon =cavern_background.."^dfcaverns_awards_cavern_bloodthornx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_black_cap", {
|
awards.register_achievement("dfcaverns_visit_black_cap", {
|
||||||
title = S("Discover Black Caps"),
|
title = S("Discover Black Caps"),
|
||||||
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",
|
icon =cavern_background.."^dfcaverns_awards_cavern_blackcapx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_sunless_sea", {
|
awards.register_achievement("dfcaverns_visit_sunless_sea", {
|
||||||
title = S("Discover the Sunless Sea"),
|
title = S("Discover the 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",
|
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",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_all_upper_biomes", {
|
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 =,
|
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_oil_sea", {
|
awards.register_achievement("dfcaverns_visit_oil_sea", {
|
||||||
title = S("Discover the Oil Sea"),
|
title = S("Discover the Oil Sea"),
|
||||||
description = S("Discover a cavern containing oil deep underground."),
|
description = S("Discover a cavern containing oil deep underground."),
|
||||||
--icon =,
|
icon =cavern_background.."^dfcaverns_awards_cavern_oilx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_lava_sea", {
|
awards.register_achievement("dfcaverns_visit_lava_sea", {
|
||||||
title = S("Discover the Magma Sea"),
|
title = S("Discover the Magma Sea"),
|
||||||
description = S("Discover the sea of magma that volcanoes draw from."),
|
description = S("Discover the sea of magma that volcanoes draw from."),
|
||||||
--icon =,
|
icon = cavern_background.."^dfcaverns_awards_cavern_lavax32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_underworld", {
|
awards.register_achievement("dfcaverns_visit_underworld", {
|
||||||
title = S("Discover the Underworld"),
|
title = S("Discover the 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 =,
|
icon ="dfcaverns_awards_cavern_underworldx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_all_middle_biomes", {
|
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 =,
|
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_primordial_jungle", {
|
awards.register_achievement("dfcaverns_visit_primordial_jungle", {
|
||||||
title = S("Discover the Primordial Jungle"),
|
title = S("Discover the Primordial Jungle"),
|
||||||
description = S("Discover the lost jungles below the foundations of the world."),
|
description = S("Discover the lost jungles below the foundations of the world."),
|
||||||
--icon =,
|
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,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_primordial_fungal", {
|
awards.register_achievement("dfcaverns_visit_primordial_fungal", {
|
||||||
title = S("Discover the Primordial Fungus"),
|
title = S("Discover the Primordial Fungus"),
|
||||||
description = S("Discover the fungus-ridden caverns below the foundations of the world."),
|
description = S("Discover the fungus-ridden caverns below the foundations of the world."),
|
||||||
--icon =,
|
icon = cavern_background .. "^dfcaverns_awards_cavern_fungalx32.png^dfcaverns_awards_cavern_primordial_mushx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
secret = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_all_primordial_biomes", {
|
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 =,
|
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
||||||
|
secret = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local stone_background = "([combine:32x32:0,0=" .. df_dependencies.texture_cobble .. ":0,16=" .. df_dependencies.texture_cobble
|
||||||
|
.. ":16,0=" .. df_dependencies.texture_cobble .. ":16,16=" .. df_dependencies.texture_cobble .. ")"
|
||||||
|
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_chasm", {
|
awards.register_achievement("dfcaverns_visit_chasm", {
|
||||||
title = S("Discover a Deep Chasm"),
|
title = S("Discover a Deep Chasm"),
|
||||||
description = S("Discover a gigantic underground natural chasm."),
|
description = S("Discover a gigantic underground natural chasm."),
|
||||||
--icon =,
|
icon = stone_background .. "^dfcaverns_awards_cavern_chasmx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_pit", {
|
awards.register_achievement("dfcaverns_visit_pit", {
|
||||||
title = S("Discover a Deep Sinkhole"),
|
title = S("Discover a Deep Sinkhole"),
|
||||||
description = S("Discover a deep natural sinkhole."),
|
description = S("Discover a deep natural sinkhole."),
|
||||||
--icon =,
|
icon = stone_background .. "^dfcaverns_awards_cavern_pitx32.png^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
awards.register_achievement("dfcaverns_visit_all_caverns", {
|
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 =,
|
icon = "dfcaverns_awards_backgroundx32.png^"..df_dependencies.texture_mapping_kit.."^dfcaverns_awards_foregroundx32.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- other places
|
-- other places
|
||||||
@ -300,5 +307,6 @@ awards.register_achievement("dfcaverns_visit_all_caverns", {
|
|||||||
awards.register_achievement("dfcaverns_visit_glowing_pit", {
|
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 =,
|
icon ="dfcaverns_pit_plasma_static.png^dfcaverns_awards_foregroundx32.png",
|
||||||
|
secret = true,
|
||||||
})
|
})
|
||||||
|
@ -49,4 +49,4 @@ creepywhisper_ambient - https://freesound.org/people/ohnobones/sounds/412769/
|
|||||||
bangkok frog - https://freesound.org/people/WIM/sounds/9099/
|
bangkok frog - https://freesound.org/people/WIM/sounds/9099/
|
||||||
black casqued hornbill 5-https://freesound.org/people/ERH/sounds/56549/
|
black casqued hornbill 5-https://freesound.org/people/ERH/sounds/56549/
|
||||||
exotic birds sound - https://freesound.org/people/bolkmar/sounds/423804/
|
exotic birds sound - https://freesound.org/people/bolkmar/sounds/423804/
|
||||||
|
avalanche - https://freesound.org/people/mystiscool/sounds/7141/
|
||||||
|
BIN
df_ambience/sounds/dfcaverns_avalanche.ogg
Normal file
@ -114,7 +114,7 @@ df_ambience.add_set({
|
|||||||
|
|
||||||
|
|
||||||
-- Oil sea
|
-- Oil sea
|
||||||
-- No soundset here, gas seeps make noise and that's valuable information for the player so don't disorient them with random noises
|
-- No soundset here
|
||||||
|
|
||||||
-- Lava sea
|
-- Lava sea
|
||||||
|
|
||||||
@ -125,6 +125,7 @@ df_ambience.add_set({
|
|||||||
nodes = {lava_source},
|
nodes = {lava_source},
|
||||||
sounds = {
|
sounds = {
|
||||||
{name = "dfcaverns_massive_digging", gain = 1.0},
|
{name = "dfcaverns_massive_digging", gain = 1.0},
|
||||||
|
{name = "dfcaverns_avalanche", gain = 1.0},
|
||||||
},
|
},
|
||||||
sound_check = function(def)
|
sound_check = function(def)
|
||||||
return df_caverns.get_biome(def.pos) == "lava_sea"
|
return df_caverns.get_biome(def.pos) == "lava_sea"
|
||||||
|
@ -52,6 +52,8 @@ df_dependencies.texture_tool_steelpick = select_required({default="default_tool_
|
|||||||
df_dependencies.texture_tool_steelshovel = select_required({default="default_tool_steelshovel.png", mcl_farming="default_tool_steelshovel.png"})
|
df_dependencies.texture_tool_steelshovel = select_required({default="default_tool_steelshovel.png", mcl_farming="default_tool_steelshovel.png"})
|
||||||
df_dependencies.texture_farming_soil = select_required({default="(default_dirt.png^farming_soil.png)", mcl_farming="mcl_farming_farmland_dry.png"})
|
df_dependencies.texture_farming_soil = select_required({default="(default_dirt.png^farming_soil.png)", mcl_farming="mcl_farming_farmland_dry.png"})
|
||||||
|
|
||||||
|
df_dependencies.texture_mapping_kit = select_required({default="map_mapping_kit.png", mcl_maps="mcl_maps_map_filled.png"})
|
||||||
|
|
||||||
df_dependencies.nethercap_name = S("Nethercap")
|
df_dependencies.nethercap_name = S("Nethercap")
|
||||||
if minetest.get_modpath("mcl_mapgen_core") then
|
if minetest.get_modpath("mcl_mapgen_core") then
|
||||||
-- since there's a whole layer called the Nether in Mineclone and it has its own mushrooms, rename
|
-- since there's a whole layer called the Nether in Mineclone and it has its own mushrooms, rename
|
||||||
|