From 823321b570ae1d2f6405d30e1864a3ea7f98b316 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 31 Jan 2017 10:05:32 +0100 Subject: [PATCH] Rename head mod to mcl_heads --- mods/head/README.md | 3 --- mods/{head => mcl_heads}/depends.txt | 0 mods/mcl_heads/description.txt | 1 + mods/{head => mcl_heads}/init.lua | 8 ++++---- mods/mcl_heads/mod.conf | 1 + .../textures/head_creeper_back.png | Bin .../textures/head_creeper_face.png | Bin .../textures/head_creeper_left.png | Bin .../textures/head_creeper_right.png | Bin .../textures/head_creeper_top.png | Bin .../textures/head_skeleton_back.png | Bin .../textures/head_skeleton_face.png | Bin .../textures/head_skeleton_left.png | Bin .../textures/head_skeleton_right.png | Bin .../textures/head_skeleton_top.png | Bin .../textures/head_steve_back.png | Bin .../textures/head_steve_face.png | Bin .../textures/head_steve_left.png | Bin .../textures/head_steve_right.png | Bin .../{head => mcl_heads}/textures/head_steve_top.png | Bin .../textures/head_wither_skeleton_back.png | Bin .../textures/head_wither_skeleton_face.png | Bin .../textures/head_wither_skeleton_left.png | Bin .../textures/head_wither_skeleton_right.png | Bin .../textures/head_wither_skeleton_top.png | Bin .../textures/head_zombie_back.png | Bin .../textures/head_zombie_face.png | Bin .../textures/head_zombie_left.png | Bin .../textures/head_zombie_right.png | Bin .../textures/head_zombie_top.png | Bin mods/mobs_mc/skeleton.lua | 2 +- 31 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 mods/head/README.md rename mods/{head => mcl_heads}/depends.txt (100%) create mode 100644 mods/mcl_heads/description.txt rename mods/{head => mcl_heads}/init.lua (91%) create mode 100644 mods/mcl_heads/mod.conf rename mods/{head => mcl_heads}/textures/head_creeper_back.png (100%) rename mods/{head => mcl_heads}/textures/head_creeper_face.png (100%) rename mods/{head => mcl_heads}/textures/head_creeper_left.png (100%) rename mods/{head => mcl_heads}/textures/head_creeper_right.png (100%) rename mods/{head => mcl_heads}/textures/head_creeper_top.png (100%) rename mods/{head => mcl_heads}/textures/head_skeleton_back.png (100%) rename mods/{head => mcl_heads}/textures/head_skeleton_face.png (100%) rename mods/{head => mcl_heads}/textures/head_skeleton_left.png (100%) rename mods/{head => mcl_heads}/textures/head_skeleton_right.png (100%) rename mods/{head => mcl_heads}/textures/head_skeleton_top.png (100%) rename mods/{head => mcl_heads}/textures/head_steve_back.png (100%) rename mods/{head => mcl_heads}/textures/head_steve_face.png (100%) rename mods/{head => mcl_heads}/textures/head_steve_left.png (100%) rename mods/{head => mcl_heads}/textures/head_steve_right.png (100%) rename mods/{head => mcl_heads}/textures/head_steve_top.png (100%) rename mods/{head => mcl_heads}/textures/head_wither_skeleton_back.png (100%) rename mods/{head => mcl_heads}/textures/head_wither_skeleton_face.png (100%) rename mods/{head => mcl_heads}/textures/head_wither_skeleton_left.png (100%) rename mods/{head => mcl_heads}/textures/head_wither_skeleton_right.png (100%) rename mods/{head => mcl_heads}/textures/head_wither_skeleton_top.png (100%) rename mods/{head => mcl_heads}/textures/head_zombie_back.png (100%) rename mods/{head => mcl_heads}/textures/head_zombie_face.png (100%) rename mods/{head => mcl_heads}/textures/head_zombie_left.png (100%) rename mods/{head => mcl_heads}/textures/head_zombie_right.png (100%) rename mods/{head => mcl_heads}/textures/head_zombie_top.png (100%) diff --git a/mods/head/README.md b/mods/head/README.md deleted file mode 100644 index 952a20052..000000000 --- a/mods/head/README.md +++ /dev/null @@ -1,3 +0,0 @@ -head mineclone -==== -Begin of little head \ No newline at end of file diff --git a/mods/head/depends.txt b/mods/mcl_heads/depends.txt similarity index 100% rename from mods/head/depends.txt rename to mods/mcl_heads/depends.txt diff --git a/mods/mcl_heads/description.txt b/mods/mcl_heads/description.txt new file mode 100644 index 000000000..c3a38bb77 --- /dev/null +++ b/mods/mcl_heads/description.txt @@ -0,0 +1 @@ +Small decorational head blocks. diff --git a/mods/head/init.lua b/mods/mcl_heads/init.lua similarity index 91% rename from mods/head/init.lua rename to mods/mcl_heads/init.lua index a463cb0c0..16d9854bf 100644 --- a/mods/head/init.lua +++ b/mods/mcl_heads/init.lua @@ -1,8 +1,8 @@ --- head system +-- Heads system local function addhead(node, desc) - minetest.register_node("head:"..node, { - description = ""..desc, + minetest.register_node("mcl_heads:"..node, { + description = desc, drawtype = "nodebox", is_ground_content = false, node_box = { @@ -35,7 +35,7 @@ local function addhead(node, desc) }) end ---head add +-- Add heads addhead("zombie", "Zombie Head") addhead("creeper", "Creeper Head") addhead("steve", "Head") diff --git a/mods/mcl_heads/mod.conf b/mods/mcl_heads/mod.conf new file mode 100644 index 000000000..0dab90077 --- /dev/null +++ b/mods/mcl_heads/mod.conf @@ -0,0 +1 @@ +name = mcl_heads diff --git a/mods/head/textures/head_creeper_back.png b/mods/mcl_heads/textures/head_creeper_back.png similarity index 100% rename from mods/head/textures/head_creeper_back.png rename to mods/mcl_heads/textures/head_creeper_back.png diff --git a/mods/head/textures/head_creeper_face.png b/mods/mcl_heads/textures/head_creeper_face.png similarity index 100% rename from mods/head/textures/head_creeper_face.png rename to mods/mcl_heads/textures/head_creeper_face.png diff --git a/mods/head/textures/head_creeper_left.png b/mods/mcl_heads/textures/head_creeper_left.png similarity index 100% rename from mods/head/textures/head_creeper_left.png rename to mods/mcl_heads/textures/head_creeper_left.png diff --git a/mods/head/textures/head_creeper_right.png b/mods/mcl_heads/textures/head_creeper_right.png similarity index 100% rename from mods/head/textures/head_creeper_right.png rename to mods/mcl_heads/textures/head_creeper_right.png diff --git a/mods/head/textures/head_creeper_top.png b/mods/mcl_heads/textures/head_creeper_top.png similarity index 100% rename from mods/head/textures/head_creeper_top.png rename to mods/mcl_heads/textures/head_creeper_top.png diff --git a/mods/head/textures/head_skeleton_back.png b/mods/mcl_heads/textures/head_skeleton_back.png similarity index 100% rename from mods/head/textures/head_skeleton_back.png rename to mods/mcl_heads/textures/head_skeleton_back.png diff --git a/mods/head/textures/head_skeleton_face.png b/mods/mcl_heads/textures/head_skeleton_face.png similarity index 100% rename from mods/head/textures/head_skeleton_face.png rename to mods/mcl_heads/textures/head_skeleton_face.png diff --git a/mods/head/textures/head_skeleton_left.png b/mods/mcl_heads/textures/head_skeleton_left.png similarity index 100% rename from mods/head/textures/head_skeleton_left.png rename to mods/mcl_heads/textures/head_skeleton_left.png diff --git a/mods/head/textures/head_skeleton_right.png b/mods/mcl_heads/textures/head_skeleton_right.png similarity index 100% rename from mods/head/textures/head_skeleton_right.png rename to mods/mcl_heads/textures/head_skeleton_right.png diff --git a/mods/head/textures/head_skeleton_top.png b/mods/mcl_heads/textures/head_skeleton_top.png similarity index 100% rename from mods/head/textures/head_skeleton_top.png rename to mods/mcl_heads/textures/head_skeleton_top.png diff --git a/mods/head/textures/head_steve_back.png b/mods/mcl_heads/textures/head_steve_back.png similarity index 100% rename from mods/head/textures/head_steve_back.png rename to mods/mcl_heads/textures/head_steve_back.png diff --git a/mods/head/textures/head_steve_face.png b/mods/mcl_heads/textures/head_steve_face.png similarity index 100% rename from mods/head/textures/head_steve_face.png rename to mods/mcl_heads/textures/head_steve_face.png diff --git a/mods/head/textures/head_steve_left.png b/mods/mcl_heads/textures/head_steve_left.png similarity index 100% rename from mods/head/textures/head_steve_left.png rename to mods/mcl_heads/textures/head_steve_left.png diff --git a/mods/head/textures/head_steve_right.png b/mods/mcl_heads/textures/head_steve_right.png similarity index 100% rename from mods/head/textures/head_steve_right.png rename to mods/mcl_heads/textures/head_steve_right.png diff --git a/mods/head/textures/head_steve_top.png b/mods/mcl_heads/textures/head_steve_top.png similarity index 100% rename from mods/head/textures/head_steve_top.png rename to mods/mcl_heads/textures/head_steve_top.png diff --git a/mods/head/textures/head_wither_skeleton_back.png b/mods/mcl_heads/textures/head_wither_skeleton_back.png similarity index 100% rename from mods/head/textures/head_wither_skeleton_back.png rename to mods/mcl_heads/textures/head_wither_skeleton_back.png diff --git a/mods/head/textures/head_wither_skeleton_face.png b/mods/mcl_heads/textures/head_wither_skeleton_face.png similarity index 100% rename from mods/head/textures/head_wither_skeleton_face.png rename to mods/mcl_heads/textures/head_wither_skeleton_face.png diff --git a/mods/head/textures/head_wither_skeleton_left.png b/mods/mcl_heads/textures/head_wither_skeleton_left.png similarity index 100% rename from mods/head/textures/head_wither_skeleton_left.png rename to mods/mcl_heads/textures/head_wither_skeleton_left.png diff --git a/mods/head/textures/head_wither_skeleton_right.png b/mods/mcl_heads/textures/head_wither_skeleton_right.png similarity index 100% rename from mods/head/textures/head_wither_skeleton_right.png rename to mods/mcl_heads/textures/head_wither_skeleton_right.png diff --git a/mods/head/textures/head_wither_skeleton_top.png b/mods/mcl_heads/textures/head_wither_skeleton_top.png similarity index 100% rename from mods/head/textures/head_wither_skeleton_top.png rename to mods/mcl_heads/textures/head_wither_skeleton_top.png diff --git a/mods/head/textures/head_zombie_back.png b/mods/mcl_heads/textures/head_zombie_back.png similarity index 100% rename from mods/head/textures/head_zombie_back.png rename to mods/mcl_heads/textures/head_zombie_back.png diff --git a/mods/head/textures/head_zombie_face.png b/mods/mcl_heads/textures/head_zombie_face.png similarity index 100% rename from mods/head/textures/head_zombie_face.png rename to mods/mcl_heads/textures/head_zombie_face.png diff --git a/mods/head/textures/head_zombie_left.png b/mods/mcl_heads/textures/head_zombie_left.png similarity index 100% rename from mods/head/textures/head_zombie_left.png rename to mods/mcl_heads/textures/head_zombie_left.png diff --git a/mods/head/textures/head_zombie_right.png b/mods/mcl_heads/textures/head_zombie_right.png similarity index 100% rename from mods/head/textures/head_zombie_right.png rename to mods/mcl_heads/textures/head_zombie_right.png diff --git a/mods/head/textures/head_zombie_top.png b/mods/mcl_heads/textures/head_zombie_top.png similarity index 100% rename from mods/head/textures/head_zombie_top.png rename to mods/mcl_heads/textures/head_zombie_top.png diff --git a/mods/mobs_mc/skeleton.lua b/mods/mobs_mc/skeleton.lua index 869d59cfb..4563dbc89 100644 --- a/mods/mobs_mc/skeleton.lua +++ b/mods/mobs_mc/skeleton.lua @@ -101,7 +101,7 @@ mobs:register_mob("mobs_mc:skeleton2", { chance = 1, min = 0, max = 2,}, - {name = "heads:wither_skeleton", + {name = "mcl_heads:wither_skeleton", chance = 40, min = 1, max = 1,},