mantis_beast.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. mobs:register_mob("nssm:mantis_beast", {
  2. type = "monster",
  3. hp_max = 30,
  4. hp_min = 27,
  5. collisionbox = {-0.65, 0.00, -0.65, 0.65, 1.50, 0.65},
  6. visual = "mesh",
  7. mesh = "mantis_beast.x",
  8. textures = {
  9. {"mantis_beast.png"},
  10. {"mantis_beast2.png"}
  11. },
  12. visual_size = {x = 6, y = 6},
  13. makes_footstep_sound = true,
  14. view_range = 25,
  15. fear_height = 4,
  16. walk_velocity = 2.5,
  17. run_velocity = 3.5,
  18. sounds = {
  19. random = "manti",
  20. },
  21. damage = 5,
  22. reach = 2,
  23. jump = true,
  24. drops = {
  25. {name = "nssm:mantis_claw", chance = 2, min = 1, max = 6},
  26. {name = "nssm:life_energy", chance = 1, min = 2, max = 3},
  27. {name = "nssm:mantis_skin", chance = 3, min = 1, max = 2},
  28. {name = "nssm:mantis_meat", chance = 2, min = 1, max = 2},
  29. },
  30. armor = 70,
  31. drawtype = "front",
  32. water_damage = 2,
  33. lava_damage = 5,
  34. fire_damage = 5,
  35. light_damage = 0,
  36. group_attack = true,
  37. attack_animals = true,
  38. knock_back = 2,
  39. blood_texture = "nssm_blood_blue.png",
  40. stepheight = 1.1,
  41. attack_type = "dogfight",
  42. animation = {
  43. speed_normal = 15,
  44. speed_run = 20,
  45. stand_start = 0,
  46. stand_end = 60,
  47. walk_start = 70,
  48. walk_end = 110,
  49. run_start = 70,
  50. run_end = 110,
  51. punch_start = 140,
  52. punch_end = 165,
  53. }
  54. })