white_werewolf.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. local scale = 0.5
  2. local hpmul = 2.0
  3. mobs.register_mob("nssm:white_werewolf", {
  4. type = "monster",
  5. description = "Giant White Wolf",
  6. pathfinding = 1,
  7. hp_max = 40*hpmul*500,
  8. hp_min = 25*hpmul*500,
  9. collisionbox = {-0.85*scale, -0.01, -0.85*scale, 0.85*scale, 3.50*scale, 0.85*scale},
  10. visual = "mesh",
  11. mesh = "white_werewolf.x",
  12. textures = {
  13. {"white_werewolf.png"}
  14. },
  15. visual_size = {x = 4*scale, y = 4*scale},
  16. makes_footstep_sound = true,
  17. view_range = 30,
  18. walk_velocity = 3,
  19. fear_height = 4,
  20. run_velocity = 5,
  21. sounds = {
  22. random = "werewolf",
  23. },
  24. damage = 10*500,
  25. jump = true,
  26. drops = {
  27. {name = "nssm:white_wolf_leg", chance = 2, min = 1, max = 2},
  28. {name = "nssm:white_wolf_fur", chance = 2, min = 3, max = 5},
  29. },
  30. armor = 80,
  31. drawtype = "front",
  32. water_damage = 2*500,
  33. lava_damage = 5*500,
  34. light_damage = 0,
  35. group_attack = true,
  36. attack_animals = true,
  37. knock_back = 2,
  38. blood_texture = "nssm_blood.png",
  39. stepheight = 1.1,
  40. attack_type = "dogfight",
  41. animation = {
  42. speed_normal = 15,
  43. speed_run = 25,
  44. stand_start = 1,
  45. stand_end = 60,
  46. walk_start = 90,
  47. walk_end = 130,
  48. run_start = 140,
  49. run_end = 160,
  50. punch_start = 170,
  51. punch_end = 193,
  52. }
  53. })
  54. mobs.register_egg("nssm:white_werewolf", "White Wolf", "default_snow.png", 1)