manticore.lua 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. mobs:register_mob("nssm:manticore", {
  2. type = "monster",
  3. hp_max = 55,
  4. hp_min = 34,
  5. collisionbox = {-0.8, -0.85, -0.8, 0.8, 1.9, 0.8},
  6. visual = "mesh",
  7. mesh = "manticore.x",
  8. textures = {
  9. {"manticore.png"}
  10. },
  11. visual_size = {x = 4, y = 4},
  12. makes_footstep_sound = true,
  13. view_range = 35,
  14. fear_height = 4,
  15. walk_velocity = 2,
  16. run_velocity = 4,
  17. sounds = {
  18. random = "manticore",
  19. },
  20. damage = 6,
  21. jump = true,
  22. drops = {
  23. {name = "nssm:life_energy", chance = 1, min = 3, max = 4},
  24. {name = "nssm:manticore_spine", chance = 3, min = 2, max = 5},
  25. {name = "nssm:manticore_fur", chance = 3, min = 1, max = 2},
  26. },
  27. armor = 60,
  28. drawtype = "front",
  29. water_damage = 2,
  30. rotate = 270,
  31. lava_damage = 5,
  32. fire_damage = 5,
  33. light_damage = 0,
  34. attack_type = "dogshoot",
  35. dogshoot_switch = true,
  36. arrow = "nssm:spine",
  37. shoot_interval = 2,
  38. group_attack = true,
  39. attack_animals = true,
  40. knock_back = 2,
  41. blood_texture = "nssm_blood.png",
  42. stepheight = 1.1,
  43. shoot_offset = 1,
  44. animation = {
  45. speed_normal = 25,
  46. speed_run = 25,
  47. stand_start = 1,
  48. stand_end = 40,
  49. walk_start = 240,
  50. walk_end = 280,
  51. run_start = 91,
  52. run_end = 108,
  53. punch_start = 110,
  54. punch_end = 143,
  55. shoot_start = 180,
  56. shoot_end=230,
  57. }
  58. })