kraken.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. mobs:register_mob("nssm:kraken", {
  2. type = "monster",
  3. hp_max = 350,
  4. hp_min = 350,
  5. collisionbox = {-2, 0, -2, 2, 4, 2},
  6. visual = "mesh",
  7. mesh = "kraken.x",
  8. textures = {
  9. {"kraken.png"},
  10. {"kraken2.png"}
  11. },
  12. visual_size = {x = 15, y = 15},
  13. lifetimer=500,
  14. inker = false,
  15. view_range = 50,
  16. fly = true,
  17. fly_in = "default:water_source",
  18. fall_speed = -1,
  19. walk_velocity = 3.5,
  20. run_velocity = 4.5,
  21. damage = 14,
  22. rotate = 270,
  23. jump = false,
  24. jump_chance = 0,
  25. jump_height = 0,
  26. sounds = {
  27. random = "kraken",
  28. },
  29. drops = {
  30. {name = "nssm:life_energy", chance = 1, min = 6, max = 7},
  31. {name = "nssm:tentacle", chance = 1, min = 30, max = 40},
  32. {name = "nssm:tentacle_curly", chance = 1, min = 1, max = 1},
  33. },
  34. armor = 50,
  35. drawtype = "front",
  36. water_damage = 0,
  37. lava_damage = 10,
  38. fire_damage = 10,
  39. light_damage = 0,
  40. blood_texture = "nssm_blood_blue.png",
  41. blood_amount = 100,
  42. knock_back = 0,
  43. attack_type = "dogfight",
  44. reach = 8,
  45. animation = {
  46. speed_normal = 20,
  47. speed_run = 30,
  48. stand_start = 1,
  49. stand_end = 40,
  50. walk_start = 60,
  51. walk_end = 100,
  52. run_start = 60,
  53. run_end = 100,
  54. punch_start = 120,
  55. punch_end = 150,
  56. }
  57. })