Add saddle, fix mob texture names
@ -412,8 +412,7 @@ minetest.register_tool("default:pole", {
|
||||
elseif r == 4 then
|
||||
itemname = "mobs:naming_tag"
|
||||
elseif r == 5 then
|
||||
itemname = "flowers:dandelion"
|
||||
-- TODO itemname = "mobs:saddle"
|
||||
itemname = "mcl_mobitems:saddle"
|
||||
elseif r == 6 then
|
||||
itemname = "flowers:waterlily"
|
||||
end
|
||||
|
@ -192,6 +192,13 @@ minetest.register_craftitem("mcl_mobitems:rabbit_foot", {
|
||||
stack_max = 64,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_mobitems:saddle", {
|
||||
description = "Saddle",
|
||||
wield_image = "mcl_mobitems_saddle.png",
|
||||
inventory_image = "mcl_mobitems_saddle.png",
|
||||
stack_max = 1,
|
||||
})
|
||||
|
||||
-----------
|
||||
-- Crafting
|
||||
-----------
|
||||
|
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 315 B |
@ -543,7 +543,7 @@ Frame Root {
|
||||
96.078431;
|
||||
0.500000; 0.500000; 0.500000;;
|
||||
0.000000; 0.000000; 0.000000;;
|
||||
TextureFilename {"creeper.png";}
|
||||
TextureFilename {"mobs_creeper.png";}
|
||||
}
|
||||
} // End of Creeper material list
|
||||
XSkinMeshHeader {
|
||||
|
@ -551,7 +551,7 @@ Frame Root {
|
||||
96.078431;
|
||||
0.500000; 0.500000; 0.500000;;
|
||||
0.000000; 0.000000; 0.000000;;
|
||||
TextureFilename {"skeleton.png";}
|
||||
TextureFilename {"mobs_skeleton.png";}
|
||||
}
|
||||
} // End of Cube_001 material list
|
||||
XSkinMeshHeader {
|
||||
|
@ -556,7 +556,7 @@ Frame Root {
|
||||
96.078431;
|
||||
0.500000; 0.500000; 0.500000;;
|
||||
0.000000; 0.000000; 0.000000;;
|
||||
TextureFilename {"farmer.png";}
|
||||
TextureFilename {"mobs_farmer.png";}
|
||||
}
|
||||
} // End of Cube_001 material list
|
||||
XSkinMeshHeader {
|
||||
|
@ -58,7 +58,7 @@ mobs:register_mob("mobs_mc:pig", {
|
||||
end
|
||||
|
||||
local item = clicker:get_wielded_item()
|
||||
if item:get_name() == "mobs:saddle" and self.saddle ~= "yes" then
|
||||
if item:get_name() == "mcl_mobitems:saddle" and self.saddle ~= "yes" then
|
||||
self.object:set_properties({
|
||||
textures = {"mobs_pig_with_saddle.png"},
|
||||
})
|
||||
@ -69,7 +69,7 @@ mobs:register_mob("mobs_mc:pig", {
|
||||
chance = 1,
|
||||
min = 1,
|
||||
max = 3,},
|
||||
{name = "mobs:saddle",
|
||||
{name = "mcl_mobitems:saddle",
|
||||
chance = 1,
|
||||
min = 1,
|
||||
max = 1,},
|
||||
|
Before Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 279 B |