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

Update monsters

- Tweak the coins drop (only silver and gold now)
- Creeper no longer drop coins
- Fix minotaur mob
- Add and tweak yeti mob (spawn / drops / light damage)
- Update spreadsheet
- many other small tweaks
This commit is contained in:
Ombridride 2015-05-16 22:30:02 +02:00
parent 3e18e2d6d2
commit 4fd5ced537
16 changed files with 66 additions and 58 deletions

View File

@ -33,21 +33,11 @@ mobs:register_mob("mobs:creeper", {
-- drops mese or diamond when dead
drops = {
{name = "default:torch",
chance = 10,
min = 3,
max = 5,},
chance = 10, min = 3, max = 5,},
{name = "default:iron_lump",
chance = 5,
min = 1,
max = 2,},
chance = 5, min = 1, max = 2,},
{name = "default:coal_lump",
chance = 3,
min = 1,
max = 3,},
{name = "maptools:silver_coin",
chance = 2,
min = 2,
max = 3,},
chance = 3, min = 1, max = 3,},
},
-- damaged by
water_damage = 2,

View File

@ -35,8 +35,8 @@ mobs:register_mob("mobs:dirt_monster", {
drops = {
{name = "default:dirt",
chance = 1, min = 3, max = 5,},
{name = "maptools:copper_coin",
chance = 2, min = 2, max = 8,},
{name = "maptools:silver_coin",
chance = 2, min = 1, max = 1,},
},
-- damaged by
water_damage = 1,

View File

@ -51,9 +51,7 @@ mobs:register_mob("mobs:dungeon_master", {
{name = "default:diamond_block",
chance = 30, min = 1, max = 1,},
{name = "maptools:gold_coin",
chance = 15, min = 1, max = 2,},
{name = "maptools:silver_coin",
chance = 1, min = 2, max = 10,},
chance = 20, min = 1, max = 1,},
},
-- damaged by
water_damage = 1,

View File

@ -24,7 +24,7 @@ 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").."/lava_flan.lua") -- Zeg9 --Remplaced by Lava Slime
--dofile(minetest.get_modpath("mobs").."/lava_flan.lua") -- Zeg9 --Remplaced by Lava Slimes
dofile(minetest.get_modpath("mobs").."/mese_monster.lua") -- Zeg9
dofile(minetest.get_modpath("mobs").."/spider.lua") -- AspireMint
dofile(minetest.get_modpath("mobs").."/greenslimes.lua") -- davedevils/TomasJLuis/TenPlus1

View File

@ -44,7 +44,7 @@ mobs:register_mob("mobs:mese_monster", {
{name = "default:mese_crystal_fragment",
chance = 1, min = 1, max = 9,},
{name = "maptools:silver_coin",
chance = 2, min = 2, max = 5,},
chance = 1, min = 1, max = 2,},
{name = "returnmirror:mirror_inactive",
chance = 50, min = 1, max = 1,},
},

View File

@ -4,14 +4,14 @@
mobs:register_mob("mobs:minotaur", {
-- animal, monster, npc, barbarian
type = "monster",
-- aggressive, deals 6 damage to player when hit
-- aggressive, deals 11 damage to player when hit
passive = false,
attack_type = "dogfight",
damage = 6,
damage = 11,
-- health & armor
hp_min = 40,
hp_max = 60,
armor = 90,
hp_min = 50,
hp_max = 75,
armor = 60,
-- textures and model
collisionbox = {-0.9,-0.01,-0.9, 0.9,2.5,0.9},
visual = "mesh",
@ -37,10 +37,13 @@ mobs:register_mob("mobs:minotaur", {
view_range = 16,
-- drops desert_sand and coins when dead
drops = {
{name = "default:desert_sand",
chance = 1, min = 3, max = 5,},
{name = "maptools:copper_coin",
chance = 5, min = 2, max = 4,},
{name = "maptools:gold_coin",
chance = 40, min = 1, max = 1,},
{name = "mobs:minotaur_eye", -- NOT IMPLEMENTED YET - used for runes mod
chance = 1, min = 1, max = 2,},
{name = "mobs:minotaur_horn", -- NOT IMPLEMENTED YET - used for 3d_armor/throwing_enhanced mod
chance = 1, min = 1, max = 2,},
},
},
water_damage = 1,
lava_damage = 5,
@ -54,3 +57,20 @@ mobs:register_mob("mobs:minotaur", {
punch_start = 40, punch_end = 50,
},
})
-- 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, 20000, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:minotaur", "Minotaur", "default_desert_sand.png", 1)
minetest.register_craftitem("mobs:minotaur_eye", {
description = "Minotaur Eye",
inventory_image = "mobs_minotaur_eye.png",
groups = {magic = 1},
})
minetest.register_craftitem("mobs:minotaur_horn", {
description = "Minotaur Horn",
inventory_image = "mobs_minotaur_eye.png",
groups = {magic = 1},
})

View File

@ -38,7 +38,7 @@ mobs:register_mob("mobs:oerkki", {
{name = "default:obsidian",
chance = 3, min = 1, max = 2,},
{name = "maptools:silver_coin",
chance = 2, min = 2, max = 3,},
chance = 1, min = 1, max = 1,},
},
-- damaged by
water_damage = 2,

View File

@ -36,8 +36,8 @@ mobs:register_mob("mobs:sand_monster", {
drops = {
{name = "default:desert_sand",
chance = 1, min = 3, max = 5,},
{name = "maptools:copper_coin",
chance = 2, min = 2, max = 4,},
{name = "maptools:silver_coin",
chance = 10, min = 1, max = 1,},
},
-- damaged by
water_damage = 3,
@ -52,7 +52,9 @@ mobs:register_mob("mobs:sand_monster", {
punch_start = 74, punch_end = 105,
},
})
-- spawns on desert sand between -1 and 20 light, 1 in 7500 chance, 1 sand monster in area up to 31000 in height
mobs:register_spawn("mobs:sand_monster", {"default:desert_sand", "default:sand"}, 20, -1, 8000, 1, 31000)
-- spawns on desert sand between -1 and 20 light, 1 in 15000 chance, 1 sand monster in area up to 31000 in height
mobs:register_spawn("mobs:sand_monster", {"default:desert_sand"}, 20, -1, 15000, 1, 31000)
-- spawns on sand between -1 and 20 light, 1 in 8000 chance, 1 sand monster in area up to 31000 in height
mobs:register_spawn("mobs:sand_monster", {"default:sand"}, 20, -1, 8000, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:sand_monster", "Sand Monster", "default_desert_sand.png", 1)

View File

@ -41,8 +41,8 @@ mobs:register_mob("mobs:spider", {
chance = 2, min = 1, max = 3,},
{name = "mobs:meat_raw",
chance = 4, min = 1, max = 2,},
{name = "maptools:copper_coin",
chance = 2, min = 2, max = 6,},
{name = "maptools:silver_coin",
chance = 3, min = 1, max = 1,},
},
-- damaged by
water_damage = 5,

View File

@ -42,7 +42,7 @@ mobs:register_mob("mobs:stone_monster", {
{name = "default:coal_lump",
chance = 3, min = 1, max = 3,},
{name = "maptools:silver_coin",
chance = 2, min = 2, max = 3,},
chance = 1, min = 1, max = 1,},
},
-- damaged by
water_damage = 0,

View File

@ -26,12 +26,12 @@ mobs:register_mob("mobs:tree_monster", {
sounds = {
random = "mobs_treemonster",
},
-- speed and jumop
-- speed and jump
walk_velocity = 0.5,
run_velocity = 2.5,
jump = true,
view_range = 16,
-- drops saplings, junglesapling, apple and/or silver coins
-- drops saplings, junglesapling, apple and/or silver coin
drops = {
{name = "default:sapling",
chance = 2, min = 1, max = 2},
@ -40,7 +40,7 @@ mobs:register_mob("mobs:tree_monster", {
{name = "default:apple",
chance = 2, min = 1, max = 3,},
{name = "maptools:silver_coin",
chance = 4, min = 1, max = 1,},
chance = 3, min = 1, max = 1,},
},
-- damaged by
water_damage = 1,

View File

@ -34,13 +34,9 @@ mobs:register_mob("mobs:wolf", {
-- drops mese or diamond when dead
drops = {
{name = "mobs:meat_raw",
chance = 1,
min = 2,
max = 3,},
{name = "maptools:copper_coin",
chance = 2,
min = 1,
max = 4,},
chance = 1, min = 2, max = 3,},
{name = "maptools:silver_coin",
chance = 3, min = 1, max = 1,},
},
-- damaged by
water_damage = 1,

View File

@ -40,14 +40,14 @@ mobs:register_mob("mobs:yeti", {
-- drops ice when dead
drops = {
{name = "default:ice",
chance = 1,
min = 1,
max = 3,},
chance = 1, min = 1, max = 3,},
{name = "maptools:silver_coin",
chance = 2, min = 1, max = 1,},
},
-- damaged by
water_damage = 1,
lava_damage = 5,
light_damage = 1,
light_damage = 0,
-- model animation
animation = {
speed_normal = 30, speed_run = 30,
@ -57,8 +57,8 @@ mobs:register_mob("mobs:yeti", {
punch_start = 200, punch_end = 219,
},
})
-- spawn on stone between 20 and -1 light, 1 in 7000 chance, 1 in area below -25
mobs:register_spawn("mobs:yeti", {"default:dirt_with_snow", "default:snowblock", "default:ice"}, 10, -1, 7000, 1, 31000)
-- spawn on stone between 20 and -1 light, 1 in 7000 chance, 1 in area below 31000
mobs:register_spawn("mobs:yeti", {"default:dirt_with_snow", "default:snowblock", "default:ice"}, 20, -1, 7000, 1, 31000)
-- register spawn egg
mobs:register_egg("mobs:yeti", "Yeti", "default_snow.png", 1)

View File

@ -35,10 +35,12 @@ mobs:register_mob("mobs:zombie", {
run_velocity = 3,
jump = true,
floats = 0,
-- drops dirt and coins when dead
-- drops nether fruit and silver coin when dead
drops = {
{name = "maptools:copper_coin",
chance = 2, min = 2, max = 8,},
{name = "nether:apple",
chance = 4, min = 1, max = 1,},
{name = "maptools:silver_coin",
chance = 1, min = 1, max = 1,},
},
-- damaged by
water_damage = 1,

View File

@ -34,8 +34,8 @@ mobs:register_mob("tsm_pyramids:mummy", {
drops = {
{name = "default:papyrus",
chance = 1, min = 3, max = 5,},
{name = "maptools:copper_coin",
chance = 2, min = 2, max = 4,},
{name = "maptools:silver_coin",
chance = 10, min = 1, max = 1,},
},
-- damaged by
water_damage = 0,

Binary file not shown.