- Made nether portal function
- Beds and water explode in the nether
- Added better nether portal effect
+- Fix clientside error 23
+- Make mobs less noisy
---
--critical effect
if critical == true then
self.do_critical_particles(pos)
- minetest.sound_play("critical", {object=self.object, gain = 0.1, max_hear_distance = 32,pitch = math.random(80,100)/100})
+ minetest.sound_play("critical", {object=self.object, gain = 0.1, max_hear_distance = 10,pitch = math.random(80,100)/100})
end
- minetest.sound_play("pig", {object=self.object, gain = 1.0, max_hear_distance = 32,pitch = math.random(80,100)/100})
+ minetest.sound_play("pig", {object=self.object, gain = 1.0, max_hear_distance = 10,pitch = math.random(80,100)/100})
self.hp = hp
--critical effect
if critical == true then
self.do_critical_particles(pos)
- minetest.sound_play("critical", {object=self.object, gain = 0.1, max_hear_distance = 32,pitch = math.random(80,100)/100})
+ minetest.sound_play("critical", {object=self.object, gain = 0.1, max_hear_distance = 10,pitch = math.random(80,100)/100})
end
- minetest.sound_play("pig_die", {object=self.object, gain = 1.0, max_hear_distance = 32,pitch = math.random(80,100)/100})
+ minetest.sound_play("pig_die", {object=self.object, gain = 1.0, max_hear_distance = 10,pitch = math.random(80,100)/100})
self.object:set_texture_mod("^[colorize:red:130")
if self.child then
--critical effect
if critical == true then
self.do_critical_particles(pos)
- minetest.sound_play("critical", {object=self.object, gain = 0.1, max_hear_distance = 32,pitch = math.random(80,100)/100})
+ minetest.sound_play("critical", {object=self.object, gain = 0.1, max_hear_distance = 10,pitch = math.random(80,100)/100})
end
- minetest.sound_play("slime_die", {object=self.object, gain = 1.0, max_hear_distance = 32,pitch = math.random(100,140)/100})
+ minetest.sound_play("slime_die", {object=self.object, gain = 1.0, max_hear_distance = 10,pitch = math.random(100,140)/100})
self.hp = hp
--critical effect
if critical == true then
self.do_critical_particles(pos)
- minetest.sound_play("critical", {object=self.object, gain = 0.1, max_hear_distance = 32,pitch = math.random(80,100)/100})
+ minetest.sound_play("critical", {object=self.object, gain = 0.1, max_hear_distance = 10,pitch = math.random(80,100)/100})
end
- minetest.sound_play("slime_die", {object=self.object, gain = 1.0, max_hear_distance = 32,pitch = math.random(80,100)/100})
+ minetest.sound_play("slime_die", {object=self.object, gain = 1.0, max_hear_distance = 10,pitch = math.random(80,100)/100})
self.object:set_texture_mod("^[colorize:red:130")
self.add_sword_wear(self, puncher, time_from_last_punch, tool_capabilities, dir)
local vel = self.object:get_velocity()
if self.jump_timer <= 0 then
if vel.y == 0 and self.oldvely and self.oldvely <= 0 then --use <= on self.oldvely to make slime make landing sound
- minetest.sound_play("slime_splat", {object=self.object, gain = 1.0, max_hear_distance = 60,pitch = math.random(80,100)/100})
+ minetest.sound_play("slime_splat", {object=self.object, gain = 1.0, max_hear_distance = 10,pitch = math.random(80,100)/100})
local vel = self.object:get_velocity()
self.jump_timer = 1+math.random()
if self.hostile == true then