mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 22:26:08 +02:00
* Update ambience mod
- Add musics and sounds from original mod wich was removed by MFF - Add musics from mpd mod This ambience mod add /volume command that display a form to change musics and ambience volume. This is player independant. * Remove soundset and music mod * Fix warning caused by undefined global variable in kpgmobs/wolf.lua
This commit is contained in:
@ -42,7 +42,7 @@ mobs:register_mob(
|
||||
lava_damage = 5,
|
||||
light_damage = 0,
|
||||
on_rightclick = function(self, clicker)
|
||||
tool = clicker:get_wielded_item()
|
||||
local tool = clicker:get_wielded_item()
|
||||
if tool:get_name() == "mobs:meat_raw" then
|
||||
clicker:get_inventory():remove_item("main", "mobs:meat_raw")
|
||||
minetest.add_entity(self.object:getpos(), "pmobs:dog")
|
||||
|
Reference in New Issue
Block a user