2014-05-25 23:11:48 -05:00
|
|
|
mobs:register_mob("mobs:barbarian1", {
|
2014-06-22 00:03:24 -05:00
|
|
|
type = "barbarian",
|
2014-05-25 23:11:48 -05:00
|
|
|
hp_min = 20,
|
|
|
|
hp_max = 65,
|
|
|
|
exp_min = 10,
|
|
|
|
exp_max = 65,
|
|
|
|
collisionbox = {-0.35,-1.0,-0.35, 0.35,0.8,0.35},
|
|
|
|
visual = "mesh",
|
|
|
|
mesh = "3d_armor_character.x",
|
|
|
|
textures = {"mobs_barbarian1.png",
|
|
|
|
"3d_armor_trans.png",
|
2014-06-22 00:03:24 -05:00
|
|
|
minetest.registered_items["default:sword_steel"].inventory_image,
|
2014-05-25 23:11:48 -05:00
|
|
|
},
|
|
|
|
visual_size = {x=1, y=1},
|
|
|
|
makes_footstep_sound = true,
|
|
|
|
view_range = 10,
|
|
|
|
walk_velocity = 2,
|
|
|
|
run_velocity = 4,
|
|
|
|
damage = 4,
|
|
|
|
drops = { },
|
|
|
|
armor = 150,
|
|
|
|
drawtype = "front",
|
|
|
|
water_damage = 1,
|
|
|
|
lava_damage = 5,
|
|
|
|
light_damage = 0,
|
|
|
|
on_rightclick = nil,
|
|
|
|
attack_type = "dogfight",
|
|
|
|
animation = {
|
|
|
|
speed_normal = 30,
|
|
|
|
speed_run = 30,
|
|
|
|
stand_start = 0,
|
|
|
|
stand_end = 79,
|
|
|
|
walk_start = 168,
|
|
|
|
walk_end = 187,
|
|
|
|
run_start = 168,
|
|
|
|
run_end = 187,
|
|
|
|
punch_start = 200,
|
|
|
|
punch_end = 219,
|
|
|
|
},
|
|
|
|
jump = true,
|
|
|
|
sounds = {
|
|
|
|
war_cry = "mobs_barbarian_yell2",
|
|
|
|
death = "mobs_barbarian_death",
|
2014-06-22 00:03:24 -05:00
|
|
|
attack = "default_sword_steel2",
|
2014-05-25 23:11:48 -05:00
|
|
|
},
|
|
|
|
step=0.5,
|
|
|
|
blood_amount = 35,
|
|
|
|
blood_offset = 0.25,
|
2014-07-07 22:00:46 -05:00
|
|
|
activity_level=2,
|
2014-05-25 23:11:48 -05:00
|
|
|
})
|
|
|
|
|
|
|
|
mobs:register_mob("mobs:barbarian2", {
|
2014-06-22 00:03:24 -05:00
|
|
|
type = "barbarian",
|
2014-05-25 23:11:48 -05:00
|
|
|
hp_min = 20,
|
|
|
|
hp_max = 65,
|
|
|
|
exp_min = 10,
|
|
|
|
exp_max = 65,
|
|
|
|
collisionbox = {-0.35,-1.0,-0.35, 0.35,0.8,0.35},
|
|
|
|
visual = "mesh",
|
|
|
|
mesh = "3d_armor_character.x",
|
|
|
|
textures = {"mobs_barbarian2.png",
|
|
|
|
"3d_armor_trans.png",
|
2014-06-22 00:03:24 -05:00
|
|
|
minetest.registered_items["default:axe_steel"].inventory_image,
|
2014-05-25 23:11:48 -05:00
|
|
|
},
|
|
|
|
visual_size = {x=1, y=1},
|
|
|
|
makes_footstep_sound = true,
|
|
|
|
view_range = 10,
|
|
|
|
walk_velocity = 2,
|
|
|
|
run_velocity = 4,
|
|
|
|
damage = 4,
|
|
|
|
drops = { },
|
|
|
|
armor = 150,
|
|
|
|
drawtype = "front",
|
|
|
|
water_damage = 1,
|
|
|
|
lava_damage = 5,
|
|
|
|
light_damage = 0,
|
|
|
|
on_rightclick = nil,
|
|
|
|
attack_type = "dogfight",
|
|
|
|
animation = {
|
|
|
|
speed_normal = 30,
|
|
|
|
speed_run = 30,
|
|
|
|
stand_start = 0,
|
|
|
|
stand_end = 79,
|
|
|
|
walk_start = 168,
|
|
|
|
walk_end = 187,
|
|
|
|
run_start = 168,
|
|
|
|
run_end = 187,
|
|
|
|
punch_start = 200,
|
|
|
|
punch_end = 219,
|
|
|
|
},
|
|
|
|
jump = true,
|
|
|
|
sounds = {
|
|
|
|
war_cry = "mobs_barbarian_yell1",
|
|
|
|
death = "mobs_barbarian_death",
|
2014-06-22 00:03:24 -05:00
|
|
|
attack = "default_sword_steel",
|
2014-05-25 23:11:48 -05:00
|
|
|
},
|
|
|
|
step=0.5,
|
|
|
|
blood_amount = 35,
|
|
|
|
blood_offset = 0.25,
|
2014-07-07 22:00:46 -05:00
|
|
|
activity_level=2,
|
2014-05-25 23:11:48 -05:00
|
|
|
})
|
2014-07-07 22:00:46 -05:00
|
|
|
|
|
|
|
mobs:register_mob("mobs:barbarian_archer", {
|
|
|
|
type = "barbarian",
|
|
|
|
hp_min = 10,
|
|
|
|
hp_max = 45,
|
|
|
|
exp_min = 10,
|
|
|
|
exp_max = 65,
|
|
|
|
collisionbox = {-0.35,-1.0,-0.35, 0.35,0.8,0.35},
|
|
|
|
visual = "mesh",
|
|
|
|
mesh = "3d_armor_character.x",
|
|
|
|
textures = {"mobs_barbarian_archer.png",
|
|
|
|
"3d_armor_trans.png",
|
|
|
|
minetest.registered_items["throwing:bow_steel"].inventory_image,
|
|
|
|
},
|
|
|
|
visual_size = {x=1, y=1},
|
|
|
|
makes_footstep_sound = true,
|
|
|
|
view_range = 25,
|
|
|
|
walk_velocity = 2,
|
|
|
|
run_velocity = 4,
|
|
|
|
damage = 4,
|
|
|
|
drops = { },
|
|
|
|
armor = 150,
|
|
|
|
drawtype = "front",
|
|
|
|
water_damage = 1,
|
|
|
|
lava_damage = 5,
|
|
|
|
light_damage = 0,
|
|
|
|
on_rightclick = nil,
|
|
|
|
attack_type = "shoot",
|
2015-07-21 22:44:35 -05:00
|
|
|
attack_range = 15,
|
2014-07-07 22:00:46 -05:00
|
|
|
arrow_offset = 1.2,
|
|
|
|
arrow = "throwing:arrow_entity",
|
|
|
|
shoot_interval = 2.2,
|
|
|
|
animation = {
|
|
|
|
speed_normal = 30,
|
|
|
|
speed_run = 30,
|
|
|
|
stand_start = 0,
|
|
|
|
stand_end = 79,
|
|
|
|
walk_start = 168,
|
|
|
|
walk_end = 187,
|
|
|
|
run_start = 168,
|
|
|
|
run_end = 187,
|
|
|
|
punch_start = 189,
|
|
|
|
punch_end = 198,
|
|
|
|
},
|
|
|
|
jump = true,
|
|
|
|
sounds = {
|
|
|
|
death = "mobs_barbarian_death",
|
|
|
|
},
|
|
|
|
step=0.5,
|
|
|
|
blood_amount = 35,
|
|
|
|
blood_offset = 0.25,
|
|
|
|
activity_level=2,
|
|
|
|
})
|
|
|
|
|