morgre.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. mobs:register_mob("nssm:morgre", {
  2. type = "monster",
  3. hp_max = 33,
  4. hp_min = 17,
  5. collisionbox = {-0.20, -0.1, -0.20, 0.20, 1.60, 0.20},
  6. visual = "mesh",
  7. mesh = "morgre.x",
  8. rotate = 270,
  9. textures = {
  10. {"morgre.png"}
  11. },
  12. visual_size = {x = 5, y = 5},
  13. explosion_radius = 4,
  14. makes_footstep_sound = true,
  15. view_range = 25,
  16. fear_height = 4,
  17. walk_velocity = 0.5,
  18. run_velocity = 3.5,
  19. sounds = {
  20. explode = "tnt_explode",
  21. random = "morgre1",
  22. },
  23. damage = 1,
  24. jump = true,
  25. drops = {
  26. {name = "nssm:life_energy", chance = 1, min = 1, max = 2},
  27. {name = "nssm:greedy_soul_fragment", chance = 5, min = 1, max = 1},
  28. },
  29. armor = 60,
  30. drawtype = "front",
  31. water_damage = 0,
  32. lava_damage = 0,
  33. fire_damage = 0,
  34. light_damage = 0,
  35. group_attack = true,
  36. attack_animals = true,
  37. knock_back = 1,
  38. blood_texture = "morparticle.png",
  39. stepheight = 1.1,
  40. attack_type = "explode",
  41. animation = {
  42. speed_normal = 25,
  43. speed_run = 25,
  44. stand_start = 10,
  45. stand_end = 40,
  46. walk_start = 50,
  47. walk_end = 90,
  48. run_start = 120,
  49. run_end = 140,
  50. punch_start = 100,
  51. punch_end = 110,
  52. }
  53. })