Compare commits

25 Commits

Author SHA1 Message Date
4a8cd67f6d Merge branch 'master' of yunohost.local:mtcontrib/mobs_animal into nalc-1.2-dev 2019-12-22 13:56:39 +01:00
c6841290e5 panda can now eat cool trees bamboo 2019-09-07 08:56:52 +01:00
901225565c code tidy ' to " 2019-08-05 09:50:56 +01:00
e8709a1d11 add tamed fish to penguins diet :) 2019-07-17 08:25:16 +01:00
eafbfd6f94 new rat model and texture by sirrobzeroone 2019-06-25 15:02:37 +01:00
1a770dec3b added new bee model by sirrobzeroone 2019-06-16 15:23:25 +01:00
9e2f3813b3 added new animal inventory textures (thanks sirrobzeroone) 2019-06-02 10:53:50 +01:00
4259e9a6b1 New cow model and textures by sirrobzeroone 2019-06-01 09:20:59 +01:00
bdfa95ff8a warthog model converted from .x to .b3d (thanks Sirrobzeroone) 2019-05-20 16:18:53 +01:00
f553e1e0a0 increase cat stepheight to 1.1 2019-05-19 09:28:27 +01:00
fa0b70f354 fix mobs_rabbit_hide.png 2019-05-14 09:32:43 +01:00
ad864bd1c8 Merge branch 'master' into nalc-1.2 2019-05-10 00:53:43 +02:00
43a813d4f1 Chicken model fixes and new textures by sirrobzeroone (many thanks) 2019-03-22 11:06:47 +00:00
c14c8676ec use bee_inv texture instead of blood texture when hit. 2019-02-11 10:41:45 +00:00
84cc9c3fa8 stop animals from drowning in water since they can all swim irl 2019-02-11 09:10:51 +00:00
1637379056 add vessel group 2019-01-30 09:10:18 +00:00
f75e6ddd4b added stay_near setting for sheep 2019-01-24 11:11:25 +00:00
631cddc727 fix 5.0x nil error when feeding sheep/cow 2018-12-16 20:27:41 +00:00
0703b8b4f2 fix cow and sheep taming bug 2018-12-13 19:03:53 +00:00
e307db5df0 update license.txt 2018-12-04 17:46:48 +00:00
8d37aaf1b9 replace textures for pork, mutton and rabbit (thanks Piezo_) 2018-12-04 14:34:14 +00:00
01d7e07f2a add on_replace functions to cow and sheep to replace milk and wool when eating 2018-11-26 17:47:15 +00:00
10028cd63d add glass of milk and craft recipes 2018-11-21 16:19:32 +00:00
e36deb7bc5 replace newer chicken sounds with more suitable one's, add luckyblocks 2018-11-02 12:51:20 +00:00
0ec8022a76 add some new chicken sounds 2018-10-30 10:17:56 +00:00
50 changed files with 159 additions and 23530 deletions

10
bee.lua
View File

