mummy.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. mobs:register_mob('fantasy_mobs:mummy', {
  2. description = 'Mummy',
  3. type = 'monster',
  4. damage = 20,
  5. attack_type = 'dogfight',
  6. hp_min = 100,
  7. hp_max = 200,
  8. armor = 50,
  9. collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
  10. visual = 'mesh',
  11. mesh = 'fantasy_mummy.x',
  12. textures = {
  13. {'fantasy_mummy.png'},
  14. },
  15. visual_size = {x = 8, y = 8},
  16. walk_velocity = 2,
  17. run_velocity = 4,
  18. jump = true,
  19. water_damage = 15,
  20. lava_damage = 30,
  21. light_damage = 10,
  22. reach = 3,
  23. view_range = 7,
  24. drops = {
  25. {name = 'bonemeal:bone', chance = 2, min = 1, max = 10},
  26. {name = 'furniture:fabric_white', chance = 2, min = 1, max = 1}
  27. },
  28. animation = {
  29. stand_start = 74,
  30. stand_end = 74,
  31. walk_start = 74,
  32. walk_end = 105,
  33. punch_start = 74,
  34. punch_end = 105,
  35. },
  36. })
  37. mobs:spawn({
  38. name = 'fantasy_mobs:mummy',
  39. nodes = {'pyramids:deco_stone1', 'pyramids:deco_stone2', 'pyramids:deco_stone3', 'pyramids:trap'},
  40. max_light = 13,
  41. min_height = -3,
  42. max_height = 150,
  43. interval = 30,
  44. chance = 200,
  45. active_object_count = 10,
  46. })