From 1640a3261937e59746702900b399a38b920784e4 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Mon, 4 Nov 2024 13:34:05 +0000 Subject: [PATCH] add white rat, replace sounds --- chicken.lua | 5 ++++- cow.lua | 5 ++++- rat.lua | 3 ++- sheep.lua | 5 ++++- textures/mobs_rat.png | Bin 1347 -> 675 bytes textures/mobs_rat2.png | Bin 1500 -> 788 bytes textures/mobs_rat3.png | Bin 0 -> 827 bytes 7 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 textures/mobs_rat3.png diff --git a/chicken.lua b/chicken.lua index 98d276f..ada4b5a 100644 --- a/chicken.lua +++ b/chicken.lua @@ -20,7 +20,10 @@ mobs:register_mob("mobs_animal:chicken", { }, child_texture = {{"mobs_chick.png"}}, makes_footstep_sound = true, - sounds = {random = "mobs_chicken"}, + sounds = { + random = "mobs_chicken", + replace = "default_dig_crumbly" + }, walk_velocity = 1, run_velocity = 3, runaway = true, diff --git a/cow.lua b/cow.lua index 5ff24d0..bc65444 100644 --- a/cow.lua +++ b/cow.lua @@ -21,7 +21,10 @@ mobs:register_mob("mobs_animal:cow", { {"mobs_cow2.png"} }, makes_footstep_sound = true, - sounds = {random = "mobs_cow"}, + sounds = { + random = "mobs_cow", + replace = "default_dig_crumbly" + }, walk_velocity = 1, run_velocity = 2, jump = true, diff --git a/rat.lua b/rat.lua index adc7e74..428cc55 100644 --- a/rat.lua +++ b/rat.lua @@ -15,7 +15,8 @@ mobs:register_mob("mobs_animal:rat", { mesh = "mobs_rat.b3d", textures = { {"mobs_rat.png"}, - {"mobs_rat2.png"} + {"mobs_rat2.png"}, + {"mobs_rat3.png"} }, makes_footstep_sound = false, sounds = {random = "mobs_rat"}, diff --git a/sheep.lua b/sheep.lua index c886d8e..5a19ac5 100644 --- a/sheep.lua +++ b/sheep.lua @@ -90,7 +90,10 @@ for _, col in ipairs(all_colours) do }, gotten_texture = {"mobs_sheep_base.png^mobs_sheep_shaved.png"}, makes_footstep_sound = true, - sounds = {random = "mobs_sheep"}, + sounds = { + random = "mobs_sheep", + replace = "default_dig_crumbly" + }, walk_velocity = 1, run_velocity = 2, runaway = true, diff --git a/textures/mobs_rat.png b/textures/mobs_rat.png index f854b09f28c6248216d298bbb114db9776d2b8be..b0fd32c3f9ffe3638ee7b09eef521c1c4601ba32 100644 GIT binary patch delta 662 zcmV;H0%`rj3Zn&(8Gi!+002a!ipBr{0IpC>R7DL94KM&HP5?n192^}T9UdMYA|fIt zB_<~(CMPE+DJUr_DJd%|Dl021EGsN8E-o-IFfuVQGcqzYG&D6dH8wUjH#RmmH#d48 zZ8Jv~1@K0rS|j3a%IBY;OkM}I{`MT#nXMny$NMMg(O zMwupwnkI@zMn*_RM@~mhOG-*iN=r;jOHE8oR!db-PES)&Qe945WKv{nR%@}bu{rL% z^8f$=ut`KgR5;6RQVUz!KoC3%r39NAz+UXrS*;rNYLrsT{r^AK*}c0E{a6yXogHQ$ zw=T$f5sSfpzJFe<26wTR;KKdo&4EDk7~Gr7dlIhBA4Uqw7~F^RD-ysISOFV=3W1DR zd0#_*G6hJWMd?v#1dSM}HqJfQ-nHxUOsKC^%xgk)@QINCc1S_);DS2(MP9EM+1{4%$-IR%U~86Q;0!5)4cE w%1VkIWLU~EWvdJ$>_pm8VEOHDxe394?oNtK@DI{4)&Kwi07*qoM6N<$g4wSOHvj+t delta 1339 zcmV-B1;qNJ1;YxE8Gi-<0047(dh`GQ010qNS#tmY0CoTX0CoXRdnO0~000McNliru z;|3T23Llk)%o1ma0VK~z}7m6y$K+eQ$_e@n(nz2sJ) z=&?`Gq%m@Ha!VW71$xM-*ItX}8lZiI<^>{KwbR71DMuf)M1RV%wg-7PBqdwQ0D_hu zJ2N};pZ^TSSDTwMj$?Yg9$^^r^Rs8nlii&iq9{TFUcuww;9v6jJll^S&)vKA@F9-l z;JPlRX_5o@_TAU?E<(npWKpp!3xMG;#`k@FJx{*ReS^^vxS_)z)xR(R`WFLEM{WF3 zVPOZNC`vh#ynnt<{853^QJen70ALbT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RlF(E!FA6~rXoLU+XeA!&oPTZ_ zXp#y^*6!)nvKi@WW++YVW1uXy)Rd(o%Pqzjq=b?ZAspp$-ceZ4D+AJp;D`GUJpvt5 z#Z4(iZWU=(-Oo}-Ck$JtD5VGk5CWtSIOjlsk`=I0Ea!keWI9WLvu7d({r*~Kv(`Qu z$&MsR*ysf)rARa3jn|HZMq-^LFMq%}hjW6mlsH#X2cUZHT4>8Uj#-{B$EDR+Yl&yo zD4r*Ca;yEu=4b_wQhFzpbd=8GTme|Db2Mk+!#G7sxpY7&#l4?mlvK(~>}j@6%bN-7oI^^9))FB=YYnKDqnp3zB82eB$)C5Jb2}%QrVVkEP{hS@P2nw7l+sYX~eqHcD?ex0*oN zLq~9K6?sv#-bJCH6NYQF{7$fISC;KY)a39rL=sDG4IQ)G+@$5bs6Ap6%Oj$}k+j@e v>wC!>0!`|)O3PQjj#r7sNhHvEt=0b@|2h)o1evwl00000NkvXXu0mjff4bM@ diff --git a/textures/mobs_rat3.png b/textures/mobs_rat3.png new file mode 100644 index 0000000000000000000000000000000000000000..84bbeaee0873691ebb014bf080086d7f65dea2f0 GIT binary patch literal 827 zcmV-B1H}A^P)!@j(}!M(=8z`(=5!NkGD#>2+Q z#oCPno&W#>AxT6*R5;63k_m4UF%X4KnzR&XIai!Z;{Nlhy&c0apB?Qh9rjHRKs=hwcVWCdo=xA>tC9d< zk*+g}^W*1Z77r{OO=jG<|obw`bhvT_!+PDy)!N?)<*3hPdoRU4FMsxvJIscz%i z6~-am;(AhQI!kf@+L#i6f!oxfQi)6aCYEj@wLCxp7r-Zb8~di#Nux0D3f%ByLIfi!*Zukc>4L z6B(7|KKpa{F~xK>R{-$4>}O0~hrgeo0Nff