moonheron.lua 1.0 KB

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