Update mobs_mc

This commit is contained in:
Wuzzy 2017-07-20 16:34:16 +02:00
parent 8c18fa522f
commit 84a277c91a
29 changed files with 52 additions and 40 deletions

View file

@ -335,8 +335,8 @@ end
if c("porkchop_raw") and c("porkchop_cooked") then if c("porkchop_raw") and c("porkchop_cooked") then
minetest.register_craft({ minetest.register_craft({
type = "cooking", type = "cooking",
output = "mobs_mc:porkchop_raw", output = "mobs_mc:porkchop_cooked",
recipe = "mobs_mc:porkchop_cooked", recipe = "mobs_mc:porkchop_raw",
cooktime = 5, cooktime = 5,
}) })
end end

View file

@ -23,9 +23,28 @@ Origin of those models:
## Textures ## Textures
* Mob and item textures from [Pixel Perfection](https://www.planetminecraft.com/texture_pack/131pixel-perfection/), a texture pack for Minecraft. * Mob and item textures are heavily based on [Pixel Perfection](https://www.planetminecraft.com/texture_pack/131pixel-perfection/), a texture pack for Minecraft.
* Author: [XSSheep](https://www.planetminecraft.com/member/xssheep/) * Original author: [XSSheep](https://www.planetminecraft.com/member/xssheep/)
* License: CC BY-SA 4.0 * License (if not mentioned otherwise): CC BY-SA 4.0
* Some textures have been modified or added
* Modifications by MysticTempest:
* `mobs_mc_cave_spider.png`
* `mobs_mc_enderman_eyes.png`
* `mobs_mc_enderman.png`
* `mobs_mc_ghast.png`
* `mobs_mc_skeleton.png`
* `mobs_mc_slime.png`
* `mobs_mc_spider_eyes.png`
* `mobs_mc_spider.png`
* `mobs_mc_squid.png`
* `mobs_mc_zombie.png`
* Additions by MysticTempest:
* `mobs_mc_parrot_blue.png`
* `mobs_mc_parrot_green.png`
* `mobs_mc_parrot_grey.png`
* `mobs_mc_parrot_red_blue.png`
* `mobs_mc_parrot_yellow_blue.png`
* “Spawn egg” textures (`mobs_mc_spawn_icon_*`) by 22i * “Spawn egg” textures (`mobs_mc_spawn_icon_*`) by 22i
* Any other texture not mentioned here are licensed under the MIT License * Any other texture not mentioned here are licensed under the MIT License
@ -67,4 +86,11 @@ Origin of those models:
* `mobs_spider.ogg` * `mobs_spider.ogg`
* BrandonReese (LGPL v2.1) * BrandonReese (LGPL v2.1)
* `mobs_eerie.ogg` * `mobs_eerie.ogg`
* [Under7dude](https://freesound.org/people/Under7dude/) (CC0)
* `mobs_mc_zombie_idle.ogg`
* Source: <https://freesound.org/people/Under7dude/sounds/163445/>
* [haratman](https://freesound.org/people/haratman/) (CC0)
* `mobs_mc_zombie_death.ogg`
* Source: <https://freesound.org/people/haratman/sounds/393749/>
* `mobs_mc_zombie_hurt.ogg`
* Source: <https://freesound.org/people/haratman/sounds/393749/>

View file

@ -9,6 +9,7 @@ This mod adds mobs which closely resemble the mobs from the game Minecraft, vers
* [toby109tt](https://github.com/tobyplowy): Mapping fixes - better 2D planes * [toby109tt](https://github.com/tobyplowy): Mapping fixes - better 2D planes
* [22i](https://github.com/22i): Models (done in Blender) and mob icons for spawn eggs * [22i](https://github.com/22i): Models (done in Blender) and mob icons for spawn eggs
* [XSSheep](https://www.planetminecraft.com/member/xssheep/): Mob and item textures (from [Pixel Perfection](https://www.planetminecraft.com/texture_pack/131pixel-perfection/) * [XSSheep](https://www.planetminecraft.com/member/xssheep/): Mob and item textures (from [Pixel Perfection](https://www.planetminecraft.com/texture_pack/131pixel-perfection/)
* MysticTempest: More mob textures
* See `LICENSE_media.md` for detailed credits about each file * See `LICENSE_media.md` for detailed credits about each file
## Licensing ## Licensing

View file

@ -282,9 +282,10 @@ zombie_horse.drops = {
max = 2,}, max = 2,},
} }
zombie_horse.sounds = { zombie_horse.sounds = {
random = "zombie1", random = "mobs_mc_zombie_idle",
death = "zombiedeath", war_cry = "mobs_mc_zombie_idle",
damage = "zombiehurt1", death = "mobs_mc_zombie_death",
damage = "mobs_mc_zombie_hurt",
distance = 16, distance = 16,
} }
mobs:register_mob("mobs_mc:zombie_horse", zombie_horse) mobs:register_mob("mobs_mc:zombie_horse", zombie_horse)

View file

@ -29,28 +29,9 @@ dofile(path .. "/0_gameconfig.lua")
--Items --Items
dofile(path .. "/1_items_default.lua") dofile(path .. "/1_items_default.lua")
--IN CASE THROWING IS NOT INSTALLED, THIS FIXES IT -- Bow, arrow and throwables
if not minetest.get_modpath("throwing") then dofile(path .. "/2_throwing.lua")
dofile(minetest.get_modpath("mobs_mc").."/2_throwing.lua")
minetest.register_alias("throwing:bow_wood", "mobs:bow_wood")
minetest.register_alias("throwing:arrow", "mobs:arrow")
mobs:alias_mob("throwing:arrow_entity", "mobs:arrow_entity")
else
minetest.register_alias("_:bow_wood", "throwing:bow_wood")
minetest.register_alias("_:arrow", "throwing:arrow")
mobs:alias_mob("_:arrow_entity", "throwing:arrow_entity")
end
if not minetest.get_modpath("mcl_throwing") then
dofile(minetest.get_modpath("mobs_mc").."/2_throwing.lua")
minetest.register_alias("throwing:bow_wood", "mcl_throwing:bow")
minetest.register_alias("throwing:arrow", "mcl_throwing:arrow")
mobs:alias_mob("throwing:arrow_entity", "mcl_throwing:arrow_entity")
else
minetest.register_alias("_:bow", "throwing:bow_wood")
minetest.register_alias("_:arrow", "throwing:arrow")
mobs:alias_mob("_:arrow_entity", "throwing:arrow_entity")
end
-- Shared functions -- Shared functions
dofile(path .. "/3_shared.lua") dofile(path .. "/3_shared.lua")

View file

@ -89,7 +89,7 @@ mobs:register_mob("mobs_mc:parrot", {
--spawn --spawn
-- TODO: Increase spawn chance if polished -- TODO: Increase spawn chance if polished
--mobs:spawn_specific("mobs_mc:parrot", mobs_mc.spawn.jungle, {"air"}, 0, minetest.LIGHT_MAX+1, 20, 20000, 2, 15, 20) mobs:spawn_specific("mobs_mc:parrot", mobs_mc.spawn.jungle, {"air"}, 0, minetest.LIGHT_MAX+1, 20, 20000, 2, 15, 20)
-- spawn eggs -- spawn eggs
mobs:register_egg("mobs_mc:parrot", S("Parrot"), "mobs_mc_spawn_icon_parrot.png", 0) mobs:register_egg("mobs_mc:parrot", S("Parrot"), "mobs_mc_spawn_icon_parrot.png", 0)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 622 B

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 533 B

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 428 B

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 B

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 516 B

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 863 B

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -59,9 +59,10 @@ mobs:register_mob("mobs_mc:villager_zombie", {
max = 1,}, max = 1,},
}, },
sounds = { sounds = {
random = "Villager1", random = "mobs_mc_zombie_idle",
death = "Villagerdead", war_cry = "mobs_mc_zombie_idle",
damage = "Villagerhurt1", death = "mobs_mc_zombie_death",
damage = "mobs_mc_zombie_hurt",
distance = 16, distance = 16,
}, },
animation = { animation = {

View file

@ -29,9 +29,10 @@ local zombie = {
visual_size = {x=3, y=3}, visual_size = {x=3, y=3},
makes_footstep_sound = true, makes_footstep_sound = true,
sounds = { sounds = {
random = "zombie1", random = "mobs_mc_zombie_idle",
death = "zombiedeath", war_cry = "mobs_mc_zombie_idle",
damage = "zombiehurt1", death = "mobs_mc_zombie_death",
damage = "mobs_mc_zombie_hurt",
distance = 16, distance = 16,
}, },
walk_velocity = .8, walk_velocity = .8,

View file

@ -29,9 +29,10 @@ local pigman = {
textures = {{"mobs_mc_zombie_pigman.png^mobs_mc_zombie_pigman_sword.png"}}, textures = {{"mobs_mc_zombie_pigman.png^mobs_mc_zombie_pigman_sword.png"}},
visual_size = {x=3, y=3}, visual_size = {x=3, y=3},
sounds = { sounds = {
random = "zombie1", -- TODO: replace random = "mobs_mc_zombie_idle",
death = "zombiedeath", -- TODO: replace war_cry = "mobs_mc_zombie_idle",
damage = "zombiehurt1", -- TODO: replace death = "mobs_mc_zombie_death",
damage = "mobs_mc_zombie_hurt",
distance = 16, distance = 16,
}, },
jump = true, jump = true,