moonheron.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. mobs.register_mob("nssm:moonheron", {
  2. type = "monster",
  3. description = "Moonheron",
  4. hp_max = 33*500,
  5. hp_min = 22*500,
  6. collisionbox = {-0.45, -0.3, -0.45, 0.45, 0.3, 0.45},
  7. visual = "mesh",
  8. mesh = "moonheron.x",
  9. textures = {
  10. {"moonheron.png"}
  11. },
  12. visual_size = {x = 10, y = 10},
  13. view_range = 25,
  14. rotate = 270,
  15. walk_velocity = 2,
  16. walk_chance = 5,
  17. run_velocity = 3,
  18. fall_speed = 0,
  19. stepheight = 3,
  20. sounds = {
  21. random = "moonheron",
  22. distance =40,
  23. },
  24. damage = 5*500,
  25. jump = true,
  26. drops = {
  27. --{name = "nssm:life_energy", chance = 1, min = 2, max = 3},
  28. --{name = "nssm:heron_leg", chance = 1, min = 1, max = 1},
  29. },
  30. armor = 70,
  31. floats = 1,
  32. drawtype = "front",
  33. water_damage = 5*500,
  34. lava_damage = 5*500,
  35. fire_damage = 5*500,
  36. group_attack = true,
  37. attack_animals = true,
  38. knock_back = 4,
  39. blood_texture = "nssm_blood.png",
  40. fly = true,
  41. attack_type = "dogfight",
  42. animation = {
  43. speed_normal = 25,
  44. speed_run = 35,
  45. stand_start = 140,
  46. stand_end = 200,
  47. walk_start = 20,
  48. walk_end = 60,
  49. run_start = 20,
  50. run_end = 60,
  51. punch_start = 80,
  52. punch_end = 120,
  53. }
  54. })
  55. mobs.register_egg("nssm:moonheron", "Moonheron", "default_obsidian.png", 1)