Add skeletons of others animals (kitten, panda, penguin, rat, sheep and wathog) from mobs_animal mod.

This commit is contained in:
SFENCE 2021-01-30 19:25:41 +01:00
parent f83678b1b5
commit 3bf901d06e
20 changed files with 1068 additions and 1 deletions

51
data/kitten_skeleton.lua Normal file
View File

@ -0,0 +1,51 @@
-- node box {x=0, y=0, z=0}
node_box = {
type = "fixed",
fixed = {
{-0.0625,-0.25,-0.5,0.0625,-0.1875,-0.375},
{-0.125,-0.1875,-0.5,-0.0625,-0.125,-0.375},
{0.0625,-0.1875,-0.5,0.125,-0.125,-0.375},
{-0.0625,-0.125,-0.5,0.0625,-0.0625,-0.4375},
{-0.125,-0.125,-0.4375,-0.0625,-0.0625,-0.3125},
{0.0625,-0.125,-0.4375,0.125,-0.0625,-0.3125},
{-0.0625,-0.0625,-0.4375,0.0625,0.0,-0.375},
{-0.0625,-0.1875,-0.375,0.0625,-0.125,-0.3125},
{-0.0625,0.0,-0.375,0.0625,0.0625,-0.25},
{-0.0625,-0.125,-0.3125,0.0625,-0.0625,-0.25},
{-0.125,-0.0625,-0.3125,-0.0625,0.0,-0.25},
{0.0625,-0.0625,-0.3125,0.125,0.0,-0.25},
{-0.25,-0.5,-0.25,-0.1875,-0.375,-0.1875},
{0.1875,-0.5,-0.25,0.25,-0.375,-0.1875},
{-0.0625,-0.0625,-0.25,0.0625,0.0,-0.1875},
{-0.25,-0.375,-0.1875,-0.1875,-0.25,-0.125},
{0.1875,-0.375,-0.1875,0.25,-0.25,-0.125},
{-0.0625,-0.3125,-0.125,0.0625,-0.25,-0.0625},
{-0.25,-0.25,-0.125,-0.1875,-0.125,-0.0625},
{-0.125,-0.25,-0.125,-0.0625,-0.0625,-0.0625},
{0.0625,-0.25,-0.125,0.125,-0.0625,-0.0625},
{0.1875,-0.25,-0.125,0.25,-0.125,-0.0625},
{-0.1875,-0.125,-0.125,-0.125,-0.0625,-0.0625},
{-0.0625,-0.125,-0.125,0.0625,-0.0625,-0.0625},
{0.125,-0.125,-0.125,0.1875,-0.0625,-0.0625},
{-0.0625,-0.375,0.0,0.0625,-0.3125,0.0625},
{-0.125,-0.3125,0.0,-0.0625,-0.25,0.0625},
{0.0625,-0.3125,0.0,0.125,-0.25,0.0625},
{-0.1875,-0.25,0.0,-0.125,-0.1875,0.0625},
{0.125,-0.25,0.0,0.1875,-0.1875,0.0625},
{-0.125,-0.1875,0.0,-0.0625,-0.125,0.0625},
{0.0625,-0.1875,0.0,0.125,-0.125,0.0625},
{-0.0625,-0.125,0.0,0.0625,-0.0625,0.0625},
{-0.1875,-0.5,0.0625,-0.125,-0.375,0.125},
{0.125,-0.5,0.0625,0.1875,-0.375,0.125},
{-0.1875,-0.375,0.125,-0.125,-0.25,0.1875},
{0.125,-0.375,0.125,0.1875,-0.25,0.1875},
{-0.125,-0.1875,0.125,-0.0625,-0.125,0.25},
{0.0625,-0.1875,0.125,0.125,-0.125,0.25},
{-0.0625,-0.125,0.125,0.0625,-0.0625,0.1875},
{-0.1875,-0.25,0.1875,-0.0625,-0.1875,0.25},
{0.0625,-0.25,0.1875,0.1875,-0.1875,0.25},
{-0.0625,-0.1875,0.25,0.0625,-0.125,0.3125},
{-0.0625,-0.25,0.375,0.0625,-0.1875,0.4375},
{-0.0625,-0.375,0.4375,0.0625,-0.3125,0.5},
},
},

1
data/kitten_skeleton.we Normal file

File diff suppressed because one or more lines are too long

100
data/panda_skeleton.lua Normal file
View File

@ -0,0 +1,100 @@
-- node box {x=0, y=0, z=0}
node_box = {
type = "fixed",
fixed = {
{0.0,0.0,-0.375,0.0625,0.125,-0.3125},
{-0.0625,0.0,-0.3125,0.125,0.0625,-0.0625},
{-0.0625,0.125,-0.3125,0.125,0.1875,-0.25},
{-0.0625,0.0625,-0.25,0.0,0.125,-0.1875},
{0.0625,0.0625,-0.25,0.125,0.125,-0.1875},
{-0.125,0.125,-0.25,-0.0625,0.1875,-0.0625},
{0.125,0.125,-0.25,0.1875,0.1875,-0.0625},
{-0.0625,0.1875,-0.25,0.125,0.25,-0.1875},
{0.0,0.25,-0.25,0.0625,0.3125,-0.0625},
{0.0,0.1875,-0.1875,0.0625,0.25,-0.0625},
{-0.0625,0.25,-0.1875,0.0,0.3125,-0.125},
{0.0625,0.25,-0.1875,0.125,0.3125,-0.125},
{-0.0625,0.0625,-0.125,0.0,0.125,-0.0625},
{0.0625,0.0625,-0.125,0.125,0.125,-0.0625},
{-0.0625,0.1875,-0.125,0.0,0.25,-0.0625},
{0.0625,0.1875,-0.125,0.125,0.25,-0.0625},
{-0.125,-0.5,-0.0625,-0.0625,-0.4375,0.25},
{0.125,-0.5,-0.0625,0.1875,-0.4375,0.25},
{-0.0625,0.125,-0.0625,0.125,0.1875,0.0},
{-0.1875,-0.5,0.0,-0.125,-0.4375,0.1875},
{0.1875,-0.5,0.0,0.25,-0.4375,0.1875},
{-0.1875,-0.3125,0.0,-0.0625,-0.1875,0.0625},
{0.125,-0.3125,0.0,0.25,-0.1875,0.0625},
{-0.1875,-0.4375,0.0625,-0.0625,-0.3125,0.1875},
{0.125,-0.4375,0.0625,0.25,-0.3125,0.1875},
{-0.1875,-0.1875,0.0625,-0.0625,-0.0625,0.1875},
{0.125,-0.1875,0.0625,0.25,-0.0625,0.1875},
{0.0,0.125,0.0625,0.0625,0.1875,0.125},
{-0.0625,0.1875,0.0625,0.0,0.25,0.125},
{0.0625,0.1875,0.0625,0.125,0.25,0.125},
{0.0,0.25,0.0625,0.0625,0.3125,0.125},
{-0.1875,-0.3125,0.125,-0.0625,-0.1875,0.1875},
{0.125,-0.3125,0.125,0.25,-0.1875,0.1875},
{-0.1875,-0.0625,0.125,-0.0625,0.0,0.25},
{0.125,-0.0625,0.125,0.25,0.0,0.25},
{-0.125,0.0625,0.125,-0.0625,0.1875,0.3125},
{0.125,0.0625,0.125,0.1875,0.1875,0.3125},
{-0.125,0.0,0.1875,-0.0625,0.0625,0.25},
{0.125,0.0,0.1875,0.1875,0.0625,0.25},
{0.0,0.125,0.1875,0.0625,0.1875,0.25},
{-0.125,0.1875,0.1875,0.0,0.25,0.25},
{0.0625,0.1875,0.1875,0.1875,0.25,0.25},
{0.0,0.25,0.1875,0.0625,0.3125,0.25},
{-0.125,0.1875,0.25,-0.0625,0.3125,0.375},
{0.125,0.1875,0.25,0.1875,0.3125,0.375},
{0.0,0.0625,0.3125,0.0625,0.125,0.375},
{-0.0625,0.125,0.3125,0.0,0.1875,0.375},
{0.0625,0.125,0.3125,0.125,0.1875,0.375},
{0.0,0.1875,0.3125,0.0625,0.25,0.375},
{0.0,0.0625,0.4375,0.0625,0.125,0.5},
{-0.0625,0.125,0.4375,0.0,0.1875,0.5},
{0.0625,0.125,0.4375,0.125,0.1875,0.5},
{0.0,0.1875,0.4375,0.0625,0.25,0.5},
},
},
-- node box {x=0, y=0, z=1}
node_box = {
type = "fixed",
fixed = {
{-0.125,-0.5,-0.5,-0.0625,-0.4375,-0.1875},
{0.125,-0.5,-0.5,0.1875,-0.4375,-0.1875},
{-0.1875,-0.5,-0.4375,-0.125,-0.4375,-0.25},
{0.1875,-0.5,-0.4375,0.25,-0.4375,-0.25},
{-0.1875,-0.375,-0.4375,-0.0625,-0.3125,-0.375},
{0.125,-0.375,-0.4375,0.25,-0.3125,-0.375},
{-0.1875,-0.25,-0.4375,-0.0625,-0.1875,-0.3125},
{0.125,-0.25,-0.4375,0.25,-0.1875,-0.3125},
{0.0,0.0625,-0.4375,0.0625,0.125,-0.375},
{-0.0625,0.125,-0.4375,0.0,0.1875,-0.375},
{0.0625,0.125,-0.4375,0.125,0.1875,-0.375},
{0.0,0.1875,-0.4375,0.0625,0.25,-0.375},
{-0.1875,-0.4375,-0.375,-0.0625,-0.375,-0.25},
{0.125,-0.4375,-0.375,0.25,-0.375,-0.25},
{-0.1875,-0.3125,-0.375,-0.0625,-0.25,-0.25},
{0.125,-0.3125,-0.375,0.25,-0.25,-0.25},
{-0.1875,-0.1875,-0.375,-0.0625,-0.125,-0.25},
{0.125,-0.1875,-0.375,0.25,-0.125,-0.25},
{-0.1875,-0.375,-0.3125,-0.0625,-0.3125,-0.25},
{0.125,-0.375,-0.3125,0.25,-0.3125,-0.25},
{-0.1875,-0.125,-0.3125,-0.0625,-0.0625,-0.1875},
{0.125,-0.125,-0.3125,0.25,-0.0625,-0.1875},
{0.0,0.0,-0.3125,0.0625,0.0625,-0.25},
{-0.0625,0.0625,-0.3125,0.0,0.125,-0.25},
{0.0625,0.0625,-0.3125,0.125,0.125,-0.25},
{0.0,0.125,-0.3125,0.0625,0.1875,-0.25},
{-0.1875,-0.0625,-0.25,-0.0625,0.0,-0.125},
{0.125,-0.0625,-0.25,0.25,0.0,-0.125},
{0.0,-0.0625,-0.1875,0.0625,0.0,-0.125},
{-0.0625,0.0,-0.1875,0.0,0.0625,-0.125},
{0.0625,0.0,-0.1875,0.125,0.0625,-0.125},
{0.0,0.0625,-0.1875,0.0625,0.125,-0.125},
{0.0,0.0625,-0.0625,0.0625,0.125,0.0},
{0.0,-0.1875,0.0,0.0625,-0.125,0.0625},
{0.0,-0.0625,0.0,0.0625,0.0,0.0625},
},
},

