mummy.lua 1.1 KB

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