mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-16 07:05:26 +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:
@@ -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},
|
||||
})
|
||||
Reference in New Issue
Block a user