1
data/panda_skeleton.we Normal file

File diff suppressed because one or more lines are too long

48
data/penguin_skeleton.lua Normal file
View File

@ -0,0 +1,48 @@
-- node box {x=0, y=0, z=0}
node_box = {
type = "fixed",
fixed = {
{-0.0625,0.125,-0.5,0.0625,0.1875,-0.1875},
{-0.0625,0.1875,-0.375,0.0625,0.25,-0.3125},
{-0.0625,0.0625,-0.3125,0.0625,0.125,-0.1875},
{-0.0625,0.25,-0.3125,0.0625,0.3125,-0.1875},
{-0.0625,0.1875,-0.25,0.0625,0.25,-0.1875},
{-0.1875,-0.5,-0.1875,-0.125,-0.4375,-0.0625},
{0.125,-0.5,-0.1875,0.1875,-0.4375,-0.0625},
{-0.125,-0.25,-0.1875,-0.0625,-0.1875,-0.125},
{0.0625,-0.25,-0.1875,0.125,-0.1875,-0.125},
{-0.1875,-0.1875,-0.1875,-0.125,0.0,-0.125},
{-0.0625,-0.1875,-0.1875,0.0625,-0.125,-0.125},
{0.125,-0.1875,-0.1875,0.1875,0.0,-0.125},
{-0.125,-0.125,-0.1875,-0.0625,0.0,-0.125},
{0.0625,-0.125,-0.1875,0.125,0.0,-0.125},
{-0.0625,-0.125,-0.125,0.0625,-0.0625,-0.0625},
{-0.1875,0.0,-0.125,-0.125,0.0625,-0.0625},
{-0.0625,0.0,-0.125,0.0625,0.0625,-0.0625},
{0.125,0.0,-0.125,0.1875,0.0625,-0.0625},
{-0.0625,0.1875,-0.125,0.0625,0.25,-0.0625},
{-0.1875,-0.4375,-0.0625,-0.125,-0.3125,0.0},
{0.125,-0.4375,-0.0625,0.1875,-0.3125,0.0},
{-0.3125,-0.3125,-0.0625,-0.25,-0.1875,0.0},
{0.25,-0.3125,-0.0625,0.3125,-0.1875,0.0},
{-0.25,-0.1875,-0.0625,-0.1875,0.0625,0.0},
{0.1875,-0.1875,-0.0625,0.25,0.0625,0.0},
{-0.125,-0.125,-0.0625,-0.0625,-0.0625,0.0625},
{0.0625,-0.125,-0.0625,0.125,-0.0625,0.0625},
{-0.125,0.0,-0.0625,-0.0625,0.0625,0.0625},
{0.0625,0.0,-0.0625,0.125,0.0625,0.0625},
{-0.0625,0.125,-0.0625,0.0625,0.1875,0.0},
{-0.125,-0.3125,0.0,-0.0625,-0.25,0.125},
{0.0625,-0.3125,0.0,0.125,-0.25,0.125},
{-0.25,-0.1875,0.0,-0.1875,-0.0625,0.0625},
{0.1875,-0.1875,0.0,0.25,-0.0625,0.0625},
{-0.1875,0.0,0.0,-0.125,0.0625,0.0625},
{0.125,0.0,0.0,0.1875,0.0625,0.0625},
{-0.0625,0.0625,0.0,0.0625,0.125,0.0625},
{-0.0625,-0.25,0.0625,0.0625,-0.1875,0.125},
{-0.0625,-0.125,0.0625,0.0625,-0.0625,0.125},
{-0.0625,0.0,0.0625,0.0625,0.0625,0.125},
{-0.0625,-0.3125,0.125,0.0625,-0.25,0.1875},
{-0.0625,-0.375,0.1875,0.0625,-0.3125,0.25},
},
},

1
data/penguin_skeleton.we Normal file

File diff suppressed because one or more lines are too long

54
data/rat_skeleton.lua Normal file
View File

@ -0,0 +1,54 @@
-- node box {x=0, y=0, z=0}
node_box = {
type = "fixed",
fixed = {
{-0.0625,-0.125,-0.5,0.0,-0.0625,-0.4375},
{-0.0625,-0.1875,-0.4375,0.0,-0.125,-0.375},
{-0.0625,-0.0625,-0.4375,0.0,0.0,-0.125},
{-0.0625,-0.25,-0.375,0.0,-0.1875,-0.1875},
{-0.125,-0.125,-0.375,-0.0625,0.0,-0.3125},
{0.0,-0.125,-0.375,0.0625,0.0,-0.3125},
{-0.125,-0.5,-0.3125,-0.0625,-0.4375,-0.1875},
{0.0,-0.5,-0.3125,0.0625,-0.4375,-0.1875},
{-0.125,-0.1875,-0.3125,-0.0625,-0.125,-0.25},
{0.0,-0.1875,-0.3125,0.0625,-0.125,-0.25},
{-0.125,-0.4375,-0.25,-0.0625,-0.375,-0.1875},
{0.0,-0.4375,-0.25,0.0625,-0.375,-0.1875},
{-0.0625,-0.1875,-0.25,0.0,-0.125,-0.125},
{-0.125,-0.125,-0.25,-0.0625,0.0,-0.125},
{0.0,-0.125,-0.25,0.0625,0.0,-0.125},
{-0.125,-0.375,-0.1875,-0.0625,-0.25,-0.125},
{0.0,-0.375,-0.1875,0.0625,-0.25,-0.125},
{-0.0625,-0.125,-0.1875,0.0,-0.0625,-0.0625},
{-0.125,-0.25,-0.125,-0.0625,-0.125,-0.0625},
{0.0,-0.25,-0.125,0.0625,-0.125,-0.0625},
{-0.125,-0.3125,-0.0625,0.0625,-0.25,0.0},
{-0.1875,-0.25,-0.0625,-0.125,-0.0625,0.0},
{0.0625,-0.25,-0.0625,0.125,-0.0625,0.0},
{-0.125,-0.125,-0.0625,-0.0625,-0.0625,0.0},
{0.0,-0.125,-0.0625,0.0625,-0.0625,0.0},
{-0.1875,-0.5,0.0,-0.125,-0.4375,0.1875},
{0.0625,-0.5,0.0,0.125,-0.4375,0.1875},
{-0.0625,-0.1875,0.0,0.0,-0.125,0.0625},
{-0.125,-0.3125,0.0625,0.0625,-0.25,0.125},
{-0.1875,-0.25,0.0625,-0.125,-0.125,0.125},
{0.0625,-0.25,0.0625,0.125,-0.125,0.125},
{-0.125,-0.1875,0.0625,-0.0625,-0.125,0.125},
{0.0,-0.1875,0.0625,0.0625,-0.125,0.125},
{0.3125,-0.5,0.125,0.375,-0.4375,0.3125},
{-0.1875,-0.4375,0.125,-0.125,-0.375,0.1875},
{0.0625,-0.4375,0.125,0.125,-0.375,0.1875},
{-0.0625,-0.1875,0.125,0.0,-0.125,0.1875},
{-0.1875,-0.375,0.1875,-0.125,-0.3125,0.25},
{0.0625,-0.375,0.1875,0.125,-0.3125,0.25},
{-0.0625,-0.4375,0.25,0.0,-0.375,0.3125},
{-0.125,-0.375,0.25,-0.0625,-0.25,0.3125},
{0.0,-0.375,0.25,0.0625,-0.25,0.3125},
{-0.0625,-0.25,0.25,0.0,-0.1875,0.3125},
{0.25,-0.5,0.3125,0.3125,-0.4375,0.375},
{-0.0625,-0.3125,0.3125,0.0,-0.25,0.375},
{0.125,-0.5,0.375,0.25,-0.4375,0.4375},
{0.0625,-0.4375,0.375,0.125,-0.375,0.4375},
{0.0,-0.375,0.375,0.0625,-0.3125,0.4375},
},
},

