scrausics.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. mobs.register_mob("nssm:scrausics", {
  2. type = "monster",
  3. description = "Scrausics",
  4. hp_max = 33*500,
  5. hp_min = 22*500,
  6. collisionbox = {-0.4, -0.3, -0.4, 0.4, 0.3, 0.4},
  7. visual = "mesh",
  8. mesh = "scrausics.x",
  9. textures = {
  10. {"scrausics.png"}
  11. },
  12. visual_size = {x = 10, y = 10},
  13. view_range = 30,
  14. rotate = 270,
  15. walk_velocity = 2,
  16. run_velocity = 3,
  17. fall_speed = 0,
  18. stepheight = 3,
  19. floats=1,
  20. sounds = {
  21. random = "scrausics",
  22. distance = 40,
  23. },
  24. damage = 4*500,
  25. jump = true,
  26. drops = {
  27. --{name = "nssm:life_energy", chance = 1, min = 3, max = 4},
  28. --{name = "nssm:raw_scrausics_wing", chance = 1, min = 1, max = 2},
  29. },
  30. armor = 80,
  31. drawtype = "front",
  32. water_damage = 5*500,
  33. lava_damage = 5*500,
  34. fire_damage = 5*500,
  35. light_damage = 0,
  36. group_attack = true,
  37. attack_animals = true,
  38. knock_back = 2,
  39. blood_texture = "nssm_blood.png",
  40. fly = true,
  41. attack_type = "dogfight",
  42. animation = {
  43. speed_normal = 25,
  44. speed_run = 25,
  45. stand_start = 220,
  46. stand_end = 280,
  47. walk_start = 140,
  48. walk_end = 180,
  49. run_start = 190,
  50. run_end = 210,
  51. punch_start = 20,
  52. punch_end = 50,
  53. }
  54. })
  55. mobs.register_egg("nssm:scrausics", "Scrausics", "fire_basic_flame.png", 1)