big.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. mobs:register_mob('scorpion:big', {
  2. type = 'monster',
  3. passive = false,
  4. attack_type = 'dogfight',
  5. damage = 20,
  6. damage_max = 30,
  7. damage_chance = 160,
  8. hp_min = 50, hp_max = 100, armor = 30,
  9. collisionbox = {-1.2, -.6, -1, 1.2, 0.6, 1},
  10. visual = 'mesh',
  11. mesh = 'scorpion.b3d',
  12. drawtype = 'front',
  13. textures = {
  14. {'scorpion_red.png'},
  15. {'scorpion_green.png'},
  16. {'scorpion_tan.png'},
  17. },
  18. blood_texture = 'mobs_blood.png',
  19. visual_size = {x=13,y=13},
  20. makes_footstep_sound = true,
  21. sounds = {
  22. war_cry = 'scorpion_squeak',
  23. },
  24. walk_velocity = .5,
  25. run_velocity = 2,
  26. jump = true,
  27. stepheight = 2.2,
  28. reach = 4,
  29. view_range = 8,
  30. fear_height = 5,
  31. drops = {
  32. {name = 'mobs:meat_raw', chance = 1, min = 5, max = 20},
  33. {name = 'scorpion:shell', chance = 1, min = 5, max = 20},
  34. {name = 'maxhp:lifeforce3', chance = 12, min = 0, max = 2},
  35. },
  36. water_damage = 2,
  37. lava_damage = 60,
  38. light_damage = 0,
  39. runaway_from = {'fantasy_mobs:larva_pet'},
  40. animation = {
  41. speed_normal = 15, speed_run = 15,
  42. stand_start = 0, stand_end = 60,
  43. walk_start = 150, walk_end = 210,
  44. run_start = 150, run_end = 210,
  45. punch_start = 220, punch_end = 260,
  46. punch2_start = 265, punch2_end = 305,
  47. punch3_start = 70, punch3_end = 140,
  48. },
  49. })
  50. mobs:spawn({
  51. name = 'scorpion:big',
  52. nodes = {'default:desert_sand'},
  53. max_light = 10,
  54. min_height = -10,
  55. max_height = 150,
  56. interval = 30,
  57. chance = 4000,
  58. active_object_count = 5,
  59. })