Rename ocelot/cat textures and model

This commit is contained in:
Wuzzy 2017-06-24 22:37:17 +02:00
parent 0acd274725
commit 31293d52e2
8 changed files with 4 additions and 10 deletions

View File

@ -3,16 +3,10 @@
--made for MC like Survival game --made for MC like Survival game
--License for code WTFPL and otherwise stated in readmes --License for code WTFPL and otherwise stated in readmes
--dofile(minetest.get_modpath("mobs").."/api.lua")
--################### --###################
--################### OCELOT - CAT --################### OCELOT AND CAT
--################### --###################
--mcocelot
mobs:register_mob("mobs_mc:ocelot", { mobs:register_mob("mobs_mc:ocelot", {
type = "animal", type = "animal",
hp_min = 10, hp_min = 10,
@ -20,8 +14,8 @@ mobs:register_mob("mobs_mc:ocelot", {
collisionbox = {-0.3, -0.01, -0.3, 0.3, 0.69, 0.3}, collisionbox = {-0.3, -0.01, -0.3, 0.3, 0.69, 0.3},
rotate = -180, rotate = -180,
visual = "mesh", visual = "mesh",
mesh = "cat.b3d", mesh = "mobs_mc_cat.b3d",
textures = {{"cat.png"},{"cat1.png"},{"cat2.png"},{"cat3.png"},{"cat4.png"}}, textures = {"mobs_mc_cat_ocelot.png"},
visual_size = {x=2.0, y=2.0}, visual_size = {x=2.0, y=2.0},
makes_footstep_sound = true, makes_footstep_sound = true,
walk_velocity = 1, walk_velocity = 1,
@ -60,7 +54,7 @@ mobs:register_spawn("mobs_mc:ocelot", mobs_mc.spawn.jungle, minetest.LIGHT_MAX+1
mobs:alias_mob("mobs:kitten", "mobs_mc:ocelot") mobs:alias_mob("mobs:kitten", "mobs_mc:ocelot")
-- spawn eggs -- spawn eggs
mobs:register_egg("mobs_mc:ocelot", "Ocelot", "cat_inv.png", 0) mobs:register_egg("mobs_mc:ocelot", "Ocelot", "mobs_mc_spawn_icon_cat.png", 0)
if minetest.settings:get_bool("log_mods") then if minetest.settings:get_bool("log_mods") then
minetest.log("action", "MC Ocelot loaded") minetest.log("action", "MC Ocelot loaded")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 782 B

After

Width:  |  Height:  |  Size: 782 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 738 B

After

Width:  |  Height:  |  Size: 738 B