dolidrosaurus.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. mobs:register_mob("nssm:dolidrosaurus", {
  2. type = "monster",
  3. hp_max = 46,
  4. hp_min = 23,
  5. collisionbox = {-0.5, 0, -0.5, 0.5, 0.52, 0.5},
  6. visual = "mesh",
  7. mesh = "dolidrosaurus.x",
  8. textures = {
  9. {"dolidrosaurus1.png"},
  10. {"dolidrosaurus2.png"},
  11. {"dolidrosaurus3.png"},
  12. {"dolidrosaurus4.png"},
  13. {"dolidrosaurus5.png"}
  14. },
  15. visual_size = {x = 4, y = 4},
  16. makes_footstep_sound = true,
  17. view_range = 30,
  18. fly = true,
  19. fly_in = "default:water_source",
  20. fall_speed = -20,
  21. walk_velocity = 1.5,
  22. run_velocity = 3.3,
  23. damage = 5,
  24. rotate = 270,
  25. jump = false,
  26. jump_chance = 0,
  27. jump_height = 0,
  28. sounds = {
  29. random = "crocod",
  30. },
  31. drops = {
  32. {name = "nssm:life_energy", chance = 1, min = 1, max = 3},
  33. {name = "nssm:dolidrosaurus_fin", chance = 2, min = 1, max = 3},
  34. },
  35. armor = 60,
  36. drawtype = "front",
  37. water_damage = 0,
  38. lava_damage = 10,
  39. fire_damage = 10,
  40. light_damage = 0,
  41. group_attack = true,
  42. attack_animals = true,
  43. knock_back = 3,
  44. blood_texture = "nssm_blood.png",
  45. on_rightclick = nil,
  46. attack_type = "dogfight",
  47. animation = {
  48. speed_normal = 25,
  49. speed_run = 35,
  50. stand_start = 1,
  51. stand_end = 80,
  52. walk_start = 140,
  53. walk_end = 180,
  54. run_start = 140,
  55. run_end = 180,
  56. punch_start = 190,
  57. punch_end = 220,
  58. }
  59. })