1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Mobs update (because of the mapgen), mainly spawn/nodes improve

Many small adjustments :
- 10% less for the spawn rate of the Creeper
- Dirt Monster now spawn also on DryGrass, and the spawn rate is increased by 5%
- Dungeon Master now spawn on sandstone, and now only under -250
- Mese Monster now spawn on sandstone, and now only under -125
- Minotaur now spawn only on DryGrass, and the spawn rate is increased of +20%
- NPC spawns rate is increased by 300%, BUT the NPC now spawns on many nodes ! ("Beach" Sand, Jungle Grass,  Dirt, Dirt With Grass)
- Oerkki now spawn on sandstone and below -75
- Spider spawns rate is decreased by 30% due to the new mapgen (jungletrees have less leaves)
- Stone Monster now spawn on sandstone, only under -25
- Wolf spawns rate is increased by 5%
- Zombies now spawn 10% lesser
This commit is contained in:
Quentin BUISSON-DEBON 2015-07-13 13:14:17 +02:00
parent e774ed402d
commit 77bd0b28b0
15 changed files with 19 additions and 21 deletions

View File

@ -30,7 +30,7 @@ Changelog:
1.12- Added animal ownership so that players cannot steal your tamed animals
1.11- Added flying mobs (and swimming), fly=true and fly_in="air" or "deafult:water_source" for fishy
1,10- Footstep removed (use replace), explosion routine added for exploding mobs.
1,10- Footstep removed (use replace), explosion routine added for exploding mobs.
1.09- reworked breeding routine, added mob rotation value, added footstep feature, added jumping mobs with sounds feature, added magic lasso for picking up animals
1.08- Mob throwing attack has been rehauled so that they can damage one another, also drops and on_die function added
1.07- Npc's can now be set to follow player or stand by using self.order and self.owner variables
@ -50,4 +50,4 @@ beta- Npc mob added, kills monsters, attacks player when punched, right click wi
0.4 - Dungeon Masters and Mese Monsters have much better aim due to shoot_offset, also they can both shoot through nodes that aren't walkable (flowers, grass etc) plus new sheep sound :)
0.3 - Added LOTT's Spider mob, made Cobwebs, added KPavel's Bee with Honey and Beehives (made texture), Warthogs now have sound and can be tamed, taming of shaved sheep or milked cow with 8 wheat so it will not despawn, many bug fixes :)
0.2 - Cooking bucket of milk into cheese now returns empty bucket
0.1 - Initial Release
0.1 - Initial Release

View File

@ -52,5 +52,5 @@ mobs:register_mob("mobs:creeper", {
speed_normal = 15, speed_run = 15,
},
})
mobs:register_spawn("mobs:creeper", {"default:dirt_with_grass"}, 20, 8, 18000, 1, 31000)
mobs:register_spawn("mobs:creeper", {"default:dirt_with_grass"}, 20, 8, 20000, 1, 31000)
mobs:register_egg("mobs:creeper", "Creeper", "mobs_creeper_inv.png", 1)

View File

@ -51,7 +51,7 @@ mobs:register_mob("mobs:dirt_monster", {
punch_start = 40, punch_end = 63,
},
})
-- spawn on normal;grey dirt between -1 and 5 light, 1 in 7000 change, 1 dirt monster in area up to 31000 in height
mobs:register_spawn("mobs:dirt_monster", {"default:dirt_with_grass", "watershed:drygrass"}, 5, -1, 9500, 1, 31000)
-- spawn on dirt_with_grass and drygrass between -1 and 5 light, 1 in 10000 change, 1 dirt monster in area up to 31000 in height
mobs:register_spawn("mobs:dirt_monster", {"default:dirt_with_grass", "watershed:drygrass"}, 5, -1, 10000, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:dirt_monster", "Dirt Monster", "default_dirt.png", 1)

View File

@ -71,7 +71,7 @@ mobs:register_mob("mobs:dungeon_master", {
},
})
-- spawn on stone between 20 and -1 light, 1 in 7000 chance, 1 dungeon master in area starting at -100 and below
mobs:register_spawn("mobs:dungeon_master", {"default:stone, nether:netherrack"}, 20, -1, 7000, 1, -100)
mobs:register_spawn("mobs:dungeon_master", {"default:stone", "default:sandstone", "nether:netherrack"}, 20, -1, 7000, 1, -250)
-- register spawn egg
mobs:register_egg("mobs:dungeon_master", "Dungeon Master", "fire_basic_flame.png", 1)

View File

