1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-22 17:00:26 +01:00

add white rat, replace sounds

This commit is contained in:
tenplus1 2024-11-04 13:34:05 +00:00
parent e4f16e4911
commit 1640a32619
7 changed files with 14 additions and 4 deletions

View File

@ -20,7 +20,10 @@ mobs:register_mob("mobs_animal:chicken", {
}, },
child_texture = {{"mobs_chick.png"}}, child_texture = {{"mobs_chick.png"}},
makes_footstep_sound = true, makes_footstep_sound = true,
sounds = {random = "mobs_chicken"}, sounds = {
random = "mobs_chicken",
replace = "default_dig_crumbly"
},
walk_velocity = 1, walk_velocity = 1,
run_velocity = 3, run_velocity = 3,
runaway = true, runaway = true,

View File

@ -21,7 +21,10 @@ mobs:register_mob("mobs_animal:cow", {
{"mobs_cow2.png"} {"mobs_cow2.png"}
}, },
makes_footstep_sound = true, makes_footstep_sound = true,
sounds = {random = "mobs_cow"}, sounds = {
random = "mobs_cow",
replace = "default_dig_crumbly"
},
walk_velocity = 1, walk_velocity = 1,
run_velocity = 2, run_velocity = 2,
jump = true, jump = true,

View File

@ -15,7 +15,8 @@ mobs:register_mob("mobs_animal:rat", {
mesh = "mobs_rat.b3d", mesh = "mobs_rat.b3d",
textures = { textures = {
{"mobs_rat.png"}, {"mobs_rat.png"},
{"mobs_rat2.png"} {"mobs_rat2.png"},
{"mobs_rat3.png"}
}, },
makes_footstep_sound = false, makes_footstep_sound = false,
sounds = {random = "mobs_rat"}, sounds = {random = "mobs_rat"},

View File

@ -90,7 +90,10 @@ for _, col in ipairs(all_colours) do
}, },
gotten_texture = {"mobs_sheep_base.png^mobs_sheep_shaved.png"}, gotten_texture = {"mobs_sheep_base.png^mobs_sheep_shaved.png"},
makes_footstep_sound = true, makes_footstep_sound = true,
sounds = {random = "mobs_sheep"}, sounds = {
random = "mobs_sheep",
replace = "default_dig_crumbly"
},
walk_velocity = 1, walk_velocity = 1,
run_velocity = 2, run_velocity = 2,
runaway = true, runaway = true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 788 B

BIN
textures/mobs_rat3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 827 B