1
data/rat_skeleton.we Normal file

File diff suppressed because one or more lines are too long

96
data/sheep_skeleton.lua Normal file
View File

@ -0,0 +1,96 @@
-- node box {x=0, y=0, z=0}
node_box = {
type = "fixed",
fixed = {
{-0.125,0.0625,-0.375,0.0,0.125,-0.3125},
{-0.125,0.0,-0.3125,0.0,0.0625,-0.125},
{-0.125,0.125,-0.3125,0.0,0.1875,-0.25},
{-0.1875,0.0625,-0.25,-0.125,0.1875,0.0},
{0.0,0.0625,-0.25,0.0625,0.1875,0.0},
{-0.125,0.1875,-0.25,0.0,0.25,-0.125},
{-0.1875,0.0,-0.125,-0.125,0.0625,-0.0625},
{0.0,0.0,-0.125,0.0625,0.0625,-0.0625},
{-0.1875,0.25,-0.125,0.0625,0.3125,0.0},
{-0.1875,0.1875,-0.0625,-0.125,0.25,0.0625},
{0.0,0.1875,-0.0625,0.0625,0.25,0.0625},
{-0.1875,0.125,0.0,-0.125,0.1875,0.125},
{0.0,0.125,0.0,0.0625,0.1875,0.125},
{-0.125,0.25,0.0,0.0,0.3125,0.0625},
{-0.1875,0.0625,0.0625,-0.125,0.125,0.125},
{0.0,0.0625,0.0625,0.0625,0.125,0.125},
{-0.125,0.0,0.125,0.0,0.125,0.1875},
{-0.125,-0.3125,0.25,0.0,-0.25,0.3125},
{-0.1875,-0.25,0.25,-0.125,-0.1875,0.3125},
{0.0,-0.25,0.25,0.0625,-0.1875,0.3125},
{-0.25,-0.1875,0.25,-0.1875,-0.0625,0.3125},
{0.0625,-0.1875,0.25,0.125,-0.0625,0.3125},
{-0.375,-0.125,0.25,-0.3125,-0.0625,0.375},
{0.1875,-0.125,0.25,0.25,-0.0625,0.375},
{-0.3125,-0.0625,0.25,-0.25,0.0,0.375},
{-0.1875,-0.0625,0.25,-0.125,0.0,0.3125},
{0.0,-0.0625,0.25,0.0625,0.0,0.3125},
{0.125,-0.0625,0.25,0.1875,0.0,0.375},
{-0.25,0.0,0.25,-0.1875,0.0625,0.4375},
{-0.125,0.0,0.25,0.0,0.125,0.3125},
{0.0625,0.0,0.25,0.125,0.0625,0.4375},
{-0.1875,0.0625,0.25,-0.125,0.125,0.4375},
{0.0,0.0625,0.25,0.0625,0.125,0.4375},
{-0.125,-0.3125,0.375,0.0,-0.25,0.4375},
{-0.1875,-0.25,0.375,-0.125,-0.1875,0.4375},
{0.0,-0.25,0.375,0.0625,-0.1875,0.4375},
{-0.4375,-0.1875,0.375,-0.3125,-0.125,0.5},
{-0.25,-0.1875,0.375,-0.1875,-0.0625,0.4375},
{0.0625,-0.1875,0.375,0.125,-0.0625,0.4375},
{0.1875,-0.1875,0.375,0.3125,-0.125,0.5},
{-0.1875,-0.0625,0.375,-0.125,0.0,0.4375},
{0.0,-0.0625,0.375,0.0625,0.0,0.4375},
{-0.125,0.0,0.375,0.0,0.125,0.4375},
{-0.4375,-0.5,0.4375,-0.3125,-0.4375,0.5},
{0.1875,-0.5,0.4375,0.3125,-0.4375,0.5},
},
},
-- node box {x=0, y=0, z=1}
node_box = {
type = "fixed",
fixed = {
{-0.4375,-0.4375,-0.5,-0.3125,-0.1875,-0.4375},
{0.1875,-0.4375,-0.5,0.3125,-0.1875,-0.4375},
{-0.125,-0.3125,-0.5,0.0,-0.25,-0.4375},
{-0.1875,-0.25,-0.5,-0.125,-0.1875,-0.4375},
{0.0,-0.25,-0.5,0.0625,-0.1875,-0.4375},
{-0.25,-0.1875,-0.5,-0.1875,-0.0625,-0.4375},
{0.0625,-0.1875,-0.5,0.125,-0.0625,-0.4375},
{-0.1875,-0.0625,-0.5,-0.125,0.0,-0.4375},
{0.0,-0.0625,-0.5,0.0625,0.0,-0.4375},
{-0.125,0.0,-0.5,0.0,0.125,-0.4375},
{-0.25,-0.125,-0.375,-0.1875,-0.0625,-0.3125},
{0.0625,-0.125,-0.375,0.125,-0.0625,-0.3125},
{-0.1875,-0.0625,-0.375,-0.125,0.0,-0.3125},
{0.0,-0.0625,-0.375,0.0625,0.0,-0.3125},
{-0.125,0.0,-0.375,0.0,0.125,-0.3125},
{-0.125,0.0,-0.25,0.0,0.125,-0.1875},
{-0.375,-0.5,-0.1875,-0.25,-0.375,-0.125},
{0.125,-0.5,-0.1875,0.25,-0.375,-0.125},
{-0.375,-0.3125,-0.1875,-0.25,-0.125,-0.125},
{0.125,-0.3125,-0.1875,0.25,-0.125,-0.125},
{-0.25,0.0625,-0.1875,-0.1875,0.125,0.0},
{0.0625,0.0625,-0.1875,0.125,0.125,0.0},
{-0.375,-0.375,-0.125,-0.25,-0.3125,-0.0625},
{0.125,-0.375,-0.125,0.25,-0.3125,-0.0625},
{-0.375,-0.1875,-0.125,-0.25,-0.0625,-0.0625},
{0.125,-0.1875,-0.125,0.25,-0.0625,-0.0625},
{-0.25,0.0,-0.125,-0.1875,0.0625,0.0625},
{-0.125,0.0,-0.125,0.0,0.125,-0.0625},
{0.0625,0.0,-0.125,0.125,0.0625,0.0625},
{-0.1875,0.0625,-0.125,-0.125,0.125,-0.0625},
{0.0,0.0625,-0.125,0.0625,0.125,-0.0625},
{-0.375,-0.3125,-0.0625,-0.25,-0.25,0.0},
{0.125,-0.3125,-0.0625,0.25,-0.25,0.0},
{-0.375,-0.125,-0.0625,-0.25,-0.0625,0.0625},
{0.125,-0.125,-0.0625,0.25,-0.0625,0.0625},
{-0.375,-0.0625,0.0,-0.1875,0.0,0.0625},
{0.0625,-0.0625,0.0,0.25,0.0,0.0625},
{-0.125,0.0,0.0,0.0,0.125,0.0625},
{-0.125,0.0,0.125,0.0,0.0625,0.1875},
},
},

1
data/sheep_skeleton.we Normal file

File diff suppressed because one or more lines are too long

116
data/warthog_skeleton.lua Normal file
View File

