added sound to "stop hitting yourself" and flame to lightning strike

This commit is contained in:
TenPlus1 2018-08-22 21:58:31 +01:00
parent ec56644e03
commit ad970aa667

@ -18,6 +18,8 @@ local function punchy(pos, player)
damage_groups = {fleshy = 5} damage_groups = {fleshy = 5}
}, nil) }, nil)
minetest.sound_play("player_damage", {pos = pos, gain = 1.0})
minetest.chat_send_player(player:get_player_name(), minetest.chat_send_player(player:get_player_name(),
green .. S("Stop hitting yourself!")) green .. S("Stop hitting yourself!"))
end end
@ -496,6 +498,8 @@ local lucky_block = function(pos, digger)
max_hear_distance = 25 max_hear_distance = 25
}) })
minetest.set_node(pos, {name = "fire:permanent_flame"})
-- falling nodes -- falling nodes
elseif action == "fal" then elseif action == "fal" then