giant_sandworm.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. mobs:register_mob("nssm:giant_sandworm", {
  2. type = "monster",
  3. hp_max = 330,
  4. hp_min = 330,
  5. collisionbox = {-1.2, 0, -1.2, 1.2, 4.5, 1.2},
  6. visual = "mesh",
  7. mesh = "giant_sandworm.x",
  8. textures = {
  9. {"sandworm.png"}
  10. },
  11. visual_size = {x = 13, y = 13},
  12. makes_footstep_sound = false,
  13. view_range = 9,
  14. rotate = 270,
  15. reach = 8,
  16. walk_velocity = 0,
  17. run_velocity = 0,
  18. damage = 12,
  19. jump = false,
  20. drops = {
  21. {name = "nssm:worm_flesh", chance = 1, min = 20, max = 30},
  22. {name = "nssm:sandworm_skin", chance = 2, min = 3, max = 12},
  23. {name = "nssm:life_energy", chance = 1, min = 7, max = 8},
  24. {name = "nssm:digested_sand", chance = 1, min = 1, max = 1},
  25. },
  26. armor = 40,
  27. drawtype = "front",
  28. water_damage = 5,
  29. lava_damage = 3,
  30. light_damage = 0,
  31. fire_damage = 0,
  32. blood_texture = "nssm_blood_blue.png",
  33. blood_amount = 50,
  34. knock_back = 0,
  35. jump_height = 0,
  36. attack_type = "dogfight",
  37. animation = {
  38. speed_normal = 25,
  39. speed_run = 40,
  40. stand_start = 1,
  41. stand_end = 100,
  42. walk_start = 110,
  43. walk_end = 140,
  44. run_start = 110,
  45. run_end = 140,
  46. punch_start = 150,
  47. punch_end = 180,
  48. },
  49. })