daddy_long_legs.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. mobs:register_mob("nssm:daddy_long_legs", {
  2. type = "monster",
  3. hp_max = 22,
  4. hp_min = 16,
  5. collisionbox = {-0.4, 0.00, -0.4, 0.4, 0.6, 0.4},
  6. visual = "mesh",
  7. mesh = "daddy_long_legs.x",
  8. textures = {
  9. {"daddy_long_legs.png"}
  10. },
  11. visual_size = {x = 8, y = 8},
  12. makes_footstep_sound = true,
  13. view_range = 12,
  14. walk_velocity = 0.7,
  15. fear_height = 4,
  16. run_velocity = 3.3,
  17. rotate = 90,
  18. sounds = {
  19. random = "daddy",
  20. },
  21. damage = 3,
  22. jump = true,
  23. drops = {
  24. {name = "nssm:life_energy", chance = 1, min = 1, max = 2},
  25. {name = "nssm:spider_leg", chance = 3, min = 1, max = 8},
  26. {name = "nssm:spider_meat", chance = 4, min = 1, max = 2},
  27. },
  28. armor = 70,
  29. drawtype = "front",
  30. water_damage = 1,
  31. lava_damage = 7,
  32. fire_damage = 7,
  33. light_damage = 0,
  34. group_attack = true,
  35. attack_animals = true,
  36. knock_back = 2,
  37. blood_texture = "nssm_blood_blue.png",
  38. stepheight = 1.1,
  39. attack_type = "dogfight",
  40. animation = {
  41. speed_normal = 20,
  42. speed_run = 25,
  43. stand_start = 1,
  44. stand_end = 60,
  45. walk_start = 80,
  46. walk_end = 120,
  47. run_start = 80,
  48. run_end = 120,
  49. punch_start = 140,
  50. punch_end = 165,
  51. }
  52. })