mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2024-11-14 14:40:29 +01:00
record identity of slade-breachers
This commit is contained in:
parent
41edf4d7b1
commit
95578b06e1
|
@ -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})
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user