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:
parent
e4f16e4911
commit
1640a32619
@ -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,
|
||||||
|
5
cow.lua
5
cow.lua
@ -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,
|
||||||
|
3
rat.lua
3
rat.lua
@ -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"},
|
||||||
|
@ -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
BIN
textures/mobs_rat3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 827 B |
Loading…
Reference in New Issue
Block a user