diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-15 15:23:37 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-15 15:23:37 +0100 |
commit | 06a3483ca24ca8a14af01fcf21356972f3d83418 (patch) | |
tree | 9a5409c7508f90cbbe97f4bbb7d47092564f657a /rat.lua | |
parent | 654c54075a9304333f4636abaa58d0eb8c35b78a (diff) |
Added compatibility with mobs already spawned in world
Diffstat (limited to 'rat.lua')
-rw-r--r-- | rat.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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", { |