init.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. -- SOUND :
  2. -- https://freesound.org/people/NicknameLarry/sounds/489901/
  3. mobs:register_mob("heated:heated", {
  4. nametag = "Heated Boss" ,
  5. type = "monster",
  6. passive = false,
  7. attack_npcs = false,
  8. attack_type = "dogfight",
  9. pathfinding = true,
  10. reach = 8,
  11. damage = 20,
  12. hp_min = 1400,
  13. hp_max = 1400,
  14. armor = 80,
  15. collisionbox = {-1.0, -1.5, -1.0, 1.0, 2.0, 1.0},
  16. visual = "mesh",
  17. mesh = "heated.b3d",
  18. rotate = 180,
  19. textures = {
  20. {"heated.png"},
  21. },
  22. glow = 2,
  23. blood_texture = "default_obsidian_shard.png",
  24. makes_footstep_sound = true,
  25. sounds = {
  26. random = "monsterhot",
  27. --attack = "monster",
  28. --death = "",
  29. },
  30. fly = true ,
  31. fly_in = "air",
  32. walk_velocity = 2,
  33. run_velocity = 4,
  34. jump_height = 2,
  35. stepheight = 3.0,
  36. floats = 0,
  37. view_range = 35,
  38. drops = {
  39. {name = "ebitems:sword_obsidian", chance = 1, min = 1, max = 1},
  40. {name = "ebitems:heated_trophy", chance = 1, min = 1, max = 1},
  41. --{name = "", chance = 2, min = 1, max = 2},
  42. },
  43. water_damage = 1,
  44. lava_damage = 0,
  45. light_damage = 0,
  46. animation = {
  47. speed_normal = 15,
  48. speed_run = 30,
  49. speed_punch = 50,
  50. stand_start = 1,
  51. stand_end = 20,
  52. walk_start = 30,
  53. walk_end = 70,
  54. run_start = 80,
  55. run_end = 100,
  56. punch_start = 110,
  57. punch_end = 130,
  58. },
  59. })
  60. mobs:spawn({
  61. name = "heated:heated",
  62. nodes = {"ethereal:fiery_dirt"},
  63. max_light = 7,
  64. chance = 12000,
  65. max_height = 200,
  66. min_height = 0,
  67. })
  68. mobs:register_egg("heated:heated", "heated", "eggsheated.png", 1)
  69. core.register_alias("heated:heated", "spawneggs:heated")
  70. mobs:alias_mob("heated:heated", "mobs:heated") -- compatibility