Ajout d'alias pour les requins pour garder la compatibilité avec ceux de MFF.

This commit is contained in:
sys4-fr 2018-09-29 12:11:51 +02:00
parent a1c3603056
commit 6ce28cc28a
1 changed files with 3 additions and 0 deletions

View File

@ -83,6 +83,7 @@ if mobs.mod and mobs.mod == "redo" then
--name, nodes, neighbours, minlight, maxlight, interval, chance, active_object_count, min_height, max_height
mobs:spawn_specific("mobs_sharks:shark_lg", l_spawn_in, l_spawn_near, -1, 20, 30, l_spawn_chance, 1, -31000, 0)
mobs:register_egg("mobs_sharks:shark_lg", "Shark (large)", l_egg_texture, 0)
mobs:alias_mob("mobs:shark_lg", "mobs_sharks:shark_lg")
end
-- medium
@ -116,6 +117,7 @@ if mobs.mod and mobs.mod == "redo" then
--name, nodes, neighbours, minlight, maxlight, interval, chance, active_object_count, min_height, max_height
mobs:spawn_specific("mobs_sharks:shark_md", l_spawn_in, l_spawn_near, -1, 20, 30, l_spawn_chance, 1, -31000, 0)
mobs:register_egg("mobs_sharks:shark_md", "Shark (medium)", l_egg_texture, 0)
mobs:alias_mob("mobs:shark_md", "mobs_sharks:shark_md")
end
-- small
@ -149,6 +151,7 @@ if mobs.mod and mobs.mod == "redo" then
--name, nodes, neighbours, minlight, maxlight, interval, chance, active_object_count, min_height, max_height
mobs:spawn_specific("mobs_sharks:shark_sm", l_spawn_in, l_spawn_near, -1, 20, 30, l_spawn_chance, 1, -31000, 0)
mobs:register_egg("mobs_sharks:shark_sm", "Shark (small)", l_egg_texture, 0)
mobs:alias_mob("mobs:shark_sm", "mobs_sharks:shark_sm")
end
end