@ -0,0 +1,116 @@
-- node box {x=0, y=0, z=0}
node_box = {
type = "fixed",
fixed = {
{-0.0625,-0.0625,-0.5,0.0625,0.0,-0.25},
{-0.125,0.0,-0.5,-0.0625,0.0625,-0.1875},
{0.0625,0.0,-0.5,0.125,0.0625,-0.1875},
{-0.0625,0.0625,-0.5,0.0625,0.125,-0.4375},
{-0.25,-0.0625,-0.4375,-0.0625,0.0,-0.375},
{0.0625,-0.0625,-0.4375,0.25,0.0,-0.375},
{-0.25,0.0,-0.4375,-0.1875,0.0625,-0.375},
{0.1875,0.0,-0.4375,0.25,0.0625,-0.375},
{-0.125,0.0625,-0.4375,-0.0625,0.125,-0.1875},
{0.0625,0.0625,-0.4375,0.125,0.125,-0.1875},
{-0.0625,0.125,-0.4375,0.0625,0.1875,-0.3125},
{-0.125,0.1875,-0.3125,0.125,0.25,-0.25},
{-0.0625,0.0,-0.25,0.0625,0.0625,-0.1875},
{-0.125,0.125,-0.25,-0.0625,0.1875,-0.125},
{0.0625,0.125,-0.25,0.125,0.1875,-0.125},
{-0.1875,0.1875,-0.25,-0.125,0.3125,-0.1875},
{0.125,0.1875,-0.25,0.1875,0.3125,-0.1875},
{-0.125,0.25,-0.25,0.125,0.3125,-0.1875},
{-0.25,-0.5,-0.1875,-0.125,-0.4375,-0.125},
{0.125,-0.5,-0.1875,0.25,-0.4375,-0.125},
{-0.0625,0.0625,-0.1875,0.0625,0.125,-0.125},
{-0.125,0.1875,-0.1875,0.125,0.25,-0.125},
{-0.25,-0.4375,-0.125,-0.125,-0.375,-0.0625},
{0.125,-0.4375,-0.125,0.25,-0.375,-0.0625},
{-0.25,-0.375,-0.0625,-0.125,-0.3125,0.0},
{0.125,-0.375,-0.0625,0.25,-0.3125,0.0},
{-0.0625,0.0,-0.0625,0.0625,0.125,0.0},
{-0.25,-0.5,0.0,-0.1875,-0.375,0.0625},
{0.1875,-0.5,0.0,0.25,-0.375,0.0625},
{-0.25,-0.3125,0.0,-0.125,-0.25,0.0625},
{0.125,-0.3125,0.0,0.25,-0.25,0.0625},
{-0.25,-0.1875,0.0,-0.125,0.0625,0.0625},
{0.125,-0.1875,0.0,0.25,0.0625,0.0625},
{-0.1875,0.0625,0.0,-0.125,0.125,0.125},
{0.125,0.0625,0.0,0.1875,0.125,0.125},
{-0.25,-0.25,0.0625,-0.125,-0.1875,0.125},
{0.125,-0.25,0.0625,0.25,-0.1875,0.125},
{-0.0625,0.0,0.0625,0.0625,0.1875,0.125},
{-0.1875,0.125,0.0625,-0.0625,0.1875,0.125},
{0.0625,0.125,0.0625,0.1875,0.1875,0.125},
{-0.25,-0.1875,0.125,-0.125,-0.125,0.1875},
{0.125,-0.1875,0.125,0.25,-0.125,0.1875},
{-0.1875,0.125,0.125,-0.125,0.25,0.1875},
{-0.0625,0.1875,0.125,0.0625,0.3125,0.1875},
{-0.0625,-0.1875,0.1875,0.0625,-0.125,0.25},
{-0.125,-0.125,0.1875,-0.0625,-0.0625,0.25},
{0.0625,-0.125,0.1875,0.125,-0.0625,0.25},
{-0.1875,-0.0625,0.1875,-0.125,0.0625,0.25},
{0.125,-0.0625,0.1875,0.1875,0.0625,0.25},
{-0.125,0.0625,0.1875,0.125,0.125,0.25},
{-0.0625,0.125,0.1875,0.0625,0.1875,0.25},
{-0.0625,0.1875,0.25,0.0625,0.3125,0.3125},
{-0.0625,-0.125,0.3125,0.0625,-0.0625,0.375},
{-0.125,-0.0625,0.3125,-0.0625,0.0,0.375},
{0.0625,-0.0625,0.3125,0.125,0.0,0.375},
{-0.1875,0.0,0.3125,-0.125,0.0625,0.375},
{0.125,0.0,0.3125,0.1875,0.0625,0.375},
{-0.25,0.0625,0.3125,-0.1875,0.125,0.375},
{0.1875,0.0625,0.3125,0.25,0.125,0.375},
{-0.1875,0.125,0.3125,-0.125,0.1875,0.375},
{-0.0625,0.125,0.3125,0.0625,0.25,0.375},
{0.125,0.125,0.3125,0.1875,0.1875,0.375},
{-0.125,0.1875,0.3125,-0.0625,0.25,0.375},
{0.0625,0.1875,0.3125,0.125,0.25,0.375},
{-0.25,-0.0625,0.375,-0.1875,0.0,0.4375},
{0.1875,-0.0625,0.375,0.25,0.0,0.4375},
{-0.0625,0.25,0.375,0.0625,0.3125,0.5},
{-0.25,0.0,0.4375,-0.1875,0.1875,0.5},
{0.1875,0.0,0.4375,0.25,0.1875,0.5},
{-0.1875,0.1875,0.4375,-0.125,0.25,0.5},
{-0.0625,0.1875,0.4375,0.0625,0.25,0.5},
{0.125,0.1875,0.4375,0.1875,0.25,0.5},
{-0.125,0.25,0.4375,-0.0625,0.3125,0.5},
{0.0625,0.25,0.4375,0.125,0.3125,0.5},
},
},
-- node box {x=0, y=0, z=1}
node_box = {
type = "fixed",
fixed = {
{-0.25,-0.0625,-0.4375,-0.125,0.0625,-0.375},
{0.125,-0.0625,-0.4375,0.25,0.0625,-0.375},
{-0.0625,0.1875,-0.4375,0.0625,0.3125,-0.375},
{-0.25,-0.5,-0.375,-0.125,-0.4375,-0.3125},
{0.125,-0.5,-0.375,0.25,-0.4375,-0.3125},
{-0.25,-0.125,-0.375,-0.125,-0.0625,-0.3125},
{0.125,-0.125,-0.375,0.25,-0.0625,-0.3125},
{-0.25,0.0625,-0.375,-0.125,0.1875,-0.3125},
{0.125,0.0625,-0.375,0.25,0.1875,-0.3125},
{-0.125,0.1875,-0.375,-0.0625,0.25,-0.3125},
{0.0625,0.1875,-0.375,0.125,0.25,-0.3125},
{-0.25,-0.5,-0.3125,-0.1875,-0.375,-0.25},
{0.1875,-0.5,-0.3125,0.25,-0.375,-0.25},
{-0.1875,-0.4375,-0.3125,-0.125,-0.375,-0.25},
{0.125,-0.4375,-0.3125,0.1875,-0.375,-0.25},
{-0.25,-0.1875,-0.3125,-0.125,-0.125,-0.25},
{0.125,-0.1875,-0.3125,0.25,-0.125,-0.25},
{-0.0625,0.1875,-0.3125,0.0625,0.3125,-0.25},
{-0.25,-0.375,-0.25,-0.125,-0.3125,-0.1875},
{0.125,-0.375,-0.25,0.25,-0.3125,-0.1875},
{-0.25,-0.25,-0.25,-0.125,-0.1875,-0.1875},
{0.125,-0.25,-0.25,0.25,-0.1875,-0.1875},
{-0.25,-0.3125,-0.1875,-0.125,-0.25,-0.125},
{0.125,-0.3125,-0.1875,0.25,-0.25,-0.125},
{-0.0625,0.25,-0.1875,0.0625,0.3125,-0.125},
{-0.25,-0.25,-0.125,-0.125,-0.1875,-0.0625},
{0.125,-0.25,-0.125,0.25,-0.1875,-0.0625},
{-0.0625,0.1875,-0.125,0.0625,0.25,-0.0625},
{-0.0625,0.125,-0.0625,0.0625,0.1875,0.0},
{-0.0625,0.0625,0.0,0.0625,0.125,0.0625},
},
},

1
data/warthog_skeleton.we Normal file

File diff suppressed because one or more lines are too long

View File

@ -17,5 +17,11 @@ dofile(modpath.."/villager_skeleton.lua")
dofile(modpath.."/bunny_skeleton.lua")
dofile(modpath.."/chicken_skeleton.lua")
dofile(modpath.."/cow_skeleton.lua")
dofile(modpath.."/kitten_skeleton.lua")
dofile(modpath.."/panda_skeleton.lua")
dofile(modpath.."/penguin_skeleton.lua")
dofile(modpath.."/warthog_skeleton.lua")
dofile(modpath.."/rat_skeleton.lua")
dofile(modpath.."/sheep_skeleton.lua")
dofile(modpath.."/bones.lua")

69
kitten_skeleton.lua Normal file
View File

