..
This commit is contained in:
parent
3a9dbb6834
commit
fd363c798f
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user