This commit is contained in:
rnd1 2016-04-27 12:20:15 +02:00
parent 3a9dbb6834
commit fd363c798f

View File

@ -64,7 +64,7 @@ battery_recharge = function(pos)
meta:set_float("energy",energy);
meta:set_string("infotext", "(R) energy: " .. math.ceil(energy*10)/10 .. " / ".. capacity);
--TODO2: add entity power status display
minetest.sound_play("electric_zap", {pos=pos,gain=0.03,max_hear_distance = 8,})
minetest.sound_play("electric_zap", {pos=pos,gain=0.05,max_hear_distance = 8,})
end
end