4aab7d0dbd
biome_lib, boost cart, homedecor modpack, plantlife modpack, cottages, currency, farming redo, gloopblocks, ilights, moreores, moretrees, pipeworks, plasticbox, replacer, signs_lib, streets, travelnet, unified dyes, and vines, and maybe one or two others that I didn't see in the list. :-) I fixed the misc_overrides component (it broke when I switched over to farming redo a while back), and also I've added the classic peaceful_npc mod back into the modpack, since it seems to work now. Be sure when you run a world for the first time after this update, that you "Configure" the world, *disable* all of Dreambuilder Modpack, then re-enable the whole thing. If you don't, a few mods will fail to load due to recent changes in their dependencies.
37 lines
1.1 KiB
Lua
37 lines
1.1 KiB
Lua
--
|
|
--Crafts
|
|
--
|
|
function npc_recipes(spawn_type, summon_core)
|
|
minetest.register_craft({
|
|
output = 'peaceful_npc:spawner_npc_'..spawn_type,
|
|
recipe = {
|
|
{'default:mese_block', 'default:glass', 'default:mese_block'},
|
|
{'default:glass', 'peaceful_npc:summoner_npc_'..spawn_type, 'default:glass'},
|
|
{'default:mese_block', 'default:glass', 'default:mese_block'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'peaceful_npc:summoner_npc_'..spawn_type,
|
|
recipe = {
|
|
{'default:mese_crystal', 'default:glass', 'default:mese_crystal'},
|
|
{'default:glass', summon_core, 'default:glass'},
|
|
{'default:mese_crystal', 'default:glass', 'default:mese_crystal'},
|
|
}
|
|
})
|
|
|
|
minetest.register_craft({
|
|
output = 'peaceful_npc:summoner_npc_'..spawn_type,
|
|
recipe = {
|
|
{'default:mese', 'default:glass', 'default:mese'},
|
|
{'default:glass', summon_core, 'default:glass'},
|
|
{'default:mese', 'default:glass', 'default:mese'},
|
|
}
|
|
})
|
|
end
|
|
|
|
npc_recipes('def', 'default:steel_ingot')
|
|
npc_recipes('fast', 'default:cactus')
|
|
npc_recipes('dwarf', 'bucket:bucket_lava')
|
|
|
|
print("Peaceful NPC recipes.lua loaded! By jojoa1997!") |