mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2025-07-23 18:40:25 +02:00
Added compatibility with mobs already spawned in world
This commit is contained in:
3
rat.lua
3
rat.lua
@ -41,7 +41,8 @@ mobs:register_spawn("mobs_animal:rat", {"default:stone"}, 20, 5, 15000, 2, 0)
|
||||
|
||||
mobs:register_egg("mobs_animal:rat", "Rat", "mobs_rat_inventory.png", 0)
|
||||
|
||||
minetest.register_alias("mobs:rat", "mobs_animal:rat")
|
||||
-- compatibility
|
||||
mobs:alias_mob("mobs:rat", "mobs_animal:rat")
|
||||
|
||||
-- cooked rat, yummy!
|
||||
minetest.register_craftitem(":mobs:rat_cooked", {
|
||||
|
Reference in New Issue
Block a user