From 685922c4a9c533718063a880a13e855c44d70395 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 17 Jul 2017 13:22:46 +0200 Subject: [PATCH] Make door textures obey naming conventions --- mods/ITEMS/mcl_doors/register.lua | 50 +++++++++--------- .../{door_steel.png => doors_item_steel.png} | Bin .../{door_wood.png => doors_item_wood.png} | Bin .../{door_trapdoor.png => doors_trapdoor.png} | Bin ..._trapdoor.png => doors_trapdoor_steel.png} | Bin ...r_acacia.png => mcl_doors_door_acacia.png} | Bin ..._b.png => mcl_doors_door_acacia_lower.png} | Bin ..._a.png => mcl_doors_door_acacia_upper.png} | Bin ...oor_birch.png => mcl_doors_door_birch.png} | Bin ...h_b.png => mcl_doors_door_birch_lower.png} | Bin ...h_a.png => mcl_doors_door_birch_upper.png} | Bin ...rk_oak.png => mcl_doors_door_dark_oak.png} | Bin ....png => mcl_doors_door_dark_oak_lower.png} | Bin ....png => mcl_doors_door_dark_oak_upper.png} | Bin ...el_b.png => mcl_doors_door_iron_lower.png} | Bin ...el_a.png => mcl_doors_door_iron_upper.png} | Bin ...r_jungle.png => mcl_doors_door_jungle.png} | Bin ..._b.png => mcl_doors_door_jungle_lower.png} | Bin ..._a.png => mcl_doors_door_jungle_upper.png} | Bin ...r_spruce.png => mcl_doors_door_spruce.png} | Bin ..._b.png => mcl_doors_door_spruce_lower.png} | Bin ..._a.png => mcl_doors_door_spruce_upper.png} | Bin ...od_b.png => mcl_doors_door_wood_lower.png} | Bin ...od_a.png => mcl_doors_door_wood_upper.png} | Bin 24 files changed, 25 insertions(+), 25 deletions(-) rename mods/ITEMS/mcl_doors/textures/{door_steel.png => doors_item_steel.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_wood.png => doors_item_wood.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_trapdoor.png => doors_trapdoor.png} (100%) rename mods/ITEMS/mcl_doors/textures/{iron_trapdoor.png => doors_trapdoor_steel.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_acacia.png => mcl_doors_door_acacia.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_acacia_b.png => mcl_doors_door_acacia_lower.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_acacia_a.png => mcl_doors_door_acacia_upper.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_birch.png => mcl_doors_door_birch.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_birch_b.png => mcl_doors_door_birch_lower.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_birch_a.png => mcl_doors_door_birch_upper.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_dark_oak.png => mcl_doors_door_dark_oak.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_dark_oak_b.png => mcl_doors_door_dark_oak_lower.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_dark_oak_a.png => mcl_doors_door_dark_oak_upper.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_steel_b.png => mcl_doors_door_iron_lower.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_steel_a.png => mcl_doors_door_iron_upper.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_jungle.png => mcl_doors_door_jungle.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_jungle_b.png => mcl_doors_door_jungle_lower.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_jungle_a.png => mcl_doors_door_jungle_upper.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_spruce.png => mcl_doors_door_spruce.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_spruce_b.png => mcl_doors_door_spruce_lower.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_spruce_a.png => mcl_doors_door_spruce_upper.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_wood_b.png => mcl_doors_door_wood_lower.png} (100%) rename mods/ITEMS/mcl_doors/textures/{door_wood_a.png => mcl_doors_door_wood_upper.png} (100%) diff --git a/mods/ITEMS/mcl_doors/register.lua b/mods/ITEMS/mcl_doors/register.lua index 2db95ba864..f6cc6a1b92 100644 --- a/mods/ITEMS/mcl_doors/register.lua +++ b/mods/ITEMS/mcl_doors/register.lua @@ -8,12 +8,12 @@ mcl_doors:register_door("mcl_doors:wooden_door", { description = "Oak Door", _doc_items_longdesc = wood_longdesc, _doc_items_usagehelp = wood_usagehelp, - inventory_image = "door_wood.png", + inventory_image = "doors_item_wood.png", groups = {handy=1,axey=1, material_wood=1}, _mcl_hardness = 3, _mcl_blast_resistance = 15, - tiles_bottom = {"door_wood_b.png", "door_wood_b.png"}, - tiles_top = {"door_wood_a.png", "door_wood_a.png"}, + tiles_bottom = {"mcl_doors_door_wood_lower.png", "mcl_doors_door_wood_lower.png"}, + tiles_top = {"mcl_doors_door_wood_upper.png", "mcl_doors_door_wood_upper.png"}, sounds = mcl_sounds.node_sound_wood_defaults(), }) @@ -31,12 +31,12 @@ mcl_doors:register_door("mcl_doors:acacia_door", { description = "Acacia Door", _doc_items_longdesc = wood_longdesc, _doc_items_usagehelp = wood_usagehelp, - inventory_image = "door_acacia.png", + inventory_image = "mcl_doors_door_acacia.png", groups = {handy=1,axey=1, material_wood=1}, _mcl_hardness = 3, _mcl_blast_resistance = 15, - tiles_bottom = {"door_acacia_b.png", "door_acacia_b.png"}, - tiles_top = {"door_acacia_a.png", "door_acacia_a.png"}, + tiles_bottom = {"mcl_doors_door_acacia_lower.png", "mcl_doors_door_acacia_lower.png"}, + tiles_top = {"mcl_doors_door_acacia_upper.png", "mcl_doors_door_acacia_upper.png"}, sounds = mcl_sounds.node_sound_wood_defaults(), }) @@ -54,12 +54,12 @@ mcl_doors:register_door("mcl_doors:birch_door", { description = "Birch Door", _doc_items_longdesc = wood_longdesc, _doc_items_usagehelp = wood_usagehelp, - inventory_image = "door_birch.png", + inventory_image = "mcl_doors_door_birch.png", groups = {handy=1,axey=1, material_wood=1}, _mcl_hardness = 3, _mcl_blast_resistance = 15, - tiles_bottom = {"door_birch_b.png", "door_birch_b.png"}, - tiles_top = {"door_birch_a.png", "door_birch_a.png"}, + tiles_bottom = {"mcl_doors_door_birch_lower.png", "mcl_doors_door_birch_lower.png"}, + tiles_top = {"mcl_doors_door_birch_upper.png", "mcl_doors_door_birch_upper.png"}, sounds = mcl_sounds.node_sound_wood_defaults(), }) @@ -77,12 +77,12 @@ mcl_doors:register_door("mcl_doors:dark_oak_door", { description = "Dark Oak Door", _doc_items_longdesc = wood_longdesc, _doc_items_usagehelp = wood_usagehelp, - inventory_image = "door_dark_oak.png", + inventory_image = "mcl_doors_door_dark_oak.png", groups = {handy=1,axey=1, material_wood=1}, _mcl_hardness = 3, _mcl_blast_resistance = 15, - tiles_bottom = {"door_dark_oak_b.png", "door_dark_oak_b.png"}, - tiles_top = {"door_dark_oak_a.png", "door_dark_oak_a.png"}, + tiles_bottom = {"mcl_doors_door_dark_oak_lower.png", "mcl_doors_door_dark_oak_lower.png"}, + tiles_top = {"mcl_doors_door_dark_oak_upper.png", "mcl_doors_door_dark_oak_upper.png"}, sounds = mcl_sounds.node_sound_wood_defaults(), }) @@ -100,12 +100,12 @@ mcl_doors:register_door("mcl_doors:jungle_door", { description = "Jungle Door", _doc_items_longdesc = wood_longdesc, _doc_items_usagehelp = wood_usagehelp, - inventory_image = "door_jungle.png", + inventory_image = "mcl_doors_door_jungle.png", groups = {handy=1,axey=1, material_wood=1}, _mcl_hardness = 3, _mcl_blast_resistance = 15, - tiles_bottom = {"door_jungle_b.png", "door_jungle_b.png"}, - tiles_top = {"door_jungle_a.png", "door_jungle_a.png"}, + tiles_bottom = {"mcl_doors_door_jungle_lower.png", "mcl_doors_door_jungle_lower.png"}, + tiles_top = {"mcl_doors_door_jungle_upper.png", "mcl_doors_door_jungle_upper.png"}, sounds = mcl_sounds.node_sound_wood_defaults(), }) @@ -123,12 +123,12 @@ mcl_doors:register_door("mcl_doors:spruce_door", { description = "Spruce Door", _doc_items_longdesc = wood_longdesc, _doc_items_usagehelp = wood_usagehelp, - inventory_image = "door_spruce.png", + inventory_image = "mcl_doors_door_spruce.png", groups = {handy=1,axey=1, material_wood=1}, _mcl_hardness = 3, _mcl_blast_resistance = 15, - tiles_bottom = {"door_spruce_b.png", "door_spruce_b.png"}, - tiles_top = {"door_spruce_a.png", "door_spruce_a.png"}, + tiles_bottom = {"mcl_doors_door_spruce_lower.png", "mcl_doors_door_spruce_lower.png"}, + tiles_top = {"mcl_doors_door_spruce_upper.png", "mcl_doors_door_spruce_upper.png"}, sounds = mcl_sounds.node_sound_wood_defaults(), }) @@ -177,12 +177,12 @@ mcl_doors:register_door("mcl_doors:iron_door", { description = "Iron Door", _doc_items_longdesc = "Iron doors are 2-block high barriers which can only be opened or closed by a redstone signal, but not by hand.", _doc_items_usagehelp = "To open or close an iron door, supply its lower half with a redstone signal.", - inventory_image = "door_steel.png", + inventory_image = "doors_item_steel.png", groups = {pickaxey=1, mesecon_effector_on=1}, _mcl_hardness = 5, _mcl_blast_resistance = 25, - tiles_bottom = {"door_steel_b.png^[transformFX", "door_steel_b.png^[transformFX"}, - tiles_top = {"door_steel_a.png^[transformFX", "door_steel_a.png^[transformFX"}, + tiles_bottom = {"mcl_doors_door_iron_lower.png^[transformFX", "mcl_doors_door_iron_lower.png^[transformFX"}, + tiles_top = {"mcl_doors_door_iron_upper.png^[transformFX", "mcl_doors_door_iron_upper.png^[transformFX"}, sounds = mcl_sounds.node_sound_metal_defaults(), sound_open = "doors_steel_door_open", sound_close = "doors_steel_door_close", @@ -207,8 +207,8 @@ mcl_doors:register_trapdoor("mcl_doors:trapdoor", { description = "Wooden Trapdoor", _doc_items_longdesc = "Wooden trapdoors are horizontal barriers which can be opened and closed by hand or a redstone signal. They occupy the upper or lower part of a block, depending on how they have been placed. When open, they can be climbed like a ladder.", _doc_items_usagehelp = "To open or close the trapdoor, rightclick it or send a redstone signal to it.", - tiles = {"door_trapdoor.png"}, - wield_image = "door_trapdoor.png", + tiles = {"doors_trapdoor.png"}, + wield_image = "doors_trapdoor.png", groups = {handy=1,axey=1, mesecon_effector_on=1, material_wood=1}, _mcl_hardness = 3, _mcl_blast_resistance = 15, @@ -232,8 +232,8 @@ minetest.register_craft({ mcl_doors:register_trapdoor("mcl_doors:iron_trapdoor", { description = "Iron Trapdoor", _doc_items_longdesc = "Iron trapdoors are horizontal barriers which can only be opened and closed by redstone signals, but not by hand. They occupy the upper or lower part of a block, depending on how they have been placed. When open, they can be climbed like a ladder.", - tiles = {"iron_trapdoor.png"}, - wield_image = "iron_trapdoor.png", + tiles = {"doors_trapdoor_steel.png"}, + wield_image = "doors_trapdoor_steel.png", groups = {pickaxey=1, mesecon_effector_on=1}, _mcl_hardness = 5, _mcl_blast_resistance = 25, diff --git a/mods/ITEMS/mcl_doors/textures/door_steel.png b/mods/ITEMS/mcl_doors/textures/doors_item_steel.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_steel.png rename to mods/ITEMS/mcl_doors/textures/doors_item_steel.png diff --git a/mods/ITEMS/mcl_doors/textures/door_wood.png b/mods/ITEMS/mcl_doors/textures/doors_item_wood.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_wood.png rename to mods/ITEMS/mcl_doors/textures/doors_item_wood.png diff --git a/mods/ITEMS/mcl_doors/textures/door_trapdoor.png b/mods/ITEMS/mcl_doors/textures/doors_trapdoor.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_trapdoor.png rename to mods/ITEMS/mcl_doors/textures/doors_trapdoor.png diff --git a/mods/ITEMS/mcl_doors/textures/iron_trapdoor.png b/mods/ITEMS/mcl_doors/textures/doors_trapdoor_steel.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/iron_trapdoor.png rename to mods/ITEMS/mcl_doors/textures/doors_trapdoor_steel.png diff --git a/mods/ITEMS/mcl_doors/textures/door_acacia.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_acacia.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_acacia.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_acacia.png diff --git a/mods/ITEMS/mcl_doors/textures/door_acacia_b.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_acacia_lower.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_acacia_b.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_acacia_lower.png diff --git a/mods/ITEMS/mcl_doors/textures/door_acacia_a.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_acacia_upper.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_acacia_a.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_acacia_upper.png diff --git a/mods/ITEMS/mcl_doors/textures/door_birch.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_birch.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_birch.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_birch.png diff --git a/mods/ITEMS/mcl_doors/textures/door_birch_b.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_birch_lower.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_birch_b.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_birch_lower.png diff --git a/mods/ITEMS/mcl_doors/textures/door_birch_a.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_birch_upper.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_birch_a.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_birch_upper.png diff --git a/mods/ITEMS/mcl_doors/textures/door_dark_oak.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_dark_oak.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_dark_oak.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_dark_oak.png diff --git a/mods/ITEMS/mcl_doors/textures/door_dark_oak_b.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_dark_oak_lower.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_dark_oak_b.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_dark_oak_lower.png diff --git a/mods/ITEMS/mcl_doors/textures/door_dark_oak_a.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_dark_oak_upper.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_dark_oak_a.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_dark_oak_upper.png diff --git a/mods/ITEMS/mcl_doors/textures/door_steel_b.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_iron_lower.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_steel_b.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_iron_lower.png diff --git a/mods/ITEMS/mcl_doors/textures/door_steel_a.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_iron_upper.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_steel_a.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_iron_upper.png diff --git a/mods/ITEMS/mcl_doors/textures/door_jungle.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_jungle.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_jungle.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_jungle.png diff --git a/mods/ITEMS/mcl_doors/textures/door_jungle_b.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_jungle_lower.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_jungle_b.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_jungle_lower.png diff --git a/mods/ITEMS/mcl_doors/textures/door_jungle_a.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_jungle_upper.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_jungle_a.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_jungle_upper.png diff --git a/mods/ITEMS/mcl_doors/textures/door_spruce.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_spruce.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_spruce.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_spruce.png diff --git a/mods/ITEMS/mcl_doors/textures/door_spruce_b.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_spruce_lower.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_spruce_b.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_spruce_lower.png diff --git a/mods/ITEMS/mcl_doors/textures/door_spruce_a.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_spruce_upper.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_spruce_a.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_spruce_upper.png diff --git a/mods/ITEMS/mcl_doors/textures/door_wood_b.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_wood_lower.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_wood_b.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_wood_lower.png diff --git a/mods/ITEMS/mcl_doors/textures/door_wood_a.png b/mods/ITEMS/mcl_doors/textures/mcl_doors_door_wood_upper.png similarity index 100% rename from mods/ITEMS/mcl_doors/textures/door_wood_a.png rename to mods/ITEMS/mcl_doors/textures/mcl_doors_door_wood_upper.png