Compare commits

22 Commits

Author SHA1 Message Date
0aa7224ebc Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 2020-06-20 15:38:41 +02:00
479a9f2fa2 updated russian locale (thanks Yellow) 2020-06-19 17:43:47 +01:00
42fbf31f80 fix typo in hog spawn_by 2020-06-19 10:57:26 +01:00
e3d51b3f58 hogs can spawn on dry dirt with dry grass 2020-06-19 10:55:31 +01:00
59d5dbab85 beehives no longer suffocate bees 2020-05-09 20:28:11 +01:00
914c37a0ae checkens also spawn on ethereal's prairie dirt 2020-04-07 08:49:08 +01:00
9776d5dfd4 Merge remote-tracking branch 'upstream/master' into nalc-1.2-dev 2020-02-29 18:07:18 +01:00
18e5094afe Merge branch 'master' of IFRFSX/mobs_animal into master 2020-02-24 09:13:12 +00:00
004d88ede7 add two word 2020-02-23 15:24:10 +08:00
299314144f repair a word 2020-02-23 15:14:13 +08:00
7f2badbd8e chinese local added (thanks IFRFSX) 2020-02-14 11:24:00 +00:00
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
37 changed files with 418 additions and 20455 deletions

10
bee.lua
View File

@ -1,7 +1,7 @@
local S = mobs.intllib
-- Bee by KrupnoPavel
-- Bee by KrupnoPavel (.b3d model by sirrobzeroone)
mobs:register_mob("mobs_animal:bee", {
type = "animal",
@ -11,7 +11,7 @@ mobs:register_mob("mobs_animal:bee", {
armor = 200,
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.5, 0.2},
visual = "mesh",
mesh = "mobs_bee.x",
mesh = "mobs_bee.b3d",
textures = {
{"mobs_bee.png"},
},
@ -20,7 +20,7 @@ mobs:register_mob("mobs_animal:bee", {
makes_footstep_sound = false,
sounds = {
random = "mobs_bee",
},
},
walk_velocity = 1,
jump = true,
drops = {
@ -57,7 +57,7 @@ mobs:spawn({
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
mobs:alias_mob("mobs:bee", "mobs_animal:bee")
@ -79,7 +79,7 @@ minetest.register_node(":mobs:beehive", {
paramtype = "light",
sunlight_propagates = true,
walkable = true,
groups = {oddly_breakable_by_hand = 3, flammable = 1},
groups = {oddly_breakable_by_hand = 3, flammable = 1, disable_suffocation = 1},
sounds = default.node_sound_defaults(),
on_construct = function(pos)

View File

@ -91,15 +91,15 @@ stepheight = 0.6,
})
local spawn_on = "default:dirt_with_grass"
local spawn_on = {"default:dirt_with_grass"}
if minetest.get_modpath("ethereal") then
spawn_on = "ethereal:bamboo_dirt"
spawn_on = {"ethereal:bamboo_dirt", "ethereal:prairie_dirt"}
end
mobs:spawn({
name = "mobs_animal:chicken",
nodes = {spawn_on},
nodes = spawn_on,
neighbors = {"group:grass"},
min_light = 14,
interval = 60,

57
cow.lua
View File

@ -2,7 +2,7 @@
local S = mobs.intllib
-- Cow by Krupnovpavel (additional texture by JurajVajda)
-- Cow by sirrobzeroone
mobs:register_mob("mobs_animal:cow", {
type = "animal",
@ -16,7 +16,7 @@ mobs:register_mob("mobs_animal:cow", {
armor = 200,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.2, 0.4},
visual = "mesh",
mesh = "mobs_cow.x",
mesh = "mobs_cow.b3d",
textures = {
{"mobs_cow.png"},
{"mobs_cow2.png"},
@ -39,16 +39,25 @@ mobs:register_mob("mobs_animal:cow", {
lava_damage = 5,
light_damage = 0,
animation = {
speed_normal = 15,
speed_run = 15,
stand_start = 0,
stand_end = 30,
walk_start = 35,
walk_end = 65,
run_start = 105,
run_end = 135,
punch_start = 70,
punch_end = 100,
stand_speed = 20,
stand1_start = 35,
stand1_end = 75,
stand1_speed = 20,
walk_start = 85,
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", "default:grass_1"},
view_range = 8,
@ -57,6 +66,7 @@ mobs:register_mob("mobs_animal:cow", {
{"group:grass", "mobs:dung", 0},
{"default:dirt_with_grass", "default:dirt", -1}
},
-- stay_near = {{"farming:straw", "group:grass"}, 10},
fear_height = 2,
on_rightclick = function(self, clicker)
@ -109,6 +119,7 @@ mobs:register_mob("mobs_animal:cow", {
return
end
end,
on_replace = function(self, pos, oldnode, newnode)
self.food = (self.food or 0) + 1
@ -135,7 +146,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
@ -146,7 +157,7 @@ minetest.register_craftitem(":mobs:bucket_milk", {
description = S("Bucket of Milk"),
inventory_image = "mobs_bucket_milk.png",
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},
})
@ -154,7 +165,7 @@ minetest.register_craftitem(":mobs:bucket_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'),
on_use = minetest.item_eat(2, "vessels:drinking_glass"),
groups = {food_milk_glass = 1, flammable = 3, vessel = 1},
})
@ -162,9 +173,9 @@ 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'
"vessels:drinking_glass", "vessels:drinking_glass",
"vessels:drinking_glass", "vessels:drinking_glass",
"mobs:bucket_milk"
},
replacements = { {"mobs:bucket_milk", "bucket:bucket_empty"} }
})
@ -173,9 +184,9 @@ 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'
"mobs:glass_milk", "mobs:glass_milk",
"mobs:glass_milk", "mobs:glass_milk",
"bucket:bucket_empty"
},
replacements = { {"mobs:glass_milk", "vessels:drinking_glass 4"} }
})
@ -233,16 +244,16 @@ minetest.register_node(":mobs:cheeseblock", {
minetest.register_craft({
output = "mobs:cheeseblock",
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({
output = "mobs:cheese 9",
recipe = {
{'mobs:cheeseblock'},
{"mobs:cheeseblock"},
}
})

View File

@ -22,4 +22,4 @@ dofile(path .. "/panda.lua") -- AspireMint
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_players = false,
reach = 1,
stepheight = 1.1,
passive = false,
hp_min = 5,
hp_max = 10,

View File

@ -23,3 +23,7 @@ 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
mobs_panda_viking.png by Zlo under CC0

View File

@ -9,9 +9,9 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-13 16:00 (UTC+5)\n"
"PO-Revision-Date: 2018-03-29 18:00 (UTC+5)\n"
"Last-Translator: Oleg720 <contact@oleg720.ru>\n"
"Language-Team: 720 Locales <>\n"
"PO-Revision-Date: 2020-06-19 19:00 (UTC+3)\n"
"Last-Translator: YELLOW <pikayellow35@gmail.com>\n"
"Language-Team: \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
@ -39,16 +39,16 @@ msgstr "Кролик"
#: bunny.lua
msgid "Raw Rabbit"
msgstr "Сырой кролик"
msgstr "Сырая крольчатина"
#: bunny.lua
#, fuzzy
msgid "Cooked Rabbit"
msgstr "Приготовленный кролик"
msgstr "Приготовленная крольчатина"
#: bunny.lua
msgid "Rabbit Hide"
msgstr "Кролик скрыть"
msgstr "Кроличья шкурка"
#: chicken.lua
msgid "Chicken"
@ -56,11 +56,11 @@ msgstr "Курица"
#: chicken.lua
msgid "Chicken Egg"
msgstr "Курино яйцо"
msgstr "Куриное яйцо"
#: chicken.lua
msgid "Fried Egg"
msgstr "Жареное яйцо"
msgstr "Яичница"
#: chicken.lua
msgid "Raw Chicken"
@ -68,7 +68,7 @@ msgstr "Сырая курятина"
#: chicken.lua
msgid "Cooked Chicken"
msgstr "Вареная курятина"
msgstr "Приготовленная курятина"
#: chicken.lua
msgid "Feather"
@ -86,6 +86,14 @@ msgstr "Корова"
msgid "Bucket of Milk"
msgstr "Ведро молока"
#: cow.lua
msgid "Glass of Milk"
msgstr "Стакан молока"
#: cow.lua
msgid "Butter"
msgstr "Масло"
#: cow.lua
msgid "Cheese"
msgstr "Сыр"
@ -102,6 +110,14 @@ msgstr "[МОД] Mobs Redo 'Animals' загружен"
msgid "Kitten"
msgstr "Котенок"
#: kitten.lua
msgid "Hairball"
msgstr "Комочек шерсти"
#: panda.lua
msgid "Panda"
msgstr "Панда"
#: penguin.lua
msgid "Penguin"
msgstr "Пингвин"
@ -116,76 +132,76 @@ msgstr "Приготовленная крыса"
#: sheep.lua
msgid "Black"
msgstr "Черный"
msgstr "Черная"
#: sheep.lua
msgid "Blue"
msgstr "Синий"
msgstr "Синяя"
#: sheep.lua
msgid "Brown"
msgstr "Коричневый"
msgstr "Коричневая"
#: sheep.lua
msgid "Cyan"
msgstr "Голубой"
msgstr "Голубая"
#: sheep.lua
msgid "Dark Green"
msgstr "Темно-зеленый"
msgstr "Темно-зеленая"
#: sheep.lua
msgid "Dark Grey"
msgstr "Темно-серый"
msgstr "Темно-серая"
#: sheep.lua
msgid "Green"
msgstr "Зеленый"
msgstr "Зеленая"
#: sheep.lua
msgid "Grey"
msgstr "Серый"
msgstr "Серая"
#: sheep.lua
msgid "Magenta"
msgstr "Пурпурный"
msgstr "Пурпурная"
#: sheep.lua
msgid "Orange"
msgstr "Оранжевый"
msgstr "Оранжевая"
#: sheep.lua
msgid "Pink"
msgstr "Розовый"
msgstr "Розовая"
#: sheep.lua
msgid "Red"
msgstr "Красный"
msgstr "Красная"
#: sheep.lua
msgid "Violet"
msgstr "Фиолетовый"
msgstr "Фиолетовая"
#: sheep.lua
msgid "White"
msgstr "Белый"
msgstr "Белая"
#: sheep.lua
msgid "Yellow"
msgstr "Желтый"
msgstr "Желтая"
#: sheep.lua
msgid "@1 Sheep"
msgstr "@1 Овец"
msgstr "@1 овца"
#: sheep.lua
msgid "Raw Mutton"
msgstr "сырой ягненок"
msgstr "Сырая баранина"
#: sheep.lua
#, fuzzy
msgid "Cooked Mutton"
msgstr "приготовленный ягненок"
msgstr "Приготовленная баранина"
#: warthog.lua
msgid "Warthog"
@ -193,8 +209,8 @@ msgstr "Бородавочник"
#: warthog.lua
msgid "Raw Porkchop"
msgstr "Отбивные из свинины"
msgstr "Свиные отбивные"
#: warthog.lua
msgid "Cooked Porkchop"
msgstr "Приготовленные отбивные"
msgstr "Приготовленные свиные отбивные"

206
locale/zh_CN.pot Normal file
View File

@ -0,0 +1,206 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# IFRFSX <1079092922@qq.com>, 2020.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-31 11:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: bee.lua
msgid "Bee"
msgstr "蜜蜂"
#: bee.lua
msgid "Honey"
msgstr "蜂蜜"
#: bee.lua
msgid "Beehive"
msgstr "蜂巢"
#: bee.lua
msgid "Honey Block"
msgstr "蜂蜜方块"
#: bunny.lua
msgid "Bunny"
msgstr "兔子"
#: bunny.lua
msgid "Raw Rabbit"
msgstr "生兔肉"
#: bunny.lua
msgid "Cooked Rabbit"
msgstr "熟兔肉"
#: bunny.lua
msgid "Rabbit Hide"
msgstr "兔子皮"
#: chicken.lua
msgid "Chicken"
msgstr "鸡"
#: chicken.lua
msgid "Chicken Egg"
msgstr "鸡蛋"
#: chicken.lua
msgid "Fried Egg"
msgstr "煎蛋"
#: chicken.lua
msgid "Raw Chicken"
msgstr "生鸡肉"
#: chicken.lua
msgid "Cooked Chicken"
msgstr "熟鸡肉"
#: chicken.lua
msgid "Feather"
msgstr "羽毛"
#: cow.lua
msgid "Cow already milked!"
msgstr "奶牛已经被挤奶了!"
#: cow.lua
msgid "Cow"
msgstr "奶牛"
#: cow.lua
msgid "Bucket of Milk"
msgstr "一桶牛奶"
#: cow.lua
msgid "Glass of Milk"
msgstr "一杯牛奶"
#: cow.lua
msgid "Cheese"
msgstr "奶酪"
#: cow.lua
msgid "Cheese Block"
msgstr "奶酪方块"
#: init.lua
msgid "[MOD] Mobs Redo 'Animals' loaded"
msgstr "[模组] Mobs Redo 'Animals' 已加载!"
#: kitten.lua
msgid "Kitten"
msgstr "小猫"
#: kitten.lua
msgid "Hairball"
msgstr "毛球"
#: penguin.lua
msgid "Penguin"
msgstr "企鹅"
#: rat.lua
msgid "Rat"
msgstr "老鼠"
#: rat.lua
msgid "Cooked Rat"
msgstr "熟老鼠"
#: sheep.lua
msgid "Black"
msgstr "黑"
#: sheep.lua
msgid "Blue"
msgstr "蓝"
#: sheep.lua
msgid "Brown"
msgstr "棕"
#: sheep.lua
msgid "Cyan"
msgstr "青"
#: sheep.lua
msgid "Dark Green"
msgstr "蓝绿"
#: sheep.lua
msgid "Dark Grey"
msgstr "蓝灰"
#: sheep.lua
msgid "Green"
msgstr "绿"
#: sheep.lua
msgid "Grey"
msgstr "灰"
#: sheep.lua
msgid "Magenta"
msgstr "品红"
#: sheep.lua
msgid "Orange"
msgstr "橙"
#: sheep.lua
msgid "Pink"
msgstr "粉红"
#: sheep.lua
msgid "Red"
msgstr "红"
#: sheep.lua
msgid "Violet"
msgstr "紫"
#: sheep.lua
msgid "White"
msgstr "白"
#: sheep.lua
msgid "Yellow"
msgstr "黄"
#: sheep.lua
msgid "@1 Sheep"
msgstr "@1羊"
#: sheep.lua
msgid "Raw Mutton"
msgstr "生羊肉"
#: sheep.lua
msgid "Cooked Mutton"
msgstr "熟羊肉"
#: warthog.lua
msgid "Warthog"
msgstr "野猪"
#: warthog.lua
msgid "Raw Porkchop"
msgstr "生猪排"
#: warthog.lua
msgid "Cooked Porkchop"
msgstr "熟猪排"

53
locale/zh_CN.txt Normal file
View File

@ -0,0 +1,53 @@
# Template for translations of mobs_animal mod
# last update: 2020/02/13
Bee = 蜜蜂
Honey = 蜂蜜
Beehive = 蜂巢
Honey Block = 蜂蜜方块
Butter = 黄油
Bunny = 兔子
Raw Rabbit = 生兔肉
Cooked Rabbit = 熟兔肉
Rabbit Hide = 兔子皮
Chicken = 鸡
Chicken Egg = 鸡蛋
Fried Egg = 煎蛋
Raw Chicken = 生鸡肉
Cooked Chicken = 熟鸡肉
Feather = 羽毛
Cow already milked! = 奶牛已被挤奶!
Cow = 奶牛
Bucket of Milk = 一桶牛奶
Cheese = 奶酪
Cheese Block = 奶酪方块
[MOD] Mobs Redo 'Animals' loaded = [模组] Mobs Redo 'Animals' 已加载!
Kitten = 小猫
Penguin = 企鹅
Rat = 老鼠
Cooked Rat = 熟老鼠
Black = 黑
Blue = 蓝
Brown = 棕
Cyan = 青
Dark Green = 暗绿
Dark Grey = 暗灰
Green = 绿
Grey = 灰
Magenta = 品红
Orange = 橙
Pink = 粉红
Red = 红
Violet = 紫
White = 白
Yellow = 黄
@1 Sheep = @1羊
Raw Mutton = 生羊肉
Cooked Mutton = 熟羊肉
Warthog = 野猪
Raw Porkchop = 生猪排
Cooked Porkchop = 熟猪排
Panda = 熊猫
Glass of Milk = 一杯牛奶
Hairball = 毛球

53
locale/zh_TW.txt Normal file
View File

@ -0,0 +1,53 @@
# Template for translations of mobs_animal mod
# last update: 2020/02/13
Bee = 蜜蜂
Honey = 蜂蜜
Beehive = 蜂巢
Honey Block = 蜂蜜方塊
Butter = 黃油
Bunny = 兔子
Raw Rabbit = 生兔肉
Cooked Rabbit = 熟兔肉
Rabbit Hide = 兔子皮
Chicken = 雞
Chicken Egg = 雞蛋
Fried Egg = 煎蛋
Raw Chicken = 生雞肉
Cooked Chicken = 熟雞肉
Feather = 羽毛
Cow already milked! = 奶牛已被擠奶!
Cow = 奶牛
Bucket of Milk = 一桶牛奶
Cheese = 奶酪
Cheese Block = 奶酪方塊
[MOD] Mobs Redo 'Animals' loaded = [模組] Mobs Redo 'Animals' 已加載!
Kitten = 小貓
Penguin = 企鵝
Rat = 老鼠
Cooked Rat = 熟老鼠
Black = 黑
Blue = 藍
Brown = 棕
Cyan = 青
Dark Green = 暗綠
Dark Grey = 暗灰
Green = 綠
Grey = 灰
Magenta = 品紅
Orange = 橙
Pink = 粉紅
Red = 紅
Violet = 紫
White = 白
Yellow = 黃
@1 Sheep = @1羊
Raw Mutton = 生羊肉
Cooked Mutton = 熟羊肉
Warthog = 野豬
Raw Porkchop = 生豬排
Cooked Porkchop = 熟豬排
Panda = 熊貓
Glass of Milk = 一杯牛奶
Hairball = 毛球

BIN
models/mobs_bee.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,7 +33,7 @@ stepheight = 0.6,
run_velocity = 1.5,
jump = false,
jump_height = 6,
follow = {"ethereal:bamboo"},
follow = {"ethereal:bamboo", "bamboo:trunk"},
view_range = 8,
drops = {
{name = "mobs:meat_raw", chance = 1, min = 1, max = 2},
@ -83,4 +83,4 @@ if minetest.get_modpath("ethereal") then
})
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,
follow = {
"ethereal:fish_raw",
"mobs_fish:clownfish",
"mobs_fish:tropical",
"mobs_fish:clownfish_set", "mobs_fish:clownfish",
"mobs_fish:tropical_set", "mobs_fish:tropical",
"fishing:fish_raw",
"fishing:clownfish_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
-- Rat by PilzAdam
-- Rat by PilzAdam (B3D model by sirrobzeroone)
mobs:register_mob("mobs_animal:rat", {
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

View File

@ -196,7 +196,7 @@ for _, col in ipairs(all_colours) do
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
mobs:alias_mob("mobs:sheep_" .. col[1], "mobs_animal:sheep_" .. col[1])

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: 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

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: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 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: 2.8 KiB

After

Width:  |  Height:  |  Size: 145 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
-- Warthog by KrupnoPavel
-- Warthog originally by KrupnoPavel, B3D model by sirrobzeroone
mobs:register_mob("mobs_animal:pumba", {
stepheight = 0.6,
@ -19,7 +19,7 @@ mobs:register_mob("mobs_animal:pumba", {
armor = 200,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4},
visual = "mesh",
mesh = "mobs_pumba.x",
mesh = "mobs_pumba.b3d",
textures = {
{"mobs_pumba.png"},
},
@ -64,13 +64,13 @@ local spawn_on = {"default:dirt_with_grass"}
local spawn_by = {"group:grass"}
if minetest.get_mapgen_setting("mg_name") ~= "v6" then
spawn_on = {"default:dirt_with_dry_grass"}
spawn_on = {"default:dirt_with_dry_grass", "default:dry_dirt_with_dry_grass"}
spawn_by = {"group:dry_grass"}
end
if minetest.get_modpath("ethereal") then
spawn_on = {"ethereal:mushroom_dirt"}
spawn_by = {"flowers:mushroom_brown", "flowers:mushroom_brown"}
spawn_by = {"flowers:mushroom_brown", "flowers:mushroom_red"}
end
mobs:spawn({
@ -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