echidna.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. mobs:register_mob("nssm:echidna", {
  2. type = "monster",
  3. hp_max = 240,
  4. hp_min = 240,
  5. collisionbox = {-0.6, 0.00, -0.6, 0.6, 2, 0.6},
  6. visual = "mesh",
  7. mesh = "echidna.x",
  8. textures = {
  9. {"echidnapes.png"}
  10. },
  11. visual_size = {x = 6, y = 6},
  12. makes_footstep_sound = true,
  13. view_range = 30,
  14. rotate = 270,
  15. lifetimer = 500,
  16. fear_height = 4,
  17. walk_velocity = 2,
  18. run_velocity = 3.5,
  19. damage = 12,
  20. jump = true,
  21. sounds = {
  22. random = "echidna",
  23. },
  24. drops = {
  25. {name = "nssm:life_energy", chance = 1, min = 6, max = 7},
  26. {name = "nssm:snake_scute", chance = 1, min = 1, max = 1},
  27. },
  28. armor = 40,
  29. drawtype = "front",
  30. water_damage = 0,
  31. floats = 1,
  32. lava_damage = 0,
  33. fire_damage = 0,
  34. light_damage = 0,
  35. blood_texture = "nssm_blood.png",
  36. blood_amount = 10,
  37. stepheight = 1.1,
  38. knock_back = 0,
  39. jump_height = 8,
  40. attack_type = "dogshoot",
  41. dogshoot_switch = true,
  42. arrow = "nssm:super_gas";
  43. reach = 5,
  44. shoot_interval = 3,
  45. animation = {
  46. speed_normal = 15,
  47. speed_run = 25,
  48. stand_start = 60,
  49. stand_end = 140,
  50. walk_start = 1,
  51. walk_end = 40,
  52. run_start = 1,
  53. run_end = 40,
  54. punch_start = 160,
  55. punch_end = 190,
  56. shoot_start = 200,
  57. shoot_end = 240,
  58. }
  59. })