1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-03 16:40:25 +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

@ -12,7 +12,7 @@ mobs:register_mob("mobs:bee", {
available_textures = {
total = 1,
texture_1 = {"mobs_bee.png"},
},
},
makes_footstep_sound = false,
walk_velocity = 1,
armor = 200,
@ -34,7 +34,9 @@ mobs:register_mob("mobs:bee", {
walk_start = 35,
walk_end = 65,
},
sounds = {
random = "mobs_bee_random01",
},
on_rightclick = function(self, clicker)
if clicker:is_player() and clicker:get_inventory() then
clicker:get_inventory():add_item("main", "mobs:bee")
@ -53,7 +55,7 @@ minetest.register_craftitem("mobs:bee", {
on_place = function(itemstack, placer, pointed_thing)
if pointed_thing.above then
minetest.add_entity(pointed_thing.above, "mobs:bee")
minetest.env:add_entity(pointed_thing.above, "mobs:bee")
itemstack:take_item()
end
return itemstack
@ -92,7 +94,7 @@ minetest.register_node("mobs:beehive", {
after_place_node = function(pos, placer, itemstack)
if placer:is_player() then
minetest.set_node(pos, {name="mobs:beehive", param2=1})
minetest.add_entity(pos, "mobs:bee")
minetest.env:add_entity(pos, "mobs:bee")
end
end,
@ -107,22 +109,24 @@ minetest.register_craft({
-- Honey Block
minetest.register_node("mobs:honey_block", {
description = "Honey Block",
tiles = {"mobs_honey_block.png"},
groups = {snappy=3,flammable=2},
sounds = default.node_sound_dirt_defaults(),
description = "Honey Block",
tiles = {"mobs_honey_block.png"},
groups = {snappy=3,flammable=2},
sounds = default.node_sound_dirt_defaults(),
})
minetest.register_craft({
output = "mobs:honey_block",
recipe = {
{"mobs:honey", "mobs:honey", "mobs:honey"},
{"mobs:honey", "mobs:honey", "mobs:honey"},
{"mobs:honey", "mobs:honey", "mobs:honey"},
}
output = "mobs:honey_block",
recipe = {
{"mobs:honey", "mobs:honey", "mobs:honey"},
{"mobs:honey", "mobs:honey", "mobs:honey"},
{"mobs:honey", "mobs:honey", "mobs:honey"},
}
})
minetest.register_craft({
output = "mobs:honey 9",
recipe = {
{"mobs:honey_block"},
}
})
output = "mobs:honey 9",
recipe = {
{"mobs:honey_block"},
}
})