1
0
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:
sys4-fr
2017-12-09 23:29:28 +01:00
parent 2f1f8e439f
commit d8dd85e361
90 changed files with 3568 additions and 876 deletions

View File

@ -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")