@ -0,0 +1,69 @@
local S = minetest.get_translator("skeletons");
-- node box {x=0, y=0, z=0}
local node_box = {
type = "fixed",
fixed = {
{-0.0625,-0.25,-0.5,0.0625,-0.1875,-0.375},
{-0.125,-0.1875,-0.5,-0.0625,-0.125,-0.375},
{0.0625,-0.1875,-0.5,0.125,-0.125,-0.375},
{-0.0625,-0.125,-0.5,0.0625,-0.0625,-0.4375},
{-0.125,-0.125,-0.4375,-0.0625,-0.0625,-0.3125},
{0.0625,-0.125,-0.4375,0.125,-0.0625,-0.3125},
{-0.0625,-0.0625,-0.4375,0.0625,0.0,-0.375},
{-0.0625,-0.1875,-0.375,0.0625,-0.125,-0.3125},
{-0.0625,0.0,-0.375,0.0625,0.0625,-0.25},
{-0.0625,-0.125,-0.3125,0.0625,-0.0625,-0.25},
{-0.125,-0.0625,-0.3125,-0.0625,0.0,-0.25},
{0.0625,-0.0625,-0.3125,0.125,0.0,-0.25},
{-0.25,-0.5,-0.25,-0.1875,-0.375,-0.1875},
{0.1875,-0.5,-0.25,0.25,-0.375,-0.1875},
{-0.0625,-0.0625,-0.25,0.0625,0.0,-0.1875},
{-0.25,-0.375,-0.1875,-0.1875,-0.25,-0.125},
{0.1875,-0.375,-0.1875,0.25,-0.25,-0.125},
{-0.0625,-0.3125,-0.125,0.0625,-0.25,-0.0625},
{-0.25,-0.25,-0.125,-0.1875,-0.125,-0.0625},
{-0.125,-0.25,-0.125,-0.0625,-0.0625,-0.0625},
{0.0625,-0.25,-0.125,0.125,-0.0625,-0.0625},
{0.1875,-0.25,-0.125,0.25,-0.125,-0.0625},
{-0.1875,-0.125,-0.125,-0.125,-0.0625,-0.0625},
{-0.0625,-0.125,-0.125,0.0625,-0.0625,-0.0625},
{0.125,-0.125,-0.125,0.1875,-0.0625,-0.0625},
{-0.0625,-0.375,0.0,0.0625,-0.3125,0.0625},
{-0.125,-0.3125,0.0,-0.0625,-0.25,0.0625},
{0.0625,-0.3125,0.0,0.125,-0.25,0.0625},
{-0.1875,-0.25,0.0,-0.125,-0.1875,0.0625},
{0.125,-0.25,0.0,0.1875,-0.1875,0.0625},
{-0.125,-0.1875,0.0,-0.0625,-0.125,0.0625},
{0.0625,-0.1875,0.0,0.125,-0.125,0.0625},
{-0.0625,-0.125,0.0,0.0625,-0.0625,0.0625},
{-0.1875,-0.5,0.0625,-0.125,-0.375,0.125},
{0.125,-0.5,0.0625,0.1875,-0.375,0.125},
{-0.1875,-0.375,0.125,-0.125,-0.25,0.1875},
{0.125,-0.375,0.125,0.1875,-0.25,0.1875},
{-0.125,-0.1875,0.125,-0.0625,-0.125,0.25},
{0.0625,-0.1875,0.125,0.125,-0.125,0.25},
{-0.0625,-0.125,0.125,0.0625,-0.0625,0.1875},
{-0.1875,-0.25,0.1875,-0.0625,-0.1875,0.25},
{0.0625,-0.25,0.1875,0.1875,-0.1875,0.25},
{-0.0625,-0.1875,0.25,0.0625,-0.125,0.3125},
{-0.0625,-0.25,0.375,0.0625,-0.1875,0.4375},
{-0.0625,-0.375,0.4375,0.0625,-0.3125,0.5},
},
}
skeletons.register_skeleton("kitten_skeleton", S("kitten skeleton"), node_box)
-- add bone drop
if skeletons.have_animal then
local entity = minetest.registered_entities["mobs_animal:kitten"]
if (not entity) then
entity = minetest.registered_entities["hades_animals:kitten"]
end
if entity then
table.insert(entity.drops, {name = "skeletons:fresh_kitten_skeleton", chance = 1, min = 1, max = 1})
end
end

View File

@ -1,4 +1,4 @@
name = skeletons
descriptions = Define skeletons nodes. Supports for mod bonemeal, basic support for mobs_animal.
depends = bones
optional_depends = mobs_animal, hades_animals
optional_depends = bonemeal, mobs_animal, hades_animals

120
panda_skeleton.lua Normal file
View File

@ -0,0 +1,120 @@
local S = minetest.get_translator("skeletons");
-- node box {x=0, y=0, z=0}
local node_box_front = {
type = "fixed",
fixed = {
{0.0,0.0,-0.375,0.0625,0.125,-0.3125},
{-0.0625,0.0,-0.3125,0.125,0.0625,-0.0625},
{-0.0625,0.125,-0.3125,0.125,0.1875,-0.25},
{-0.0625,0.0625,-0.25,0.0,0.125,-0.1875},
{0.0625,0.0625,-0.25,0.125,0.125,-0.1875},
{-0.125,0.125,-0.25,-0.0625,0.1875,-0.0625},
{0.125,0.125,-0.25,0.1875,0.1875,-0.0625},
{-0.0625,0.1875,-0.25,0.125,0.25,-0.1875},
{0.0,0.25,-0.25,0.0625,0.3125,-0.0625},
{0.0,0.1875,-0.1875,0.0625,0.25,-0.0625},
{-0.0625,0.25,-0.1875,0.0,0.3125,-0.125},
{0.0625,0.25,-0.1875,0.125,0.3125,-0.125},
{-0.0625,0.0625,-0.125,0.0,0.125,-0.0625},
{0.0625,0.0625,-0.125,0.125,0.125,-0.0625},
{-0.0625,0.1875,-0.125,0.0,0.25,-0.0625},
{0.0625,0.1875,-0.125,0.125,0.25,-0.0625},
{-0.125,-0.5,-0.0625,-0.0625,-0.4375,0.25},
{0.125,-0.5,-0.0625,0.1875,-0.4375,0.25},
{-0.0625,0.125,-0.0625,0.125,0.1875,0.0},
{-0.1875,-0.5,0.0,-0.125,-0.4375,0.1875},
{0.1875,-0.5,0.0,0.25,-0.4375,0.1875},
{-0.1875,-0.3125,0.0,-0.0625,-0.1875,0.0625},
{0.125,-0.3125,0.0,0.25,-0.1875,0.0625},
{-0.1875,-0.4375,0.0625,-0.0625,-0.3125,0.1875},
{0.125,-0.4375,0.0625,0.25,-0.3125,0.1875},
{-0.1875,-0.1875,0.0625,-0.0625,-0.0625,0.1875},
{0.125,-0.1875,0.0625,0.25,-0.0625,0.1875},
{0.0,0.125,0.0625,0.0625,0.1875,0.125},
{-0.0625,0.1875,0.0625,0.0,0.25,0.125},
{0.0625,0.1875,0.0625,0.125,0.25,0.125},
{0.0,0.25,0.0625,0.0625,0.3125,0.125},
{-0.1875,-0.3125,0.125,-0.0625,-0.1875,0.1875},
{0.125,-0.3125,0.125,0.25,-0.1875,0.1875},
{-0.1875,-0.0625,0.125,-0.0625,0.0,0.25},
{0.125,-0.0625,0.125,0.25,0.0,0.25},
{-0.125,0.0625,0.125,-0.0625,0.1875,0.3125},
{0.125,0.0625,0.125,0.1875,0.1875,0.3125},
{-0.125,0.0,0.1875,-0.0625,0.0625,0.25},
{0.125,0.0,0.1875,0.1875,0.0625,0.25},
{0.0,0.125,0.1875,0.0625,0.1875,0.25},
{-0.125,0.1875,0.1875,0.0,0.25,0.25},
{0.0625,0.1875,0.1875,0.1875,0.25,0.25},
{0.0,0.25,0.1875,0.0625,0.3125,0.25},
{-0.125,0.1875,0.25,-0.0625,0.3125,0.375},
{0.125,0.1875,0.25,0.1875,0.3125,0.375},
{0.0,0.0625,0.3125,0.0625,0.125,0.375},
{-0.0625,0.125,0.3125,0.0,0.1875,0.375},
{0.0625,0.125,0.3125,0.125,0.1875,0.375},
{0.0,0.1875,0.3125,0.0625,0.25,0.375},
{0.0,0.0625,0.4375,0.0625,0.125,0.5},
{-0.0625,0.125,0.4375,0.0,0.1875,0.5},
{0.0625,0.125,0.4375,0.125,0.1875,0.5},
{0.0,0.1875,0.4375,0.0625,0.25,0.5},
},
}
-- node box {x=0, y=0, z=1}
local node_box_back = {
type = "fixed",
fixed = {
{-0.125,-0.5,-0.5,-0.0625,-0.4375,-0.1875},
{0.125,-0.5,-0.5,0.1875,-0.4375,-0.1875},
{-0.1875,-0.5,-0.4375,-0.125,-0.4375,-0.25},
{0.1875,-0.5,-0.4375,0.25,-0.4375,-0.25},
{-0.1875,-0.375,-0.4375,-0.0625,-0.3125,-0.375},
{0.125,-0.375,-0.4375,0.25,-0.3125,-0.375},
{-0.1875,-0.25,-0.4375,-0.0625,-0.1875,-0.3125},
{0.125,-0.25,-0.4375,0.25,-0.1875,-0.3125},
{0.0,0.0625,-0.4375,0.0625,0.125,-0.375},
{-0.0625,0.125,-0.4375,0.0,0.1875,-0.375},
{0.0625,0.125,-0.4375,0.125,0.1875,-0.375},
{0.0,0.1875,-0.4375,0.0625,0.25,-0.375},
{-0.1875,-0.4375,-0.375,-0.0625,-0.375,-0.25},
{0.125,-0.4375,-0.375,0.25,-0.375,-0.25},
{-0.1875,-0.3125,-0.375,-0.0625,-0.25,-0.25},
{0.125,-0.3125,-0.375,0.25,-0.25,-0.25},
{-0.1875,-0.1875,-0.375,-0.0625,-0.125,-0.25},
{0.125,-0.1875,-0.375,0.25,-0.125,-0.25},
{-0.1875,-0.375,-0.3125,-0.0625,-0.3125,-0.25},
{0.125,-0.375,-0.3125,0.25,-0.3125,-0.25},
{-0.1875,-0.125,-0.3125,-0.0625,-0.0625,-0.1875},
{0.125,-0.125,-0.3125,0.25,-0.0625,-0.1875},
{0.0,0.0,-0.3125,0.0625,0.0625,-0.25},
{-0.0625,0.0625,-0.3125,0.0,0.125,-0.25},
{0.0625,0.0625,-0.3125,0.125,0.125,-0.25},
{0.0,0.125,-0.3125,0.0625,0.1875,-0.25},
{-0.1875,-0.0625,-0.25,-0.0625,0.0,-0.125},
{0.125,-0.0625,-0.25,0.25,0.0,-0.125},
{0.0,-0.0625,-0.1875,0.0625,0.0,-0.125},
{-0.0625,0.0,-0.1875,0.0,0.0625,-0.125},
{0.0625,0.0,-0.1875,0.125,0.0625,-0.125},
{0.0,0.0625,-0.1875,0.0625,0.125,-0.125},
{0.0,0.0625,-0.0625,0.0625,0.125,0.0},
{0.0,-0.1875,0.0,0.0625,-0.125,0.0625},
{0.0,-0.0625,0.0,0.0625,0.0,0.0625},
},
}
skeletons.register_skeleton("panda_skeleton_front", S("part of panda skeleton"), node_box_front)
skeletons.register_skeleton("panda_skeleton_back", S("part of panda skeleton"), node_box_back)
-- add bone drop
if skeletons.have_animal then
local entity = minetest.registered_entities["mobs_animal:panda"]
if (not entity) then
entity = minetest.registered_entities["hades_animals:panda"]
end
if entity then
table.insert(entity.drops, {name = "skeletons:fresh_panda_skeleton_front", chance = 1, min = 1, max = 1})
table.insert(entity.drops, {name = "skeletons:fresh_panda_skeleton_back", chance = 1, min = 1, max = 1})
end
end

