felucco.lua 1.1 KB

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