sand_bloco.lua 1.1 KB

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