2015-03-02 22:29:17 +01:00
|
|
|
-- Mob Api
|
2014-10-28 18:01:32 +01:00
|
|
|
|
|
|
|
dofile(minetest.get_modpath("mobs").."/api.lua")
|
|
|
|
|
2015-03-25 17:25:54 +01:00
|
|
|
-- Animals
|
2014-10-28 18:01:32 +01:00
|
|
|
|
2015-03-25 17:25:54 +01:00
|
|
|
dofile(minetest.get_modpath("mobs").."/chicken.lua") -- JKmurray
|
|
|
|
dofile(minetest.get_modpath("mobs").."/cow.lua") -- KrupnoPavel
|
|
|
|
dofile(minetest.get_modpath("mobs").."/rat.lua") -- PilzAdam
|
|
|
|
dofile(minetest.get_modpath("mobs").."/sheep.lua") -- PilzAdam
|
|
|
|
dofile(minetest.get_modpath("mobs").."/warthog.lua") -- KrupnoPavel
|
|
|
|
dofile(minetest.get_modpath("mobs").."/bee.lua") -- KrupnoPavel
|
|
|
|
dofile(minetest.get_modpath("mobs").."/bunny.lua") -- ExeterDad
|
|
|
|
dofile(minetest.get_modpath("mobs").."/kitten.lua") -- Jordach/BFD
|
2014-12-25 23:20:28 +01:00
|
|
|
|
2014-10-28 18:01:32 +01:00
|
|
|
-- Monsters
|
|
|
|
|
2015-04-25 23:28:56 +02:00
|
|
|
dofile(minetest.get_modpath("mobs").."/sarangay.lua") -- Kalabasa
|
2015-03-25 17:25:54 +01:00
|
|
|
dofile(minetest.get_modpath("mobs").."/dirtmonster.lua") -- PilzAdam
|
|
|
|
dofile(minetest.get_modpath("mobs").."/dungeonmaster.lua") -- PilzAdam
|
|
|
|
dofile(minetest.get_modpath("mobs").."/oerkki.lua") -- PilzAdam
|
|
|
|
dofile(minetest.get_modpath("mobs").."/sandmonster.lua") -- PilzAdam
|
|
|
|
dofile(minetest.get_modpath("mobs").."/stonemonster.lua") -- PilzAdam
|
|
|
|
dofile(minetest.get_modpath("mobs").."/treemonster.lua") -- PilzAdam
|
|
|
|
dofile(minetest.get_modpath("mobs").."/wolf.lua") -- PilzAdam
|
2015-04-12 02:10:11 +02:00
|
|
|
--dofile(minetest.get_modpath("mobs").."/lava_flan.lua") -- Zeg9 --Remplaced by Lava Slime
|
2015-03-25 17:25:54 +01:00
|
|
|
dofile(minetest.get_modpath("mobs").."/mese_monster.lua") -- Zeg9
|
Update mobs mod
- api.lua (many improves, chicken egg more frequent, NPC attack nearly
mobs, textures code, etc…)
- Bee (spawn on group:flower now, textures code updated)
- Bunny (textures code updated)
- Chicken (two times more eggs, textures code updated)
- Cow (textures code updated)
- Creeper (finish reorganize the code, textures code updated, new eggs
inventory texture)
- Dirt Monster (textures code updated)
- Dungeon Master (textures code updated)
- init.lua (small credits tweaks)
- Kitten (textures code updated, now drop sometimes farming:string)
- Lava Flan (textures code updated, now 3 can spawn per chunck)
- Mese Monster (textures code updated)
- NPC (textures code updated, revert give raw meat versus health code
for tests)
- Oerkki (textures code updated, now 1 light damage)
- Rat (textures code updated)
- Sand Monster (textures code updated)
- Sheep (textures code updated, now give 2 to 3 wool when sheared)
- Spider (textures code updated, change credits, comments our
modifications)
- Stone Monster (textures code updated)
- Tree Monster (textures code updated)
- Warthog (textures code updated)
- Wolf (finish reorganize the code, textures code updated, add spawner
egg and an inventory texture)
- Tweaks some sounds
2015-03-31 19:32:46 +02:00
|
|
|
dofile(minetest.get_modpath("mobs").."/spider.lua") -- AspireMint
|
2015-04-12 12:25:33 +02:00
|
|
|
dofile(minetest.get_modpath("mobs").."/greenslimes.lua") -- davedevils/TomasJLuis/TenPlus1
|
|
|
|
dofile(minetest.get_modpath("mobs").."/lavaslimes.lua") -- davedevils/TomasJLuis/TenPlus1
|
2015-04-12 02:10:11 +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", {
|
|
|
|
image = "jeija_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
|
2015-04-12 02:10:11 +02:00
|
|
|
|
2015-03-18 21:28:40 +01:00
|
|
|
-- NPC
|
Update mobs mod
- api.lua (many improves, chicken egg more frequent, NPC attack nearly
mobs, textures code, etc…)
- Bee (spawn on group:flower now, textures code updated)
- Bunny (textures code updated)
- Chicken (two times more eggs, textures code updated)
- Cow (textures code updated)
- Creeper (finish reorganize the code, textures code updated, new eggs
inventory texture)
- Dirt Monster (textures code updated)
- Dungeon Master (textures code updated)
- init.lua (small credits tweaks)
- Kitten (textures code updated, now drop sometimes farming:string)
- Lava Flan (textures code updated, now 3 can spawn per chunck)
- Mese Monster (textures code updated)
- NPC (textures code updated, revert give raw meat versus health code
for tests)
- Oerkki (textures code updated, now 1 light damage)
- Rat (textures code updated)
- Sand Monster (textures code updated)
- Sheep (textures code updated, now give 2 to 3 wool when sheared)
- Spider (textures code updated, change credits, comments our
modifications)
- Stone Monster (textures code updated)
- Tree Monster (textures code updated)
- Warthog (textures code updated)
- Wolf (finish reorganize the code, textures code updated, add spawner
egg and an inventory texture)
- Tweaks some sounds
2015-03-31 19:32:46 +02:00
|
|
|
dofile(minetest.get_modpath("mobs").."/npc.lua") -- TenPlus1
|
2015-03-18 21:28:40 +01:00
|
|
|
|
2015-03-12 04:34:03 +01:00
|
|
|
-- Creeper (fast impl by davedevils)
|
|
|
|
dofile(minetest.get_modpath("mobs").."/creeper.lua")
|
|
|
|
|
2014-10-28 18:01:32 +01:00
|
|
|
-- Meat & Cooked Meat
|
|
|
|
|
|
|
|
minetest.register_craftitem("mobs:meat_raw", {
|
|
|
|
description = "Raw Meat",
|
|
|
|
inventory_image = "mobs_meat_raw.png",
|
|
|
|
on_use = minetest.item_eat(3),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mobs:meat", {
|
|
|
|
description = "Meat",
|
|
|
|
inventory_image = "mobs_meat.png",
|
|
|
|
on_use = minetest.item_eat(8),
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "mobs:meat",
|
|
|
|
recipe = "mobs:meat_raw",
|
|
|
|
cooktime = 5,
|
|
|
|
})
|
|
|
|
|
2015-04-11 21:45:03 +02:00
|
|
|
-- Golden Lasso
|
|
|
|
|
|
|
|
minetest.register_tool("mobs:magic_lasso", {
|
|
|
|
description = "Magic Lasso (right-click animal to put in inventory)",
|
|
|
|
inventory_image = "mobs_magic_lasso.png",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mobs:magic_lasso",
|
|
|
|
recipe = {
|
|
|
|
{"farming:string", "default:gold_lump", "farming:string"},
|
|
|
|
{"default:gold_lump", "default:diamondblock", "default:gold_lump"},
|
|
|
|
{"farming:string", "default:gold_lump", "farming:string"},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2014-10-28 18:01:32 +01:00
|
|
|
if minetest.setting_get("log_mods") then
|
|
|
|
minetest.log("action", "mobs loaded")
|
|
|
|
end
|