omsk.lua 873 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. mobs:register_mob("mobs_flat:omsk", {
  2. type = "monster",
  3. passive = false,
  4. attack_type = "dogfight",
  5. pathfinding = true,
  6. reach = 1,
  7. damage = 3,
  8. hp_min = 16,
  9. hp_max = 32,
  10. armor = 100,
  11. collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
  12. visual = "upright_sprite",
  13. visual_size = {x=2, y=2},
  14. textures = {
  15. "mobs_flat_omsk_front.png",
  16. "mobs_flat_omsk_back.png",
  17. },
  18. makes_footstep_sound = false,
  19. sounds = {
  20. random = "mobs_omsk",
  21. },
  22. walk_velocity = 1,
  23. run_velocity = 3,
  24. view_range = 10,
  25. jump = true,
  26. drops = {},
  27. water_damage = 1,
  28. lava_damage = 4,
  29. light_damage = 0,
  30. fear_height = 4,
  31. floats = 1,
  32. })
  33. mobs:spawn({
  34. name = "mobs_flat:omsk",
  35. nodes = {"default:stone", "default:cobble", "default:mossycobble"},
  36. neighbors = {"default:stone_with_iron"},
  37. chance = 7,
  38. active_object_count = 1
  39. })
  40. mobs:register_egg("mobs_flat:omsk", "Omsk", "wool_red.png", 1)