2015-07-15 23:31:54 +02:00
|
|
|
local path = minetest.get_modpath("mobs")
|
|
|
|
|
2015-03-02 22:29:17 +01:00
|
|
|
-- Mob Api
|
2015-07-15 23:31:54 +02:00
|
|
|
dofile(path.."/api.lua")
|
2014-10-28 18:01:32 +01:00
|
|
|
|
2015-03-25 17:25:54 +01:00
|
|
|
-- Animals
|
2015-07-15 23:31:54 +02:00
|
|
|
dofile(path.."/chicken.lua") -- JKmurray
|
|
|
|
dofile(path.."/cow.lua") -- KrupnoPavel
|
|
|
|
dofile(path.."/sheep.lua") -- PilzAdam
|
2016-01-03 16:02:42 +01:00
|
|
|
dofile(path.."/pig.lua") -- farfadet46
|
2015-07-15 23:31:54 +02:00
|
|
|
dofile(path.."/bee.lua") -- KrupnoPavel
|
|
|
|
dofile(path.."/bunny.lua") -- ExeterDad
|
|
|
|
dofile(path.."/kitten.lua") -- Jordach/BFD
|
|
|
|
dofile(path.."/goat.lua") -- ???
|
2015-09-25 20:09:03 +02:00
|
|
|
dofile(path.."/shark.lua") -- blert2112 (animal_modpack)
|
2014-12-25 23:20:28 +01:00
|
|
|
|
2014-10-28 18:01:32 +01:00
|
|
|
-- Monsters
|
2015-07-15 23:31:54 +02:00
|
|
|
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
|
2015-04-12 02:10:11 +02:00
|
|
|
|
2015-10-04 10:36:27 +02:00
|
|
|
-- The bosses
|
2015-10-07 21:57:26 +02:00
|
|
|
dofile(path.."/pumpkins.lua")
|
2016-05-09 16:30:00 +02:00
|
|
|
--dofile(path.."/mese_dragon.lua") NOT YET DONE
|
2015-10-04 10:36:27 +02:00
|
|
|
|
2015-04-12 12:30:55 +02:00
|
|
|
-- begin slimes mobs compatibility changes
|
2015-04-12 02:10:11 +02:00
|
|
|
-- cannot find mesecons?, craft glue instead
|
|
|
|
if not minetest.get_modpath("mesecons_materials") then
|
|
|
|
minetest.register_craftitem(":mesecons_materials:glue", {
|
2015-11-21 12:28:13 +01:00
|
|
|
image = "mesecons_glue.png",
|
2015-04-12 02:10:11 +02:00
|
|
|
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
|
2015-04-12 02:10:11 +02:00
|
|
|
|
2015-03-18 21:28:40 +01:00
|
|
|
-- NPC
|
2015-07-15 23:31:54 +02:00
|
|
|
dofile(path.."/npc.lua") -- TenPlus1
|
2015-08-18 17:09:53 +02:00
|
|
|
dofile(path.."/npc_female.lua") -- nuttmeg20
|
2015-03-18 21:28:40 +01:00
|
|
|
|
2015-03-12 04:34:03 +01:00
|
|
|
-- Creeper (fast impl by davedevils)
|
2015-07-15 23:31:54 +02:00
|
|
|
dofile(path.."/creeper.lua")
|
2015-04-11 21:45:03 +02:00
|
|
|
|
2015-07-15 23:31:54 +02:00
|
|
|
-- Mob Items
|
|
|
|
dofile(path.."/crafts.lua")
|
2015-04-11 21:45:03 +02:00
|
|
|
|
2016-02-01 12:45:12 +01:00
|
|
|
-- Spawner
|
|
|
|
dofile(path.."/spawner.lua")
|
|
|
|
|
2015-08-18 20:38:50 +02:00
|
|
|
-- Mob menu spawner special MFF
|
|
|
|
dofile(path.."/mff_menu.lua")
|
|
|
|
|
2016-05-05 20:02:35 +02:00
|
|
|
minetest.register_alias("mobs:rat","mobs:chicken") -- aliases removed rat
|
|
|
|
minetest.register_alias("mobs:rat_cooked", "mobs:chicken_cooked")
|
|
|
|
|
2016-05-22 12:01:39 +02:00
|
|
|
|
|
|
|
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")
|
|
|
|
|
|
|
|
|
2015-09-01 20:40:34 +02:00
|
|
|
minetest.log("action", "[MOD] Mobs Redo loaded")
|