48 lines
1.3 KiB
Lua
48 lines
1.3 KiB
Lua
mobs:register_mob('scorpion:little', {
|
|
type = 'monster',
|
|
passive = false,
|
|
attack_type = 'dogfight',
|
|
damage = 3,
|
|
hp_min = 30, hp_max = 75, armor = 45,
|
|
collisionbox = {-0.6, -0.35, -0.5, 0.6, 0.3, 0.5},
|
|
visual = 'mesh',
|
|
mesh = 'scorpion.b3d',
|
|
drawtype = 'front',
|
|
textures = {
|
|
{'scorpion_red.png'},
|
|
{'scorpion_green.png'},
|
|
{'scorpion_tan.png'},
|
|
},
|
|
blood_texture = 'mobs_blood.png',
|
|
visual_size = {x=7,y=7},
|
|
makes_footstep_sound = true,
|
|
sounds = {
|
|
war_cry = 'scorpion_squeak',
|
|
},
|
|
walk_velocity = 2,
|
|
run_velocity = 6,
|
|
jump = true,
|
|
stepheight = 1.7,
|
|
reach = 3,
|
|
view_range = 6,
|
|
fear_height = 2,
|
|
drops = {
|
|
{name = 'mobs:meat_raw', chance = 1, min = 2, max = 8},
|
|
},
|
|
water_damage = 2,
|
|
lava_damage = 60,
|
|
light_damage = 0,
|
|
animation = {
|
|
speed_normal = 45, speed_run = 90,
|
|
stand_start = 0, stand_end = 60,
|
|
walk_start = 150, walk_end = 210,
|
|
run_start = 150, run_end = 210,
|
|
punch_start = 220, punch_end = 260,
|
|
punch2_start = 265, punch2_end = 305,
|
|
punch3_start = 70, punch3_end = 140,
|
|
},
|
|
})
|
|
|
|
mobs:register_spawn('scorpion:little', {'default:dirt_with_rainforest_litter', 'default:desert_sand'}, 10, 0, 2000, 7, 31000)
|
|
mobs:register_egg('scorpion:little', 'Little Scorpion', 'default_grass.png', 1)
|