This repository has been archived on 2024-12-09. You can view files and clone it, but cannot push or open issues or pull requests.
Mineclonia/mods/ENTITIES/mobs_mc/old_mobs.lua

18 lines
614 B
Lua

-- Compatibility with deleted mobs
-- Magically turn horses into rabbits and cows. :D
mobs:alias_mob("mobs_mc:horse", "mobs_mc:rabbit")
mobs:alias_mob("mobs_mc:horse2", "mobs_mc:cow")
mobs:alias_mob("mobs_mc:horse3", "mobs_mc:cow")
minetest.register_alias("mobs_mc:horse", "mobs_mc:rabbit")
minetest.register_alias("mobs_mc:horse2", "mobs_mc:cow")
minetest.register_alias("mobs_mc:horse3", "mobs_mc:cow")
-- Magically turn wolves into sheep. (How ironic!)
mobs:alias_mob("mobs_mc:wolf", "mobs_mc:sheep")
mobs:alias_mob("mobs_mc:dog", "mobs_mc:sheep")
minetest.register_alias("mobs_mc:wolf", "mobs_mc:sheep")