diff --git a/df_caverns/screenshots/mysterious_seal.jpg b/df_caverns/screenshots/mysterious_seal.jpg new file mode 100644 index 0000000..83a9fcd Binary files /dev/null and b/df_caverns/screenshots/mysterious_seal.jpg differ diff --git a/df_caverns/screenshots/primordial_fungal.jpg b/df_caverns/screenshots/primordial_fungal.jpg new file mode 100644 index 0000000..6f3056f Binary files /dev/null and b/df_caverns/screenshots/primordial_fungal.jpg differ diff --git a/df_caverns/screenshots/primordial_jungle.jpg b/df_caverns/screenshots/primordial_jungle.jpg new file mode 100644 index 0000000..2fb2146 Binary files /dev/null and b/df_caverns/screenshots/primordial_jungle.jpg differ diff --git a/df_caverns/settingtypes.txt b/df_caverns/settingtypes.txt index 1f19c82..0c4dd05 100644 --- a/df_caverns/settingtypes.txt +++ b/df_caverns/settingtypes.txt @@ -39,6 +39,18 @@ dfcaverns_underworld_level (Underworld level) int -3200 #Set this to 0 to disable glowing pit generation entirely. dfcaverns_underworld_glowing_pit_mapblocks(Average pit spacing measured in mapblocks) int 8 +[Underworld feature HUD] + +dfcaverns_show_pits_in_hud (Show pit locations in HUD) bool true +dfcaverns_pit_hud_requires_mapping_kit (Require mapping kit to show pits) bool true +dfcaverns_pit_discovery_range (Pit discovery range) int 60 +dfcaverns_pit_visibility_range (Pit visibility range) int 500 + +dfcaverns_show_seals_in_hud (Seal locations in HUD) bool true +dfcaverns_seal_hud_requires_mapping_kit (Require mapping kit to show seals) bool true +dfcaverns_seal_discovery_range (Seal discovery range) int 10 +dfcaverns_seal_visibility_range (Seal visibility range) int 200 + [Primordial] dfcaverns_enable_primordial (Generate primordial caverns) bool true dfcaverns_primordial_max (Upper limit of primordial caverns) int -3393 diff --git a/df_caverns/underworld.lua b/df_caverns/underworld.lua index 49171fb..14f0115 100644 --- a/df_caverns/underworld.lua +++ b/df_caverns/underworld.lua @@ -18,22 +18,22 @@ if named_waypoints_path then pit_waypoint_def.visibility_requires_item = "map:mapping_kit" end if minetest.settings:get_bool("dfcaverns_show_pits_in_hud", true) then - pit_waypoint_def.visibility_volume_radius = tonumber(minetest.settings:get("dfcaverns_pit_visibility_range")) or 300 + pit_waypoint_def.visibility_volume_radius = tonumber(minetest.settings:get("dfcaverns_pit_visibility_range")) or 500 pit_waypoint_def.on_discovery = named_waypoints.default_discovery_popup end named_waypoints.register_named_waypoints("glowing_pits", pit_waypoint_def) local seal_waypoint_def = { - default_name = S("A mysterious seal"), - default_color = 0xFF88FF, - discovery_volume_radius = tonumber(minetest.settings:get("dfcaverns_pit_discovery_range")) or 20, + default_name = S("Mysterious seal"), + default_color = 0x9C2233, + discovery_volume_radius = tonumber(minetest.settings:get("dfcaverns_seal_discovery_range")) or 10, } - if minetest.settings:get_bool("dfcaverns_pit_hud_requires_mapping_kit", true) + if minetest.settings:get_bool("dfcaverns_seal_hud_requires_mapping_kit", true) and minetest.registered_items["map:mapping_kit"] then seal_waypoint_def.visibility_requires_item = "map:mapping_kit" end - if minetest.settings:get_bool("dfcaverns_show_pits_in_hud", true) then - seal_waypoint_def.visibility_volume_radius = tonumber(minetest.settings:get("dfcaverns_pit_visibility_range")) or 300 + if minetest.settings:get_bool("dfcaverns_show_seals_in_hud", true) then + seal_waypoint_def.visibility_volume_radius = tonumber(minetest.settings:get("dfcaverns_seal_visibility_range")) or 200 seal_waypoint_def.on_discovery = named_waypoints.default_discovery_popup end named_waypoints.register_named_waypoints("puzzle_seals", seal_waypoint_def) diff --git a/df_underworld_items/locale/it.po b/df_underworld_items/locale/it.po index 8ad5eda..87de49e 100644 --- a/df_underworld_items/locale/it.po +++ b/df_underworld_items/locale/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: dfcaverns module's Italian locale\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-01-25 13:52-0700\n" +"POT-Creation-Date: 2020-01-26 21:11-0700\n" "PO-Revision-Date: 2017-08-17 23:01+0100\n" "Last-Translator: H4mlet \n" "Language-Team: ITALIANO\n" @@ -97,23 +97,23 @@ msgstr "" msgid "Active Slade Breacher" msgstr "" -#: df_underworld_items\puzzle_seal.lua:336 -msgid "A breach in the Slade" +#: df_underworld_items\puzzle_seal.lua:340 +msgid "Breach in the Slade" msgstr "" -#: df_underworld_items\puzzle_seal.lua:347 +#: df_underworld_items\puzzle_seal.lua:351 msgid "Inscribed Slade Block" msgstr "" -#: df_underworld_items\puzzle_seal.lua:370 +#: df_underworld_items\puzzle_seal.lua:374 msgid "Slade Capstone" msgstr "" -#: df_underworld_items\puzzle_seal.lua:439 +#: df_underworld_items\puzzle_seal.lua:443 msgid "Slade Block Stair" msgstr "" -#: df_underworld_items\puzzle_seal.lua:440 +#: df_underworld_items\puzzle_seal.lua:444 msgid "Slade Block Slab" msgstr "" diff --git a/df_underworld_items/locale/template.pot b/df_underworld_items/locale/template.pot index 91b9f52..b4ec046 100644 --- a/df_underworld_items/locale/template.pot +++ b/df_underworld_items/locale/template.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-01-25 13:52-0700\n" +"POT-Creation-Date: 2020-01-26 21:11-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -96,23 +96,23 @@ msgstr "" msgid "Active Slade Breacher" msgstr "" -#: df_underworld_items\puzzle_seal.lua:336 -msgid "A breach in the Slade" +#: df_underworld_items\puzzle_seal.lua:340 +msgid "Breach in the Slade" msgstr "" -#: df_underworld_items\puzzle_seal.lua:347 +#: df_underworld_items\puzzle_seal.lua:351 msgid "Inscribed Slade Block" msgstr "" -#: df_underworld_items\puzzle_seal.lua:370 +#: df_underworld_items\puzzle_seal.lua:374 msgid "Slade Capstone" msgstr "" -#: df_underworld_items\puzzle_seal.lua:439 +#: df_underworld_items\puzzle_seal.lua:443 msgid "Slade Block Stair" msgstr "" -#: df_underworld_items\puzzle_seal.lua:440 +#: df_underworld_items\puzzle_seal.lua:444 msgid "Slade Block Slab" msgstr "" diff --git a/df_underworld_items/puzzle_seal.lua b/df_underworld_items/puzzle_seal.lua index 1e8c5a9..a0475fa 100644 --- a/df_underworld_items/puzzle_seal.lua +++ b/df_underworld_items/puzzle_seal.lua @@ -337,7 +337,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) local pos = minetest.string_to_pos(pos_string) if test_key(pos) then if named_waypoints_path then - named_waypoints.update_waypoint("puzzle_seals", pos, {name=S("A breach in the Slade")}) + named_waypoints.update_waypoint("puzzle_seals", pos, {name=S("Breach in the Slade"), color=0xFA264F}) end minetest.set_node(pos, {name="df_underworld_items:digging_seal", param2 = math.random(1,4)-1}) minetest.get_node_timer(pos):start(4) diff --git a/guide.md b/guide.md index f499edd..16affc0 100644 --- a/guide.md +++ b/guide.md @@ -208,4 +208,16 @@ Just as ominously, the ancient bones of long-dead warriors are scattered amidst ![Glowing pit](./df_caverns/screenshots/glowing_pit.jpg) -Also scattered around the Underworld are the occasional twisting shaft leading down into the Slade. The edges of these shafts are encrusted with glowing purple crystals and the bottoms of these shafts are filled with some form of shimmering liquid that destroys whatever tries to penetrate it. \ No newline at end of file +Also scattered around the Underworld are the occasional twisting shaft leading down into the Slade. The edges of these shafts are encrusted with glowing purple crystals and the bottoms of these shafts are filled with some form of shimmering liquid that destroys whatever tries to penetrate it. + +There may be other ways to get through the Slade, but the ancient warriors fought hard to seal them... + +![Mysterious seal](./df_caverns/screenshots/mysterious_seal.jpg) + +# Primordial Deeps + +What mysteries lie below? Perhaps a realm that time itself has forgotten, with life from a world that no longer exists? + +And why was it locked away? + +![Primordial Fungal](./df_caverns/screenshots/primordial_fungal.jpg) ![Primordial Jungle](./df_caverns/screenshots/primordial_jungle.jpg)