cow.lua.diff 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. 5c5
  2. < -- Cow by Krupnovpavel (additional texture by JurajVajda)
  3. ---
  4. > -- Cow by Krupnovpavel (texture by Tirifto)
  5. 16c16
  6. < collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.2, 0.4},
  7. ---
  8. > collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
  9. 20,21c20,23
  10. < {"mobs_cow.png"},
  11. < {"mobs_cow2.png"},
  12. ---
  13. > {"mobs_cow_brown.png"},
  14. > {"mobs_cow_straciatella.png"},
  15. > {"mobs_cow_straciatella2.png"},
  16. > {"mobs_cow_meat.png"},
  17. 30d31
  18. < jump_height = 6,
  19. 91c92
  20. < local pos = self.object:get_pos()
  21. ---
  22. > local pos = self.object:getpos()
  23. 103a105,110
  24. > local spawn_on = "default:dirt_with_grass"
  25. >
  26. > if minetest.get_modpath("ethereal") then
  27. > spawn_on = "ethereal:green_dirt"
  28. > end
  29. >
  30. 106,111c113,118
  31. < nodes = {"default:dirt_with_grass", "ethereal:green_dirt"},
  32. < neighbors = {"group:grass"},
  33. < min_light = 10,
  34. < chance = 5000, -- 15000
  35. < min_height = 5,
  36. < max_height = 200,
  37. ---
  38. > nodes = {spawn_on},
  39. > min_light = 0,
  40. > max_light = 10,
  41. > chance = 15000,
  42. > min_height = 0,
  43. > max_height = 31000,
  44. 128d134
  45. < groups = {food_milk = 1, flammable = 3},
  46. 136d141
  47. < groups = {food_cheese = 1, flammable = 2},