48 lines
1.1 KiB
Diff
48 lines
1.1 KiB
Diff
5c5
|
|
< -- Cow by Krupnovpavel (additional texture by JurajVajda)
|
|
---
|
|
> -- Cow by Krupnovpavel (texture by Tirifto)
|
|
16c16
|
|
< collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.2, 0.4},
|
|
---
|
|
> collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4},
|
|
20,21c20,23
|
|
< {"mobs_cow.png"},
|
|
< {"mobs_cow2.png"},
|
|
---
|
|
> {"mobs_cow_brown.png"},
|
|
> {"mobs_cow_straciatella.png"},
|
|
> {"mobs_cow_straciatella2.png"},
|
|
> {"mobs_cow_meat.png"},
|
|
30d31
|
|
< jump_height = 6,
|
|
91c92
|
|
< local pos = self.object:get_pos()
|
|
---
|
|
> local pos = self.object:getpos()
|
|
103a105,110
|
|
> local spawn_on = "default:dirt_with_grass"
|
|
>
|
|
> if minetest.get_modpath("ethereal") then
|
|
> spawn_on = "ethereal:green_dirt"
|
|
> end
|
|
>
|
|
106,111c113,118
|
|
< nodes = {"default:dirt_with_grass", "ethereal:green_dirt"},
|
|
< neighbors = {"group:grass"},
|
|
< min_light = 10,
|
|
< chance = 5000, -- 15000
|
|
< min_height = 5,
|
|
< max_height = 200,
|
|
---
|
|
> nodes = {spawn_on},
|
|
> min_light = 0,
|
|
> max_light = 10,
|
|
> chance = 15000,
|
|
> min_height = 0,
|
|
> max_height = 31000,
|
|
128d134
|
|
< groups = {food_milk = 1, flammable = 3},
|
|
136d141
|
|
< groups = {food_cheese = 1, flammable = 2},
|