1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-29 12:10:34 +01:00
server-nalc/mods/mobs/init.lua

85 lines
2.3 KiB
Lua
Raw Normal View History

local path = minetest.get_modpath("mobs")
-- Mob Api
dofile(path.."/api.lua")
2014-10-28 18:01:32 +01:00
2015-03-25 17:25:54 +01:00
-- Animals
dofile(path.."/chicken.lua") -- JKmurray
dofile(path.."/cow.lua") -- KrupnoPavel
dofile(path.."/sheep.lua") -- PilzAdam
dofile(path.."/pig.lua") -- farfadet46
dofile(path.."/bee.lua") -- KrupnoPavel
dofile(path.."/bunny.lua") -- ExeterDad
dofile(path.."/kitten.lua") -- Jordach/BFD
dofile(path.."/goat.lua") -- ???
dofile(path.."/shark.lua") -- blert2112 (animal_modpack)
2014-10-28 18:01:32 +01:00
-- Monsters
dofile(path.."/dirtmonster.lua") -- PilzAdam
dofile(path.."/dungeonmaster.lua") -- PilzAdam
dofile(path.."/oerkki.lua") -- PilzAdam
dofile(path.."/sandmonster.lua") -- PilzAdam
dofile(path.."/stonemonster.lua") -- PilzAdam
dofile(path.."/treemonster.lua") -- PilzAdam
dofile(path.."/wolf.lua") -- PilzAdam
dofile(path.."/dog.lua") -- CProgrammerRU
dofile(path.."/mese_monster.lua") -- Zeg9
dofile(path.."/spider.lua") -- AspireMint
dofile(path.."/greenslimes.lua") -- davedevils/TomasJLuis/TenPlus1
dofile(path.."/lavaslimes.lua") -- davedevils/TomasJLuis/TenPlus1
dofile(path.."/zombie.lua") -- ???
dofile(path.."/yeti.lua") -- ???
dofile(path.."/minotaur.lua") -- Kalabasa
-- The bosses
2016-07-02 18:52:55 +02:00
dofile(path.."/pumpkins.lua") -- ???
dofile(path.."/mese_dragon.lua") -- farfadet46
2015-04-12 12:30:55 +02:00
-- begin slimes mobs compatibility changes
-- cannot find mesecons?, craft glue instead
if not minetest.get_modpath("mesecons_materials") then
minetest.register_craftitem(":mesecons_materials:glue", {
image = "mesecons_glue.png",
description = "Glue",
})
end
if minetest.setting_get("log_mods") then minetest.log("action", "Slimes loaded") end
2015-04-12 12:30:55 +02:00
-- end slimes mobs compatibility changes
-- NPC
dofile(path.."/npc.lua") -- TenPlus1
dofile(path.."/npc_female.lua") -- nuttmeg20
2015-03-12 04:34:03 +01:00
-- Creeper (fast impl by davedevils)
dofile(path.."/creeper.lua")
-- Mob Items
dofile(path.."/crafts.lua")
2016-02-01 12:45:12 +01:00
-- Spawner
dofile(path.."/spawner.lua")
-- Mob menu spawner special MFF
dofile(path.."/mff_menu.lua")
minetest.register_alias("mobs:rat","mobs:chicken") -- aliases removed rat
minetest.register_alias("mobs:rat_cooked", "mobs:chicken_cooked")
local function remove_old(name)
minetest.register_entity(name, {
name = name,
on_activate = function(self, staticdata, dtime_s)
self.object:remove()
return
end,
})
end
remove_old("mobs:pumba")
remove_old("mobs:rat")
minetest.log("action", "[MOD] Mobs Redo loaded")