66
penguin_skeleton.lua Normal file
View File

@ -0,0 +1,66 @@
local S = minetest.get_translator("skeletons");
-- node box {x=0, y=0, z=0}
local node_box = {
type = "fixed",
fixed = {
{-0.0625,0.125,-0.5,0.0625,0.1875,-0.1875},
{-0.0625,0.1875,-0.375,0.0625,0.25,-0.3125},
{-0.0625,0.0625,-0.3125,0.0625,0.125,-0.1875},
{-0.0625,0.25,-0.3125,0.0625,0.3125,-0.1875},
{-0.0625,0.1875,-0.25,0.0625,0.25,-0.1875},
{-0.1875,-0.5,-0.1875,-0.125,-0.4375,-0.0625},
{0.125,-0.5,-0.1875,0.1875,-0.4375,-0.0625},
{-0.125,-0.25,-0.1875,-0.0625,-0.1875,-0.125},
{0.0625,-0.25,-0.1875,0.125,-0.1875,-0.125},
{-0.1875,-0.1875,-0.1875,-0.125,0.0,-0.125},
{-0.0625,-0.1875,-0.1875,0.0625,-0.125,-0.125},
{0.125,-0.1875,-0.1875,0.1875,0.0,-0.125},
{-0.125,-0.125,-0.1875,-0.0625,0.0,-0.125},
{0.0625,-0.125,-0.1875,0.125,0.0,-0.125},
{-0.0625,-0.125,-0.125,0.0625,-0.0625,-0.0625},
{-0.1875,0.0,-0.125,-0.125,0.0625,-0.0625},
{-0.0625,0.0,-0.125,0.0625,0.0625,-0.0625},
{0.125,0.0,-0.125,0.1875,0.0625,-0.0625},
{-0.0625,0.1875,-0.125,0.0625,0.25,-0.0625},
{-0.1875,-0.4375,-0.0625,-0.125,-0.3125,0.0},
{0.125,-0.4375,-0.0625,0.1875,-0.3125,0.0},
{-0.3125,-0.3125,-0.0625,-0.25,-0.1875,0.0},
{0.25,-0.3125,-0.0625,0.3125,-0.1875,0.0},
{-0.25,-0.1875,-0.0625,-0.1875,0.0625,0.0},
{0.1875,-0.1875,-0.0625,0.25,0.0625,0.0},
{-0.125,-0.125,-0.0625,-0.0625,-0.0625,0.0625},
{0.0625,-0.125,-0.0625,0.125,-0.0625,0.0625},
{-0.125,0.0,-0.0625,-0.0625,0.0625,0.0625},
{0.0625,0.0,-0.0625,0.125,0.0625,0.0625},
{-0.0625,0.125,-0.0625,0.0625,0.1875,0.0},
{-0.125,-0.3125,0.0,-0.0625,-0.25,0.125},
{0.0625,-0.3125,0.0,0.125,-0.25,0.125},
{-0.25,-0.1875,0.0,-0.1875,-0.0625,0.0625},
{0.1875,-0.1875,0.0,0.25,-0.0625,0.0625},
{-0.1875,0.0,0.0,-0.125,0.0625,0.0625},
{0.125,0.0,0.0,0.1875,0.0625,0.0625},
{-0.0625,0.0625,0.0,0.0625,0.125,0.0625},
{-0.0625,-0.25,0.0625,0.0625,-0.1875,0.125},
{-0.0625,-0.125,0.0625,0.0625,-0.0625,0.125},
{-0.0625,0.0,0.0625,0.0625,0.0625,0.125},
{-0.0625,-0.3125,0.125,0.0625,-0.25,0.1875},
{-0.0625,-0.375,0.1875,0.0625,-0.3125,0.25},
},
}
skeletons.register_skeleton("penguin_skeleton", S("penguin skeleton"), node_box)
-- add bone drop
if skeletons.have_animal then
local entity = minetest.registered_entities["mobs_animal:penguin"]
if (not entity) then
entity = minetest.registered_entities["hades_animals:penguin"]
end
if entity then
table.insert(entity.drops, {name = "skeletons:fresh_penguin_skeleton", chance = 1, min = 1, max = 1})
end
end

74
rat_skeleton.lua Normal file
View File

@ -0,0 +1,74 @@
local S = minetest.get_translator("skeletons");
-- node box {x=0, y=0, z=0}
local node_box = {
type = "fixed",
fixed = {
{-0.0625,-0.125,-0.5,0.0,-0.0625,-0.4375},
{-0.0625,-0.1875,-0.4375,0.0,-0.125,-0.375},
{-0.0625,-0.0625,-0.4375,0.0,0.0,-0.125},
{-0.0625,-0.25,-0.375,0.0,-0.1875,-0.1875},
{-0.125,-0.125,-0.375,-0.0625,0.0,-0.3125},
{0.0,-0.125,-0.375,0.0625,0.0,-0.3125},
{-0.125,-0.5,-0.3125,-0.0625,-0.4375,-0.1875},
{0.0,-0.5,-0.3125,0.0625,-0.4375,-0.1875},
{-0.125,-0.1875,-0.3125,-0.0625,-0.125,-0.25},
{0.0,-0.1875,-0.3125,0.0625,-0.125,-0.25},
{-0.125,-0.4375,-0.25,-0.0625,-0.375,-0.1875},
{0.0,-0.4375,-0.25,0.0625,-0.375,-0.1875},
{-0.0625,-0.1875,-0.25,0.0,-0.125,-0.125},
{-0.125,-0.125,-0.25,-0.0625,0.0,-0.125},
{0.0,-0.125,-0.25,0.0625,0.0,-0.125},
{-0.125,-0.375,-0.1875,-0.0625,-0.25,-0.125},
{0.0,-0.375,-0.1875,0.0625,-0.25,-0.125},
{-0.0625,-0.125,-0.1875,0.0,-0.0625,-0.0625},
{-0.125,-0.25,-0.125,-0.0625,-0.125,-0.0625},
{0.0,-0.25,-0.125,0.0625,-0.125,-0.0625},
{-0.125,-0.3125,-0.0625,0.0625,-0.25,0.0},
{-0.1875,-0.25,-0.0625,-0.125,-0.0625,0.0},
{0.0625,-0.25,-0.0625,0.125,-0.0625,0.0},
{-0.125,-0.125,-0.0625,-0.0625,-0.0625,0.0},
{0.0,-0.125,-0.0625,0.0625,-0.0625,0.0},
{-0.1875,-0.5,0.0,-0.125,-0.4375,0.1875},
{0.0625,-0.5,0.0,0.125,-0.4375,0.1875},
{-0.0625,-0.1875,0.0,0.0,-0.125,0.0625},
{-0.125,-0.3125,0.0625,0.0625,-0.25,0.125},
{-0.1875,-0.25,0.0625,-0.125,-0.125,0.125},
{0.0625,-0.25,0.0625,0.125,-0.125,0.125},
{-0.125,-0.1875,0.0625,-0.0625,-0.125,0.125},
{0.0,-0.1875,0.0625,0.0625,-0.125,0.125},
{0.3125,-0.5,0.125,0.375,-0.4375,0.3125},
{-0.1875,-0.4375,0.125,-0.125,-0.375,0.1875},
{0.0625,-0.4375,0.125,0.125,-0.375,0.1875},
{-0.0625,-0.1875,0.125,0.0,-0.125,0.1875},
{-0.1875,-0.375,0.1875,-0.125,-0.3125,0.25},
{0.0625,-0.375,0.1875,0.125,-0.3125,0.25},
{-0.0625,-0.4375,0.25,0.0,-0.375,0.3125},
{-0.125,-0.375,0.25,-0.0625,-0.25,0.3125},
{0.0,-0.375,0.25,0.0625,-0.25,0.3125},
{-0.0625,-0.25,0.25,0.0,-0.1875,0.3125},
{0.25,-0.5,0.3125,0.3125,-0.4375,0.375},
{-0.0625,-0.3125,0.3125,0.0,-0.25,0.375},
{0.125,-0.5,0.375,0.25,-0.4375,0.4375},
{0.0625,-0.4375,0.375,0.125,-0.375,0.4375},
{0.0,-0.375,0.375,0.0625,-0.3125,0.4375},
},
}
skeletons.register_skeleton("rat_skeleton", S("rat skeleton"), node_box)
-- add bone drop
if skeletons.have_animal then
local entity = minetest.registered_entities["mobs_animal:rat"]
if (not entity) then
entity = minetest.registered_entities["hades_animals:rat"]
end
if entity then
entity.drops = {
{name = "skeletons:fresh_rat_skeleton", chance = 1, min = 1, max = 1}
}
end
end

