1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-06 01:50:21 +02:00

Update the mobs mod

- Update to the 0.8 release of TenPlus1 mobs redo mod
- Merge the TenPlus1 mobs redo mod changes
- Add 2/3 new sounds for each monsters (from the Cyberpangolin mobs
sounds)
- Small up of the lava_flan mob health
This commit is contained in:
Ombridride
2014-12-25 18:34:34 +01:00
parent c81fc9903e
commit 3fce25aeab
41 changed files with 113 additions and 72 deletions

View File

@ -25,6 +25,9 @@ mobs:register_mob("mobs:rat", {
jump = true,
step = 1,
passive = true,
sounds = {
random = {"mobs_rat_random01", "mobs_rat_random02"},
},
on_rightclick = function(self, clicker)
if clicker:is_player() and clicker:get_inventory() then
@ -43,7 +46,7 @@ minetest.register_craftitem("mobs:rat", {
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.above then
minetest.add_entity(pointed_thing.above, "mobs:rat")
minetest.env:add_entity(pointed_thing.above, "mobs:rat")
itemstack:take_item()
end
return itemstack