2015-05-05 13:37:37 +02:00
|
|
|
|
|
|
|
-- Minotaur Monster by ???
|
|
|
|
|
|
|
|
mobs:register_mob("mobs:minotaur", {
|
|
|
|
-- animal, monster, npc, barbarian
|
|
|
|
type = "monster",
|
2015-05-16 22:30:02 +02:00
|
|
|
-- aggressive, deals 11 damage to player when hit
|
2015-05-05 13:37:37 +02:00
|
|
|
passive = false,
|
|
|
|
attack_type = "dogfight",
|
2015-07-13 23:12:30 +02:00
|
|
|
damage = 10,
|
2015-05-05 13:37:37 +02:00
|
|
|
-- health & armor
|
2015-06-25 00:18:53 +02:00
|
|
|
hp_min = 80,
|
|
|
|
hp_max = 100,
|
2015-06-25 00:05:01 +02:00
|
|
|
armor = 70,
|
2015-05-05 13:37:37 +02:00
|
|
|
-- textures and model
|
|
|
|
collisionbox = {-0.9,-0.01,-0.9, 0.9,2.5,0.9},
|
|
|
|
visual = "mesh",
|
|
|
|
mesh = "mobs_minotaur.b3d",
|
|
|
|
textures = {
|
|
|
|
{"mobs_minotaur.png"},
|
|
|
|
},
|
|
|
|
visual_size = {x=1, y=1},
|
|
|
|
blood_texture = "mobs_blood.png",
|
|
|
|
-- sounds
|
|
|
|
makes_footstep_sound = true,
|
|
|
|
-- sounds = {
|
|
|
|
-- random = "mobs_zombie",
|
|
|
|
-- damage = "mobs_zombie_hit",
|
|
|
|
-- attack = "mobs_zombie_attack",
|
|
|
|
-- death = "mobs_zombie_death",
|
|
|
|
-- },
|
|
|
|
-- speed and jump
|
2015-06-08 22:12:31 +02:00
|
|
|
walk_velocity = 3,
|
2015-05-05 13:37:37 +02:00
|
|
|
run_velocity = 4,
|
|
|
|
jump = true,
|
|
|
|
floats = 1,
|
|
|
|
view_range = 16,
|
2015-06-25 00:18:53 +02:00
|
|
|
knock_back = 0.05, --this is a test
|
2015-05-05 13:37:37 +02:00
|
|
|
-- drops desert_sand and coins when dead
|
|
|
|
drops = {
|
2015-05-16 22:30:02 +02:00
|
|
|
{name = "maptools:gold_coin",
|
|
|
|
chance = 40, min = 1, max = 1,},
|
2015-06-28 00:17:30 +02:00
|
|
|
{name = "mobs:minotaur_eye",
|
|
|
|
chance = 2, min = 1, max = 2,},
|
|
|
|
{name = "mobs:minotaur_horn",
|
|
|
|
chance = 4, min = 1, max = 2,},
|
2015-07-08 14:46:40 +02:00
|
|
|
{name = "mobs:minotaur_fur",
|
|
|
|
chance = 1, min = 1, max = 3,},
|
2015-05-16 22:30:02 +02:00
|
|
|
},
|
2015-05-05 13:37:37 +02:00
|
|
|
water_damage = 1,
|
|
|
|
lava_damage = 5,
|
2015-06-08 22:12:31 +02:00
|
|
|
light_damage = 0,
|
2015-05-05 13:37:37 +02:00
|
|
|
-- model animation
|
|
|
|
animation = {
|
|
|
|
speed_normal = 15, speed_run = 15,
|
|
|
|
stand_start = 0, stand_end = 19,
|
|
|
|
walk_start = 20, walk_end = 39,
|
|
|
|
run_start = 20, run_end = 39,
|
|
|
|
punch_start = 40, punch_end = 50,
|
|
|
|
},
|
|
|
|
})
|
2015-05-16 22:30:02 +02:00
|
|
|
-- spawns on desert sand between -1 and 20 light, 1 in 20000 chance, 1 Minotaur in area up to 31000 in height
|
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
2015-07-13 13:14:17 +02:00
|
|
|
mobs:register_spawn("mobs:minotaur", {"watershed:drygrass"}, 20, -1, 25000, 1, 31000)
|
2015-05-16 22:30:02 +02:00
|
|
|
-- 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",
|
2015-05-29 01:12:08 +02:00
|
|
|
inventory_image = "mobs_minotaur_horn.png",
|
2015-05-16 22:30:02 +02:00
|
|
|
groups = {magic = 1},
|
2015-05-17 11:48:23 +02:00
|
|
|
})
|
2015-07-08 14:46:40 +02:00
|
|
|
|
|
|
|
minetest.register_craftitem("mobs:minotaur_fur", {
|
|
|
|
description = "Minotaur Fur",
|
|
|
|
inventory_image = "mobs_minotaur_fur.png",
|
|
|
|
groups = {magic = 1},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem("mobs:minautor_lots_of_fur", {
|
|
|
|
description = "Lot of Minotaur Fur",
|
|
|
|
inventory_image = "mobs_minautor_lots_of_fur.png",
|
|
|
|
groups = {magic = 1},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "mobs:minautor_lots_of_fur",
|
|
|
|
recipe = {{"mobs:minautor_fur", "mobs:minautor_fur"},
|
|
|
|
{"mobs:minautor_fur", "mobs:minautor_fur"},
|
|
|
|
},
|
|
|
|
})
|