@ -64,4 +64,3 @@ mobs:register_mob("mobs:goat", {
mobs:register_spawn("mobs:goat", {"default:dirt_with_grass"}, 20, -1, 10000, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:goat", "Goat", "default_grass.png", 1)

View File

@ -23,7 +23,6 @@ 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
--dofile(minetest.get_modpath("mobs").."/dog-can-help.lua") -- ???
dofile(minetest.get_modpath("mobs").."/dog.lua") -- CProgrammerRU
--dofile(minetest.get_modpath("mobs").."/lava_flan.lua") -- Zeg9 --Remplaced by Lava Slimes
dofile(minetest.get_modpath("mobs").."/mese_monster.lua") -- Zeg9

View File

@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.

View File

@ -62,7 +62,7 @@ mobs:register_mob("mobs:mese_monster", {
},
})
-- spawn on stone between 20 and -1 light, 1 in 7000 chance, 1 in area below -25
mobs:register_spawn("mobs:mese_monster", {"default:stone", }, 20, -1, 7000, 1, -25)
mobs:register_spawn("mobs:mese_monster", {"default:stone", "default:sandstone"}, 20, -1, 7000, 1, -125)
-- register spawn egg
mobs:register_egg("mobs:mese_monster", "Mese Monster", "default_mese_block.png", 1)

View File

@ -60,7 +60,7 @@ mobs:register_mob("mobs:minotaur", {
},
})
-- spawns on desert sand between -1 and 20 light, 1 in 20000 chance, 1 Minotaur in area up to 31000 in height
mobs:register_spawn("mobs:minotaur", {"default:desert_sand"}, 20, -1, 30000, 1, 31000)
mobs:register_spawn("mobs:minotaur", {"watershed:drygrass"}, 20, -1, 25000, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:minotaur", "Minotaur", "default_desert_sand.png", 1)

View File

@ -47,7 +47,7 @@ mobs:register_mob("mobs:npc", {
},
-- damaged by
water_damage = 0,
lava_damage = 2,
lava_damage = 6,
light_damage = 0,
-- follow diamond
follow = "default:diamond",
@ -138,6 +138,6 @@ mobs:register_mob("mobs:npc", {
end,
})
-- spawning enable for now
mobs:register_spawn("mobs:npc", {"default:dirt_with_grass"}, 20, -1, 20000, 1, 31000)
mobs:register_spawn("mobs:npc", {"default:dirt_with_grass", "default:dirt", "default:junglegrass", "default:sand"}, 20, -1, 50000, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:npc", "Npc", "default_brick.png", 1)

View File

@ -58,7 +58,7 @@ mobs:register_mob("mobs:oerkki", {
replace_with = "air",
replace_offset = -1,
})
-- spawns on stone between 5 and -1 light, 1 in 7000 chance, 1 in area starting at -10 and below
mobs:register_spawn("mobs:oerkki", {"default:stone"}, 5, -1, 7000, 1, -10)
-- spawns on stone/sandstone between 5 and -1 light, 1 in 7000 chance, 1 in area starting at -10 and below
mobs:register_spawn("mobs:oerkki", {"default:stone", "default:sandstone"}, 5, -1, 7000, 1, -75)
-- register spawn egg
mobs:register_egg("mobs:oerkki", "Oerkki", "default_obsidian.png", 1)

View File

@ -57,8 +57,8 @@ mobs:register_mob("mobs:spider", {
punch_start = 50, punch_end = 90,
},
})
-- spawn on desert stone/crystal dirt, between 0 and 5 light, 1 in 10000 chance, 1 in area up to 31000 in height
mobs:register_spawn("mobs:spider", {"default:jungleleaves", "default:jungletree"}, 20, -1, 10000, 1, 31000)
-- spawn on jungleleaves/jungletree, between 0 and 5 light, 1 in 10000 chance, 1 in area up to 31000 in height
mobs:register_spawn("mobs:spider", {"default:jungleleaves", "default:jungletree"}, 20, -1, 7000, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:spider", "Spider", "mobs_cobweb.png", 1)

View File

@ -57,7 +57,7 @@ mobs:register_mob("mobs:stone_monster", {
punch_start = 40, punch_end = 63,
},
})
-- spawns on stone between -1 and 5 light, 1 in 7000 chance, 1 in area below -5
mobs:register_spawn("mobs:stone_monster", {"default:stone"}, 5, -1, 7000, 1, -5)
-- spawns on stone between -1 and 5 light, 1 in 7000 chance, 1 in area below -25
mobs:register_spawn("mobs:stone_monster", {"default:stone", "default:sandstone"}, 5, -1, 7000, 1, -25)
-- register spawn egg
mobs:register_egg("mobs:stone_monster", "Stone Monster", "default_stone.png", 1)

View File

@ -67,5 +67,5 @@ mobs:register_mob("mobs:wolf", {
end
end
})
mobs:register_spawn("mobs:wolf", {"default:dirt_with_grass"}, 3, -1, 9500, 1, 31000)
mobs:register_spawn("mobs:wolf", {"default:dirt_with_grass"}, 3, -1, 10000, 1, 31000)
mobs:register_egg("mobs:wolf", "Wolf", "mobs_wolf_inv.png", 1)

View File

@ -59,7 +59,7 @@ mobs:register_mob("mobs:zombie", {
})
-- spawn in nether forest between -1 and 5 light, 1 in 6000 change, 1 zombie in area up to 31000 in height
mobs:register_spawn("mobs:zombie", {"nether:dirt_top"}, 5, -1, 6000, 1, 31000)
mobs:register_spawn("mobs:zombie", {"nether:dirt_top"}, 5, -1, 6600, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:zombie", "Zombie", "mobs_zombie_head.png", 1)