125
sheep_skeleton.lua Normal file
View File

@ -0,0 +1,125 @@
local S = minetest.get_translator("skeletons");
-- node box {x=0, y=0, z=0}
local node_box_front = {
type = "fixed",
fixed = {
{-0.125,0.0625,-0.375,0.0,0.125,-0.3125},
{-0.125,0.0,-0.3125,0.0,0.0625,-0.125},
{-0.125,0.125,-0.3125,0.0,0.1875,-0.25},
{-0.1875,0.0625,-0.25,-0.125,0.1875,0.0},
{0.0,0.0625,-0.25,0.0625,0.1875,0.0},
{-0.125,0.1875,-0.25,0.0,0.25,-0.125},
{-0.1875,0.0,-0.125,-0.125,0.0625,-0.0625},
{0.0,0.0,-0.125,0.0625,0.0625,-0.0625},
{-0.1875,0.25,-0.125,0.0625,0.3125,0.0},
{-0.1875,0.1875,-0.0625,-0.125,0.25,0.0625},
{0.0,0.1875,-0.0625,0.0625,0.25,0.0625},
{-0.1875,0.125,0.0,-0.125,0.1875,0.125},
{0.0,0.125,0.0,0.0625,0.1875,0.125},
{-0.125,0.25,0.0,0.0,0.3125,0.0625},
{-0.1875,0.0625,0.0625,-0.125,0.125,0.125},
{0.0,0.0625,0.0625,0.0625,0.125,0.125},
{-0.125,0.0,0.125,0.0,0.125,0.1875},
{-0.125,-0.3125,0.25,0.0,-0.25,0.3125},
{-0.1875,-0.25,0.25,-0.125,-0.1875,0.3125},
{0.0,-0.25,0.25,0.0625,-0.1875,0.3125},
{-0.25,-0.1875,0.25,-0.1875,-0.0625,0.3125},
{0.0625,-0.1875,0.25,0.125,-0.0625,0.3125},
{-0.375,-0.125,0.25,-0.3125,-0.0625,0.375},
{0.1875,-0.125,0.25,0.25,-0.0625,0.375},
{-0.3125,-0.0625,0.25,-0.25,0.0,0.375},
{-0.1875,-0.0625,0.25,-0.125,0.0,0.3125},
{0.0,-0.0625,0.25,0.0625,0.0,0.3125},
{0.125,-0.0625,0.25,0.1875,0.0,0.375},
{-0.25,0.0,0.25,-0.1875,0.0625,0.4375},
{-0.125,0.0,0.25,0.0,0.125,0.3125},
{0.0625,0.0,0.25,0.125,0.0625,0.4375},
{-0.1875,0.0625,0.25,-0.125,0.125,0.4375},
{0.0,0.0625,0.25,0.0625,0.125,0.4375},
{-0.125,-0.3125,0.375,0.0,-0.25,0.4375},
{-0.1875,-0.25,0.375,-0.125,-0.1875,0.4375},
{0.0,-0.25,0.375,0.0625,-0.1875,0.4375},
{-0.4375,-0.1875,0.375,-0.3125,-0.125,0.5},
{-0.25,-0.1875,0.375,-0.1875,-0.0625,0.4375},
{0.0625,-0.1875,0.375,0.125,-0.0625,0.4375},
{0.1875,-0.1875,0.375,0.3125,-0.125,0.5},
{-0.1875,-0.0625,0.375,-0.125,0.0,0.4375},
{0.0,-0.0625,0.375,0.0625,0.0,0.4375},
{-0.125,0.0,0.375,0.0,0.125,0.4375},
{-0.4375,-0.5,0.4375,-0.3125,-0.4375,0.5},
{0.1875,-0.5,0.4375,0.3125,-0.4375,0.5},
},
}
-- node box {x=0, y=0, z=1}
local node_box_back = {
type = "fixed",
fixed = {
{-0.4375,-0.4375,-0.5,-0.3125,-0.1875,-0.4375},
{0.1875,-0.4375,-0.5,0.3125,-0.1875,-0.4375},
{-0.125,-0.3125,-0.5,0.0,-0.25,-0.4375},
{-0.1875,-0.25,-0.5,-0.125,-0.1875,-0.4375},
{0.0,-0.25,-0.5,0.0625,-0.1875,-0.4375},
{-0.25,-0.1875,-0.5,-0.1875,-0.0625,-0.4375},
{0.0625,-0.1875,-0.5,0.125,-0.0625,-0.4375},
{-0.1875,-0.0625,-0.5,-0.125,0.0,-0.4375},
{0.0,-0.0625,-0.5,0.0625,0.0,-0.4375},
{-0.125,0.0,-0.5,0.0,0.125,-0.4375},
{-0.25,-0.125,-0.375,-0.1875,-0.0625,-0.3125},
{0.0625,-0.125,-0.375,0.125,-0.0625,-0.3125},
{-0.1875,-0.0625,-0.375,-0.125,0.0,-0.3125},
{0.0,-0.0625,-0.375,0.0625,0.0,-0.3125},
{-0.125,0.0,-0.375,0.0,0.125,-0.3125},
{-0.125,0.0,-0.25,0.0,0.125,-0.1875},
{-0.375,-0.5,-0.1875,-0.25,-0.375,-0.125},
{0.125,-0.5,-0.1875,0.25,-0.375,-0.125},
{-0.375,-0.3125,-0.1875,-0.25,-0.125,-0.125},
{0.125,-0.3125,-0.1875,0.25,-0.125,-0.125},
{-0.25,0.0625,-0.1875,-0.1875,0.125,0.0},
{0.0625,0.0625,-0.1875,0.125,0.125,0.0},
{-0.375,-0.375,-0.125,-0.25,-0.3125,-0.0625},
{0.125,-0.375,-0.125,0.25,-0.3125,-0.0625},
{-0.375,-0.1875,-0.125,-0.25,-0.0625,-0.0625},
{0.125,-0.1875,-0.125,0.25,-0.0625,-0.0625},
{-0.25,0.0,-0.125,-0.1875,0.0625,0.0625},
{-0.125,0.0,-0.125,0.0,0.125,-0.0625},
{0.0625,0.0,-0.125,0.125,0.0625,0.0625},
{-0.1875,0.0625,-0.125,-0.125,0.125,-0.0625},
{0.0,0.0625,-0.125,0.0625,0.125,-0.0625},
{-0.375,-0.3125,-0.0625,-0.25,-0.25,0.0},
{0.125,-0.3125,-0.0625,0.25,-0.25,0.0},
{-0.375,-0.125,-0.0625,-0.25,-0.0625,0.0625},
{0.125,-0.125,-0.0625,0.25,-0.0625,0.0625},
{-0.375,-0.0625,0.0,-0.1875,0.0,0.0625},
{0.0625,-0.0625,0.0,0.25,0.0,0.0625},
{-0.125,0.0,0.0,0.0,0.125,0.0625},
{-0.125,0.0,0.125,0.0,0.0625,0.1875},
},
}
skeletons.register_skeleton("sheep_skeleton_front", S("part of sheep skeleton"), node_box_front)
skeletons.register_skeleton("sheep_skeleton_back", S("part of sheep skeleton"), node_box_back)
-- add bone drop
if skeletons.have_animal then
local colors = {
"black", "blue", "brown", "cyan",
"dark_green", "dark_grey", "green", "grey",
"magenta", "orange", "pink", "red",
"violet", "white", "yellow"
};
for index, value in pairs(colors) do
local entity = minetest.registered_entities["mobs_animal:sheep_"..value]
if (not entity) then
entity = minetest.registered_entities["hades_animals:sheep_"..value]
end
if entity then
table.insert(entity.drops, {name = "skeletons:fresh_warthog_skeleton_front", chance = 1, min = 1, max = 1})
table.insert(entity.drops, {name = "skeletons:fresh_warthog_skeleton_back", chance = 1, min = 1, max = 1})
end
end
end