@ -1,7 +1,7 @@
local S = mobs.intllib local S = mobs.intllib
-- Bee by KrupnoPavel -- Bee by KrupnoPavel (.b3d model by sirrobzeroone)
mobs:register_mob("mobs_animal:bee", { mobs:register_mob("mobs_animal:bee", {
type = "animal", type = "animal",
@ -11,10 +11,12 @@ mobs:register_mob("mobs_animal:bee", {
armor = 200, armor = 200,
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.5, 0.2}, collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.5, 0.2},
visual = "mesh", visual = "mesh",
mesh = "mobs_bee.x", mesh = "mobs_bee.b3d",
textures = { textures = {
{"mobs_bee.png"}, {"mobs_bee.png"},
}, },
blood_texture = "mobs_bee_inv.png",
blood_amount = 1,
makes_footstep_sound = false, makes_footstep_sound = false,
sounds = { sounds = {
random = "mobs_bee", random = "mobs_bee",
@ -24,7 +26,7 @@ mobs:register_mob("mobs_animal:bee", {
drops = { drops = {
{name = "mobs:honey", chance = 2, min = 1, max = 2}, {name = "mobs:honey", chance = 2, min = 1, max = 2},
}, },
water_damage = 2, water_damage = 1,
lava_damage = 2, lava_damage = 2,
light_damage = 0, light_damage = 0,
fall_damage = 0, fall_damage = 0,
@ -55,7 +57,7 @@ mobs:spawn({
day_toggle = true, day_toggle = true,
}) })
mobs:register_egg("mobs_animal:bee", S("Bee"), "mobs_bee_inv.png", 0) mobs:register_egg("mobs_animal:bee", S("Bee"), "mobs_bee_inv.png")
-- compatibility -- compatibility
mobs:alias_mob("mobs:bee", "mobs_animal:bee") mobs:alias_mob("mobs:bee", "mobs_animal:bee")

View File

@ -33,7 +33,7 @@ stepheight = 0.6,
{name = "mobs:rabbit_raw", chance = 1, min = 1, max = 1}, {name = "mobs:rabbit_raw", chance = 1, min = 1, max = 1},
{name = "mobs:rabbit_hide", chance = 1, min = 0, max = 1}, {name = "mobs:rabbit_hide", chance = 1, min = 0, max = 1},
}, },
water_damage = 1, water_damage = 0,
lava_damage = 4, lava_damage = 4,
light_damage = 0, light_damage = 0,
fear_height = 2, fear_height = 2,

View File

@ -2,7 +2,7 @@
local S = mobs.intllib local S = mobs.intllib
-- Chicken by JK Murray -- Chicken by JK Murray and Sirrobzeroone
mobs:register_mob("mobs_animal:chicken", { mobs:register_mob("mobs_animal:chicken", {
stepheight = 0.6, stepheight = 0.6,
@ -13,17 +13,14 @@ stepheight = 0.6,
armor = 200, armor = 200,
collisionbox = {-0.3, -0.75, -0.3, 0.3, 0.1, 0.3}, collisionbox = {-0.3, -0.75, -0.3, 0.3, 0.1, 0.3},
visual = "mesh", visual = "mesh",
mesh = "mobs_chicken.x", mesh = "mobs_chicken.b3d",
-- seems a lot of textures but this fixes the problem with the model
textures = { textures = {
{"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", {"mobs_chicken.png"}, -- white
"mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png", "mobs_chicken.png"}, {"mobs_chicken_brown.png"},
{"mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png", {"mobs_chicken_black.png"},
"mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png", "mobs_chicken_black.png"},
}, },
child_texture = { child_texture = {
{"mobs_chick.png", "mobs_chick.png", "mobs_chick.png", "mobs_chick.png", {"mobs_chick.png"},
"mobs_chick.png", "mobs_chick.png", "mobs_chick.png", "mobs_chick.png", "mobs_chick.png"},
}, },
makes_footstep_sound = true, makes_footstep_sound = true,
sounds = { sounds = {
@ -45,10 +42,18 @@ stepheight = 0.6,
fear_height = 5, fear_height = 5,
animation = { animation = {
speed_normal = 15, speed_normal = 15,
stand_start = 0, stand_start = 1,
stand_end = 1, -- 20 stand_end = 30,
walk_start = 20, stand_speed = 28,
walk_end = 40, stand1_start = 31,
stand1_end = 70,
stand1_speed = 32,
walk_start = 71,
walk_end = 90,
walk_speed = 24,
run_start = 91,
run_end = 110,
run_speed = 24,
}, },
follow = {"farming:seed_wheat", "farming:seed_cotton"}, follow = {"farming:seed_wheat", "farming:seed_cotton"},
view_range = 5, view_range = 5,

99
cow.lua
View File

@ -2,7 +2,7 @@
local S = mobs.intllib local S = mobs.intllib
-- Cow by Krupnovpavel (additional texture by JurajVajda) -- Cow by sirrobzeroone
mobs:register_mob("mobs_animal:cow", { mobs:register_mob("mobs_animal:cow", {
type = "animal", type = "animal",
@ -16,7 +16,7 @@ mobs:register_mob("mobs_animal:cow", {
armor = 200, armor = 200,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.2, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.2, 0.4},
visual = "mesh", visual = "mesh",
mesh = "mobs_cow.x", mesh = "mobs_cow.b3d",
textures = { textures = {
{"mobs_cow.png"}, {"mobs_cow.png"},
{"mobs_cow2.png"}, {"mobs_cow2.png"},
@ -35,35 +35,51 @@ mobs:register_mob("mobs_animal:cow", {
{name = "mobs:leather", chance = 1, min = 0, max = 2}, {name = "mobs:leather", chance = 1, min = 0, max = 2},
{name = "maptools:silver_coin", chance = 10, min = 0, max = 1,}, {name = "maptools:silver_coin", chance = 10, min = 0, max = 1,},
}, },
water_damage = 1, water_damage = 0,
lava_damage = 5, lava_damage = 5,
light_damage = 0, light_damage = 0,
animation = { animation = {
speed_normal = 15,
speed_run = 15,
stand_start = 0, stand_start = 0,
stand_end = 30, stand_end = 30,
walk_start = 35, stand_speed = 20,
walk_end = 65, stand1_start = 35,
run_start = 105, stand1_end = 75,
run_end = 135, stand1_speed = 20,
punch_start = 70, walk_start = 85,
punch_end = 100, walk_end = 114,
walk_speed = 20,
run_start = 120,
run_end = 140,
run_speed = 30,
punch_start = 145,
punch_end = 160,
punch_speed = 20,
die_start = 165,
die_end = 185,
die_speed = 10,
die_loop = false,
}, },
follow = "farming:wheat", follow = {"farming:wheat", "default:grass_1"},
view_range = 8, view_range = 8,
replace_rate = 10, replace_rate = 10,
-- replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "farming:wheat_8"},
replace_what = { replace_what = {
{"group:grass", "mobs:dung", 0}, {"group:grass", "mobs:dung", 0},
{"default:dirt_with_grass", "default:dirt", -1} {"default:dirt_with_grass", "default:dirt", -1}
}, },
-- replace_with = "air",
fear_height = 2, fear_height = 2,
on_rightclick = function(self, clicker) on_rightclick = function(self, clicker)
-- feed or tame -- feed or tame
if mobs:feed_tame(self, clicker, 8, true, true) then return end if mobs:feed_tame(self, clicker, 8, true, true) then
-- if fed 7x wheat or grass then cow can be milked again
if self.food and self.food > 6 then
self.gotten = false
end
return
end
if mobs:protect(self, clicker) then return end if mobs:protect(self, clicker) then return end
if mobs:capture_mob(self, clicker, 0, 5, 60, false, nil) then return end if mobs:capture_mob(self, clicker, 0, 5, 60, false, nil) then return end
@ -102,6 +118,16 @@ mobs:register_mob("mobs_animal:cow", {
return return
end end
end, end,
on_replace = function(self, pos, oldnode, newnode)
self.food = (self.food or 0) + 1
-- if cow replaces 8x grass then it can be milked again
if self.food >= 8 then
self.food = 0
self.gotten = false
end
end,
}) })
@ -118,7 +144,7 @@ mobs:spawn({
}) })
mobs:register_egg("mobs_animal:cow", S("Cow"), "default_grass.png", 1) mobs:register_egg("mobs_animal:cow", S("Cow"), "mobs_cow_inv.png")
mobs:alias_mob("mobs:cow", "mobs_animal:cow") -- compatibility mobs:alias_mob("mobs:cow", "mobs_animal:cow") -- compatibility
@ -129,10 +155,41 @@ minetest.register_craftitem(":mobs:bucket_milk", {
description = S("Bucket of Milk"), description = S("Bucket of Milk"),
inventory_image = "mobs_bucket_milk.png", inventory_image = "mobs_bucket_milk.png",
stack_max = 1, stack_max = 1,
on_use = minetest.item_eat(8, 'bucket:bucket_empty'), on_use = minetest.item_eat(8, "bucket:bucket_empty"),
groups = {food_milk = 1, flammable = 3}, groups = {food_milk = 1, flammable = 3},
}) })
-- glass of milk
minetest.register_craftitem(":mobs:glass_milk", {
description = S("Glass of Milk"),
inventory_image = "mobs_glass_milk.png",
on_use = minetest.item_eat(2, "vessels:drinking_glass"),
groups = {food_milk_glass = 1, flammable = 3, vessel = 1},
})
minetest.register_craft({
type = "shapeless",
output = "mobs:glass_milk 4",
recipe = {
"vessels:drinking_glass", "vessels:drinking_glass",
"vessels:drinking_glass", "vessels:drinking_glass",
"mobs:bucket_milk"
},
replacements = { {"mobs:bucket_milk", "bucket:bucket_empty"} }
})
minetest.register_craft({
type = "shapeless",
output = "mobs:bucket_milk",
recipe = {
"mobs:glass_milk", "mobs:glass_milk",
"mobs:glass_milk", "mobs:glass_milk",
"bucket:bucket_empty"
},
replacements = { {"mobs:glass_milk", "vessels:drinking_glass 4"} }
})
-- butter -- butter
minetest.register_craftitem(":mobs:butter", { minetest.register_craftitem(":mobs:butter", {
description = S("Butter"), description = S("Butter"),
@ -185,16 +242,16 @@ minetest.register_node(":mobs:cheeseblock", {
minetest.register_craft({ minetest.register_craft({
output = "mobs:cheeseblock", output = "mobs:cheeseblock",
recipe = { recipe = {
{'mobs:cheese', 'mobs:cheese', 'mobs:cheese'}, {"mobs:cheese", "mobs:cheese", "mobs:cheese"},
{'mobs:cheese', 'mobs:cheese', 'mobs:cheese'}, {"mobs:cheese", "mobs:cheese", "mobs:cheese"},
{'mobs:cheese', 'mobs:cheese', 'mobs:cheese'}, {"mobs:cheese", "mobs:cheese", "mobs:cheese"},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = "mobs:cheese 9", output = "mobs:cheese 9",
recipe = { recipe = {
{'mobs:cheeseblock'}, {"mobs:cheeseblock"},
} }
}) })

View File

@ -22,4 +22,4 @@ dofile(path .. "/panda.lua") -- AspireMint
dofile(path .. "/lucky_block.lua") dofile(path .. "/lucky_block.lua")
print (S("[MOD] Mobs Redo 'Animals' loaded")) print (S("[MOD] Mobs Redo Animals loaded"))

View File

@ -13,6 +13,7 @@ attack_type = "dogfight",
attack_animals = true, -- so it can attack rat attack_animals = true, -- so it can attack rat
attack_players = false, attack_players = false,
reach = 1, reach = 1,
stepheight = 1.1,
passive = false, passive = false,
hp_min = 5, hp_min = 5,
hp_max = 10, hp_max = 10,
@ -39,7 +40,7 @@ reach = 1,
drops = { drops = {
{name = "farming:string", chance = 1, min = 0, max = 1}, {name = "farming:string", chance = 1, min = 0, max = 1},
}, },
water_damage = 1, water_damage = 0,
lava_damage = 5, lava_damage = 5,
fear_height = 3, fear_height = 3,
animation = { animation = {

View File

@ -19,3 +19,9 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
Chicken sounds from freesounds.org under CC0
Mutton, Pork and Rabbit meat textures by Piezo_ under CC0
Cow textures by sirrobzeroone under CC0

View File

@ -16,6 +16,11 @@ if minetest.get_modpath("lucky_block") then
{"spw", "mobs:kitten", 2}, {"spw", "mobs:kitten", 2},
{"exp"}, {"exp"},
{"dro", {"mobs:hairball"}, 3}, {"dro", {"mobs:hairball"}, 3},
{"dro", {"mobs:chicken_raw", "mobs:chicken_cooked"}, 10},
{"dro", {"mobs:pork_raw", "mobs:pork_cooked"}, 10},
{"dro", {"mobs:mutton_raw", "mobs:mutton_cooked"}, 10},
{"dro", {"mobs:meat_raw", "mobs:meat"}, 10},
{"dro", {"mobs:glass_milk"}, 5},
}) })
if minetest.registered_nodes["default:nyancat"] then if minetest.registered_nodes["default:nyancat"] then

BIN
models/mobs_bee.b3d Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
models/mobs_chicken.b3d Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
models/mobs_cow.b3d Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
models/mobs_pumba.b3d Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -33,12 +33,12 @@ stepheight = 0.6,
run_velocity = 1.5, run_velocity = 1.5,
jump = false, jump = false,
jump_height = 6, jump_height = 6,
follow = {"ethereal:bamboo"}, follow = {"ethereal:bamboo", "bamboo:trunk"},
view_range = 8, view_range = 8,
drops = { drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 2}, {name = "mobs:meat_raw", chance = 1, min = 1, max = 2},
}, },
water_damage = 1, water_damage = 0,
lava_damage = 5, lava_damage = 5,
light_damage = 0, light_damage = 0,
fear_height = 6, fear_height = 6,
@ -83,4 +83,4 @@ if minetest.get_modpath("ethereal") then
}) })
end end
mobs:register_egg("mobs_animal:panda", S("Panda"), "wool_green.png", 1) mobs:register_egg("mobs_animal:panda", S("Panda"), "mobs_panda_inv.png")

View File

@ -47,8 +47,8 @@ stepheight = 0.6,
floats = 0, floats = 0,
follow = { follow = {
"ethereal:fish_raw", "ethereal:fish_raw",
"mobs_fish:clownfish", "mobs_fish:clownfish_set", "mobs_fish:clownfish",
"mobs_fish:tropical", "mobs_fish:tropical_set", "mobs_fish:tropical",
"fishing:fish_raw", "fishing:fish_raw",
"fishing:clownfish_raw", "fishing:clownfish_raw",
"fishing:bluewhite_raw", "fishing:bluewhite_raw",
@ -81,4 +81,4 @@ mobs:spawn({
}) })
mobs:register_egg("mobs_animal:penguin", S("Penguin"), "default_snow.png", 1) mobs:register_egg("mobs_animal:penguin", S("Penguin"), "mobs_penguin_inv.png")

View File

@ -2,7 +2,7 @@
local S = mobs.intllib local S = mobs.intllib
-- Rat by PilzAdam -- Rat by PilzAdam (B3D model by sirrobzeroone)
mobs:register_mob("mobs_animal:rat", { mobs:register_mob("mobs_animal:rat", {
stepheight = 0.6, stepheight = 0.6,
@ -79,7 +79,7 @@ mobs:spawn({
}) })
mobs:register_egg("mobs_animal:rat", S("Rat"), "mobs_rat_inventory.png", 0) mobs:register_egg("mobs_animal:rat", S("Rat"), "mobs_rat_inv.png")
mobs:alias_mob("mobs:rat", "mobs_animal:rat") -- compatibility mobs:alias_mob("mobs:rat", "mobs_animal:rat") -- compatibility

View File

@ -42,4 +42,4 @@ These monochrome cuties spawn in Ethereal's bamboo biome and can be tamed with b
--- ---
*Note: After breeding, animals need to rest for 4 minutes and baby animals take 4 minutes to grow up, also feeding them helps them grow quicker...* *Note: After breeding, animals need to rest for 4 minutes and baby animals take 4 minutes to grow up, also feeding them helps them grow quicker...*
#### Lucky Blocks: 15 #### Lucky Blocks: 20

View File

@ -1,7 +1,6 @@
local S = mobs.intllib local S = mobs.intllib
local all_colours = { local all_colours = {
{"black", S("Black"), "#000000b0"}, {"black", S("Black"), "#000000b0"},
{"blue", S("Blue"), "#015dbb70"}, {"blue", S("Blue"), "#015dbb70"},
@ -26,6 +25,7 @@ local all_colours = {
for _, col in ipairs(all_colours) do for _, col in ipairs(all_colours) do
mobs:register_mob("mobs_animal:sheep_"..col[1], { mobs:register_mob("mobs_animal:sheep_"..col[1], {
stay_near = {"farming:straw", 10},
stepheight = 0.6, stepheight = 0.6,
type = "animal", type = "animal",
passive = true, passive = true,
@ -54,7 +54,7 @@ stepheight = 0.6,
{name = "mobs:mutton_raw", chance = 1, min = 1, max = 2}, {name = "mobs:mutton_raw", chance = 1, min = 1, max = 2},
{name = "wool:"..col[1], chance = 1, min = 1, max = 1}, {name = "wool:"..col[1], chance = 1, min = 1, max = 1},
}, },
water_damage = 1, water_damage = 0,
lava_damage = 5, lava_damage = 5,
light_damage = 0, light_damage = 0,
animation = { animation = {
@ -65,25 +65,39 @@ stepheight = 0.6,
walk_start = 81, walk_start = 81,
walk_end = 100, walk_end = 100,
}, },
follow = {"farming:wheat", "default:grass_5"}, follow = {"farming:wheat", "default:grass_1"},
view_range = 8, view_range = 8,
replace_rate = 10, replace_rate = 10,
replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "farming:wheat_8"}, replace_what = {
replace_with = "air", {"group:grass", "air", -1},
replace_offset = -1, {"default:dirt_with_grass", "default:dirt", -2}
},
fear_height = 3, fear_height = 3,
--[[
on_replace = function(self, pos, oldnode, newnode) on_replace = function(self, pos, oldnode, newnode)
print ("---- replaced") ; return false -- false to keep node, true to replace
self.food = (self.food or 0) + 1
-- if sheep replaces 8x grass then it regrows wool
if self.food >= 8 then
self.food = 0
self.gotten = false
self.object:set_properties({
textures = {"mobs_sheep_base.png^(mobs_sheep_wool.png^[colorize:" .. col[3] .. ")"},
mesh = "mobs_sheep.b3d",
})
end
end, end,
]]
on_rightclick = function(self, clicker) on_rightclick = function(self, clicker)
--are we feeding? --are we feeding?
if mobs:feed_tame(self, clicker, 8, true, true) then if mobs:feed_tame(self, clicker, 8, true, true) then
--if full grow fuzz --if fed 7x grass or wheat then sheep regrows wool
if self.gotten == false then if self.food and self.food > 6 then
self.gotten = false
self.object:set_properties({ self.object:set_properties({
textures = {"mobs_sheep_base.png^(mobs_sheep_wool.png^[colorize:" .. col[3] .. ")"}, textures = {"mobs_sheep_base.png^(mobs_sheep_wool.png^[colorize:" .. col[3] .. ")"},
@ -182,7 +196,7 @@ stepheight = 0.6,
end end
}) })
mobs:register_egg("mobs_animal:sheep_"..col[1], S("@1 Sheep", col[2]), "wool_"..col[1]..".png", 1) mobs:register_egg("mobs_animal:sheep_"..col[1], S("@1 Sheep", col[2]), "wool_"..col[1]..".png^mobs_sheep_inv.png")
-- compatibility -- compatibility
mobs:alias_mob("mobs:sheep_" .. col[1], "mobs_animal:sheep_" .. col[1]) mobs:alias_mob("mobs:sheep_" .. col[1], "mobs_animal:sheep_" .. col[1])

BIN
sounds/mobs_chicken.1.ogg Normal file

Binary file not shown.

BIN
sounds/mobs_chicken.2.ogg Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 948 B

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
textures/mobs_cow_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 520 B

BIN
textures/mobs_panda_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
textures/mobs_pumba_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 834 B

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
textures/mobs_rat_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 B

BIN
textures/mobs_sheep_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 B

View File

@ -2,7 +2,7 @@
local S = mobs.intllib local S = mobs.intllib
-- Warthog by KrupnoPavel -- Warthog originally by KrupnoPavel, B3D model by sirrobzeroone
mobs:register_mob("mobs_animal:pumba", { mobs:register_mob("mobs_animal:pumba", {
stepheight = 0.6, stepheight = 0.6,
@ -19,7 +19,7 @@ stepheight = 0.6,
armor = 200, armor = 200,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4}, collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4},
visual = "mesh", visual = "mesh",
mesh = "mobs_pumba.x", mesh = "mobs_pumba.b3d",
textures = { textures = {
{"mobs_pumba.png"}, {"mobs_pumba.png"},
}, },
@ -39,7 +39,7 @@ stepheight = 0.6,
{name = "mobs:pork_raw", chance = 1, min = 1, max = 3}, {name = "mobs:pork_raw", chance = 1, min = 1, max = 3},
{name = "maptools:silver_coin", chance = 10, min = 0, max = 1,}, {name = "maptools:silver_coin", chance = 10, min = 0, max = 1,},
}, },
water_damage = 1, water_damage = 0,
lava_damage = 5, lava_damage = 5,
light_damage = 0, light_damage = 0,
fear_height = 2, fear_height = 2,
@ -86,7 +86,7 @@ mobs:spawn({
}) })
mobs:register_egg("mobs_animal:pumba", S("Warthog"), "wool_pink.png", 1) mobs:register_egg("mobs_animal:pumba", S("Warthog"), "mobs_pumba_inv.png")
mobs:alias_mob("mobs:pumba", "mobs_animal:pumba") -- compatibility mobs:alias_mob("mobs:pumba", "mobs_animal:pumba") -- compatibility