scrausics.lua 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. mobs:register_mob("nssm:scrausics", {
  2. type = "monster",
  3. hp_max = 33,
  4. hp_min = 22,
  5. collisionbox = {-0.4, -0.3, -0.4, 0.4, 0.3, 0.4},
  6. visual = "mesh",
  7. mesh = "scrausics.x",
  8. textures = {
  9. {"scrausics.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. floats=1,
  19. sounds = {
  20. random = "scrausics",
  21. distance = 40,
  22. },
  23. damage = 4,
  24. jump = true,
  25. drops = {
  26. {name = "nssm:life_energy", chance = 1, min = 3, max = 4},
  27. {name = "nssm:raw_scrausics_wing", chance = 1, min = 1, max = 2},
  28. },
  29. armor = 80,
  30. drawtype = "front",
  31. water_damage = 5,
  32. lava_damage = 5,
  33. fire_damage = 5,
  34. light_damage = 0,
  35. group_attack = true,
  36. attack_animals = true,
  37. knock_back = 2,
  38. blood_texture = "nssm_blood.png",
  39. fly = true,
  40. attack_type = "dogfight",
  41. animation = {
  42. speed_normal = 25,
  43. speed_run = 25,
  44. stand_start = 220,
  45. stand_end = 280,
  46. walk_start = 140,
  47. walk_end = 180,
  48. run_start = 190,
  49. run_end = 210,
  50. punch_start = 20,
  51. punch_end = 50,
  52. }
  53. })