diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-05-11 10:22:53 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-05-11 10:22:53 -0400 |
commit | 249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3 (patch) | |
tree | 915217a9657158d2a02eb8d93507944f618d5142 /peaceful_npc/spawning.lua | |
parent | af2fedcf9998bb4a854c2cfd63e4cdad91a6dd5d (diff) | |
download | dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar.gz dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar.bz2 dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.tar.xz dreambuilder_modpack-249daeb0e6a7d9b637eeb4e5cfda4710a68d59d3.zip |
Add readme.md mostly taken from the forum thread (and markdown-ified)
Updated several mods: castles, homedecor, digilines, farming redo,
jumping, maptools, mesecons, moreblocks, moretrees, pipeworks,
signs_lib, technic, unified_dyes
Deleted the peaceful_npc mod, as it is broken and unmaintained.
Diffstat (limited to 'peaceful_npc/spawning.lua')
-rw-r--r-- | peaceful_npc/spawning.lua | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/peaceful_npc/spawning.lua b/peaceful_npc/spawning.lua deleted file mode 100644 index 8ce8f6f..0000000 --- a/peaceful_npc/spawning.lua +++ /dev/null @@ -1,86 +0,0 @@ ---Spawn function -function def_spawn(pos) - minetest.add_entity(pos, "peaceful_npc:npc_def") - print("want to spawn npc_def at "..dump(pos)) - if mode_debug == true then - minetest.chat_send_all("want to spawn npc_def at "..dump(pos)) - end -end - -function fast_spawn(pos) - minetest.add_entity(pos, "peaceful_npc:npc_fast") - print("want to spawn npc_fast at "..dump(pos)) - if mode_debug == true then - minetest.chat_send_all("want to spawn npc_fast at "..dump(pos)) - end -end - -function dwarf_spawn(pos) - minetest.add_entity(pos, "peaceful_npc:npc_dwarf") - print("want to spawn npc_dwarf at "..dump(pos)) - if mode_debug == true then - minetest.chat_send_all("want to spawn npc_dwarf at "..dump(pos)) - end -end - ---Mapgen biomes -plaingen_biome = { - surface = "default:dirt_with_grass", - avoid_nodes = {"group:liquid", "group:tree"}, - avoid_radius = 20, - rarity = 93, - max_count = 1, - min_elevation = -10, - max_elevation = 30, -} - -forestgen_biome = { - surface = {"group:tree", "default:leaves"}, - avoid_nodes = {"group:liquid"}, - avoid_radius = 10, - rarity = 96, - max_count = 1, - min_elevation = 20, - max_elevation = 50, -} - -beachgen_biome = { - surface = "default:sand", - avoid_nodes = {"group:liquid"}, - avoid_radius = 1, - rarity = 90, - max_count = 1, - min_elevation = 0, - max_elevation = 10, -} - -desertgen_biome = { - surface = { "default:desert_sand", "default:desert_stone"}, - avoid_nodes = {"group:liquid"}, - avoid_radius = 100, - rarity = 95, - max_count = 1, - min_elevation = 0, - max_elevation = 150, -} - -cavegen_biome = { - surface = { "default:stone_with_iron", "default:stone_with_coal", "default:stone_with_mese"}, - avoid_nodes = {"group:liquid"}, - avoid_radius = 5, - rarity = 98, - max_count = 1, - min_elevation = -500, - max_elevation = -50, - check_air = true, - spawn_replace_node = true, -} - ---spawn definers -biome_lib:register_generate_plant(plaingen_biome, "def_spawn") -biome_lib:register_generate_plant(forestgen_biome, "def_spawn") -biome_lib:register_generate_plant(beachgen_biome, "fast_spawn") -biome_lib:register_generate_plant(desertgen_biome, "fast_spawn") -biome_lib:register_generate_plant(cavegen_biome, "dwarf_spawn") - -print("Peaceful NPC spawning.lua loaded! By jojoa1997!")
\ No newline at end of file |