diff --git a/df_caverns/underworld.lua b/df_caverns/underworld.lua index 5d194d2..b422e2c 100644 --- a/df_caverns/underworld.lua +++ b/df_caverns/underworld.lua @@ -452,7 +452,7 @@ minetest.register_on_generated(function(minp, maxp, seed) building.pos.y = floor_height --minetest.chat_send_all("placing " .. building.building_type .. " at " .. minetest.pos_to_string(building.pos)) if building.building_type == "oubliette" then - mapgen_helper.place_schematic_on_data(data, data_param2, area, building.pos, oubliette_schematic) + mapgen_helper.place_schematic_on_data(data, data_param2, area, building.pos, oubliette_schematic) elseif building.building_type == "open oubliette" then mapgen_helper.place_schematic_on_data(data, data_param2, area, building.pos, oubliette_schematic, 0, {["df_underworld_items:slade_seal"] = "air"}) elseif building.building_type == "lamppost" then diff --git a/df_underworld_items/puzzle_seal.lua b/df_underworld_items/puzzle_seal.lua index a0475fa..5c78072 100644 --- a/df_underworld_items/puzzle_seal.lua +++ b/df_underworld_items/puzzle_seal.lua @@ -337,8 +337,9 @@ 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("Breach in the Slade"), color=0xFA264F}) - end + named_waypoints.update_waypoint("puzzle_seals", pos, {name=S("Breach in the Slade"), color=0xFA264F, player=player:get_player_name()}) + end + minetest.log("action", "[df_underworld_items] " .. player:get_player_name() .. " triggered a puzzle seal at " .. pos_string) minetest.set_node(pos, {name="df_underworld_items:digging_seal", param2 = math.random(1,4)-1}) minetest.get_node_timer(pos):start(4) minetest.close_formspec(player:get_player_name(), formname)