136
warthog_skeleton.lua Normal file
View File

@ -0,0 +1,136 @@
local S = minetest.get_translator("skeletons");
-- node box {x=0, y=0, z=0}
local node_box_front = {
type = "fixed",
fixed = {
{-0.0625,-0.0625,-0.5,0.0625,0.0,-0.25},
{-0.125,0.0,-0.5,-0.0625,0.0625,-0.1875},
{0.0625,0.0,-0.5,0.125,0.0625,-0.1875},
{-0.0625,0.0625,-0.5,0.0625,0.125,-0.4375},
{-0.25,-0.0625,-0.4375,-0.0625,0.0,-0.375},
{0.0625,-0.0625,-0.4375,0.25,0.0,-0.375},
{-0.25,0.0,-0.4375,-0.1875,0.0625,-0.375},
{0.1875,0.0,-0.4375,0.25,0.0625,-0.375},
{-0.125,0.0625,-0.4375,-0.0625,0.125,-0.1875},
{0.0625,0.0625,-0.4375,0.125,0.125,-0.1875},
{-0.0625,0.125,-0.4375,0.0625,0.1875,-0.3125},
{-0.125,0.1875,-0.3125,0.125,0.25,-0.25},
{-0.0625,0.0,-0.25,0.0625,0.0625,-0.1875},
{-0.125,0.125,-0.25,-0.0625,0.1875,-0.125},
{0.0625,0.125,-0.25,0.125,0.1875,-0.125},
{-0.1875,0.1875,-0.25,-0.125,0.3125,-0.1875},
{0.125,0.1875,-0.25,0.1875,0.3125,-0.1875},
{-0.125,0.25,-0.25,0.125,0.3125,-0.1875},
{-0.25,-0.5,-0.1875,-0.125,-0.4375,-0.125},
{0.125,-0.5,-0.1875,0.25,-0.4375,-0.125},
{-0.0625,0.0625,-0.1875,0.0625,0.125,-0.125},
{-0.125,0.1875,-0.1875,0.125,0.25,-0.125},
{-0.25,-0.4375,-0.125,-0.125,-0.375,-0.0625},
{0.125,-0.4375,-0.125,0.25,-0.375,-0.0625},
{-0.25,-0.375,-0.0625,-0.125,-0.3125,0.0},
{0.125,-0.375,-0.0625,0.25,-0.3125,0.0},
{-0.0625,0.0,-0.0625,0.0625,0.125,0.0},
{-0.25,-0.5,0.0,-0.1875,-0.375,0.0625},
{0.1875,-0.5,0.0,0.25,-0.375,0.0625},
{-0.25,-0.3125,0.0,-0.125,-0.25,0.0625},
{0.125,-0.3125,0.0,0.25,-0.25,0.0625},
{-0.25,-0.1875,0.0,-0.125,0.0625,0.0625},
{0.125,-0.1875,0.0,0.25,0.0625,0.0625},
{-0.1875,0.0625,0.0,-0.125,0.125,0.125},
{0.125,0.0625,0.0,0.1875,0.125,0.125},
{-0.25,-0.25,0.0625,-0.125,-0.1875,0.125},
{0.125,-0.25,0.0625,0.25,-0.1875,0.125},
{-0.0625,0.0,0.0625,0.0625,0.1875,0.125},
{-0.1875,0.125,0.0625,-0.0625,0.1875,0.125},
{0.0625,0.125,0.0625,0.1875,0.1875,0.125},
{-0.25,-0.1875,0.125,-0.125,-0.125,0.1875},
{0.125,-0.1875,0.125,0.25,-0.125,0.1875},
{-0.1875,0.125,0.125,-0.125,0.25,0.1875},
{-0.0625,0.1875,0.125,0.0625,0.3125,0.1875},
{-0.0625,-0.1875,0.1875,0.0625,-0.125,0.25},
{-0.125,-0.125,0.1875,-0.0625,-0.0625,0.25},
{0.0625,-0.125,0.1875,0.125,-0.0625,0.25},
{-0.1875,-0.0625,0.1875,-0.125,0.0625,0.25},
{0.125,-0.0625,0.1875,0.1875,0.0625,0.25},
{-0.125,0.0625,0.1875,0.125,0.125,0.25},
{-0.0625,0.125,0.1875,0.0625,0.1875,0.25},
{-0.0625,0.1875,0.25,0.0625,0.3125,0.3125},
{-0.0625,-0.125,0.3125,0.0625,-0.0625,0.375},
{-0.125,-0.0625,0.3125,-0.0625,0.0,0.375},
{0.0625,-0.0625,0.3125,0.125,0.0,0.375},
{-0.1875,0.0,0.3125,-0.125,0.0625,0.375},
{0.125,0.0,0.3125,0.1875,0.0625,0.375},
{-0.25,0.0625,0.3125,-0.1875,0.125,0.375},
{0.1875,0.0625,0.3125,0.25,0.125,0.375},
{-0.1875,0.125,0.3125,-0.125,0.1875,0.375},
{-0.0625,0.125,0.3125,0.0625,0.25,0.375},
{0.125,0.125,0.3125,0.1875,0.1875,0.375},
{-0.125,0.1875,0.3125,-0.0625,0.25,0.375},
{0.0625,0.1875,0.3125,0.125,0.25,0.375},
{-0.25,-0.0625,0.375,-0.1875,0.0,0.4375},
{0.1875,-0.0625,0.375,0.25,0.0,0.4375},
{-0.0625,0.25,0.375,0.0625,0.3125,0.5},
{-0.25,0.0,0.4375,-0.1875,0.1875,0.5},
{0.1875,0.0,0.4375,0.25,0.1875,0.5},
{-0.1875,0.1875,0.4375,-0.125,0.25,0.5},
{-0.0625,0.1875,0.4375,0.0625,0.25,0.5},
{0.125,0.1875,0.4375,0.1875,0.25,0.5},
{-0.125,0.25,0.4375,-0.0625,0.3125,0.5},
{0.0625,0.25,0.4375,0.125,0.3125,0.5},
},
}
-- node box {x=0, y=0, z=1}
local node_box_back = {
type = "fixed",
fixed = {
{-0.25,-0.0625,-0.4375,-0.125,0.0625,-0.375},
{0.125,-0.0625,-0.4375,0.25,0.0625,-0.375},
{-0.0625,0.1875,-0.4375,0.0625,0.3125,-0.375},
{-0.25,-0.5,-0.375,-0.125,-0.4375,-0.3125},
{0.125,-0.5,-0.375,0.25,-0.4375,-0.3125},
{-0.25,-0.125,-0.375,-0.125,-0.0625,-0.3125},
{0.125,-0.125,-0.375,0.25,-0.0625,-0.3125},
{-0.25,0.0625,-0.375,-0.125,0.1875,-0.3125},
{0.125,0.0625,-0.375,0.25,0.1875,-0.3125},
{-0.125,0.1875,-0.375,-0.0625,0.25,-0.3125},
{0.0625,0.1875,-0.375,0.125,0.25,-0.3125},
{-0.25,-0.5,-0.3125,-0.1875,-0.375,-0.25},
{0.1875,-0.5,-0.3125,0.25,-0.375,-0.25},
{-0.1875,-0.4375,-0.3125,-0.125,-0.375,-0.25},
{0.125,-0.4375,-0.3125,0.1875,-0.375,-0.25},
{-0.25,-0.1875,-0.3125,-0.125,-0.125,-0.25},
{0.125,-0.1875,-0.3125,0.25,-0.125,-0.25},
{-0.0625,0.1875,-0.3125,0.0625,0.3125,-0.25},
{-0.25,-0.375,-0.25,-0.125,-0.3125,-0.1875},
{0.125,-0.375,-0.25,0.25,-0.3125,-0.1875},
{-0.25,-0.25,-0.25,-0.125,-0.1875,-0.1875},
{0.125,-0.25,-0.25,0.25,-0.1875,-0.1875},
{-0.25,-0.3125,-0.1875,-0.125,-0.25,-0.125},
{0.125,-0.3125,-0.1875,0.25,-0.25,-0.125},
{-0.0625,0.25,-0.1875,0.0625,0.3125,-0.125},
{-0.25,-0.25,-0.125,-0.125,-0.1875,-0.0625},
{0.125,-0.25,-0.125,0.25,-0.1875,-0.0625},
{-0.0625,0.1875,-0.125,0.0625,0.25,-0.0625},
{-0.0625,0.125,-0.0625,0.0625,0.1875,0.0},
{-0.0625,0.0625,0.0,0.0625,0.125,0.0625},
},
}
skeletons.register_skeleton("warthog_skeleton_front", S("part of warthog skeleton"), node_box_front)
skeletons.register_skeleton("warthog_skeleton_back", S("part of warthog skeleton"), node_box_back)
-- add bone drop
if skeletons.have_animal then
local entity = minetest.registered_entities["mobs_animal:pumba"]
if (not entity) then
entity = minetest.registered_entities["hades_animals:pumba"]
end
if entity then
table.insert(entity.drops, {name = "skeletons:fresh_warthog_skeleton_front", chance = 1, min = 1, max = 1})
table.insert(entity.drops, {name = "skeletons:fresh_warthog_skeleton_back", chance = 1, min = 1, max = 1})
end
end