From f9a2dacdd4f53e1aac76124b1a5fc9680bd0bf8d Mon Sep 17 00:00:00 2001 From: AFCMS Date: Tue, 3 May 2022 23:25:56 +0200 Subject: [PATCH] Fix texture and sound names in `mcl_amethyst` --- mods/ITEMS/mcl_amethyst/init.lua | 29 ++++++++---------- ....ogg => mcl_amethyst_amethyst_break.1.ogg} | Bin ....ogg => mcl_amethyst_amethyst_break.2.ogg} | Bin ....ogg => mcl_amethyst_amethyst_break.3.ogg} | Bin ...1.ogg => mcl_amethyst_amethyst_walk.1.ogg} | Bin ...2.ogg => mcl_amethyst_amethyst_walk.2.ogg} | Bin ...3.ogg => mcl_amethyst_amethyst_walk.3.ogg} | Bin ...4.ogg => mcl_amethyst_amethyst_walk.4.ogg} | Bin ...ck.png => mcl_amethyst_amethyst_block.png} | Bin ...ng => mcl_amethyst_amethyst_bud_large.png} | Bin ...g => mcl_amethyst_amethyst_bud_medium.png} | Bin ...ng => mcl_amethyst_amethyst_bud_small.png} | Bin ....png => mcl_amethyst_amethyst_cluster.png} | Bin ...> mcl_amethyst_amethyst_cluster_block.png} | Bin ...rd.png => mcl_amethyst_amethyst_shard.png} | Bin ....png => mcl_amethyst_budding_amethyst.png} | Bin ...ite.png => mcl_amethyst_calcite_block.png} | Bin ...lass.png => mcl_amethyst_tinted_glass.png} | Bin 18 files changed, 13 insertions(+), 16 deletions(-) rename mods/ITEMS/mcl_amethyst/sounds/{amethyst_break.1.ogg => mcl_amethyst_amethyst_break.1.ogg} (100%) rename mods/ITEMS/mcl_amethyst/sounds/{amethyst_break.2.ogg => mcl_amethyst_amethyst_break.2.ogg} (100%) rename mods/ITEMS/mcl_amethyst/sounds/{amethyst_break.3.ogg => mcl_amethyst_amethyst_break.3.ogg} (100%) rename mods/ITEMS/mcl_amethyst/sounds/{amethyst_walk.1.ogg => mcl_amethyst_amethyst_walk.1.ogg} (100%) rename mods/ITEMS/mcl_amethyst/sounds/{amethyst_walk.2.ogg => mcl_amethyst_amethyst_walk.2.ogg} (100%) rename mods/ITEMS/mcl_amethyst/sounds/{amethyst_walk.3.ogg => mcl_amethyst_amethyst_walk.3.ogg} (100%) rename mods/ITEMS/mcl_amethyst/sounds/{amethyst_walk.4.ogg => mcl_amethyst_amethyst_walk.4.ogg} (100%) rename mods/ITEMS/mcl_amethyst/textures/{amethyst_block.png => mcl_amethyst_amethyst_block.png} (100%) rename mods/ITEMS/mcl_amethyst/textures/{large_amethyst_bud.png => mcl_amethyst_amethyst_bud_large.png} (100%) rename mods/ITEMS/mcl_amethyst/textures/{medium_amethyst_bud.png => mcl_amethyst_amethyst_bud_medium.png} (100%) rename mods/ITEMS/mcl_amethyst/textures/{small_amethyst_bud.png => mcl_amethyst_amethyst_bud_small.png} (100%) rename mods/ITEMS/mcl_amethyst/textures/{amethyst_cluster.png => mcl_amethyst_amethyst_cluster.png} (100%) rename mods/ITEMS/mcl_amethyst/textures/{amethyst_cluster_block.png => mcl_amethyst_amethyst_cluster_block.png} (100%) rename mods/ITEMS/mcl_amethyst/textures/{amethyst_shard.png => mcl_amethyst_amethyst_shard.png} (100%) rename mods/ITEMS/mcl_amethyst/textures/{budding_amethyst.png => mcl_amethyst_budding_amethyst.png} (100%) rename mods/ITEMS/mcl_amethyst/textures/{calcite.png => mcl_amethyst_calcite_block.png} (100%) rename mods/ITEMS/mcl_amethyst/textures/{tinted_glass.png => mcl_amethyst_tinted_glass.png} (100%) diff --git a/mods/ITEMS/mcl_amethyst/init.lua b/mods/ITEMS/mcl_amethyst/init.lua index d5afc7b64..0ee78de41 100644 --- a/mods/ITEMS/mcl_amethyst/init.lua +++ b/mods/ITEMS/mcl_amethyst/init.lua @@ -1,15 +1,15 @@ local S = minetest.get_translator(minetest.get_current_modname()) local sounds = mcl_sounds.node_sound_glass_defaults({ - footstep = {name = "amethyst_walk", gain = 0.4}, - dug = {name = "amethyst_break", gain = 0.44}, + footstep = {name = "mcl_amethyst_amethyst_walk", gain = 0.4}, + dug = {name = "mcl_amethyst_amethyst_break", gain = 0.44}, }) -- Amethyst block minetest.register_node("mcl_amethyst:amethyst_block",{ description = S("Block of Amethyst"), _doc_items_longdesc = S("The Block of Amethyst is a decoration block crafted from amethyst shards."), - tiles = {"amethyst_block.png"}, + tiles = {"mcl_amethyst_amethyst_block.png"}, groups = {pickaxey = 1, building_block = 1}, sounds = sounds, is_ground_content = true, @@ -20,7 +20,7 @@ minetest.register_node("mcl_amethyst:amethyst_block",{ minetest.register_node("mcl_amethyst:budding_amethyst_block",{ description = S("Budding Amethyst"), _doc_items_longdesc = S("The Budding Amethyst can grow amethyst"), - tiles = {"budding_amethyst.png"}, + tiles = {"mcl_amethyst_budding_amethyst.png"}, drop = "", groups = { pickaxey = 1, @@ -39,7 +39,7 @@ mcl_wip.register_wip_item("mcl_amethyst:budding_amethyst_block") minetest.register_craftitem("mcl_amethyst:amethyst_shard",{ description = S("Amethyst Shard"), _doc_items_longdesc = S("An amethyst shard is a crystalline mineral."), - inventory_image = "amethyst_shard.png", + inventory_image = "mcl_amethyst_amethyst_shard.png", groups = {craftitem = 1}, }) @@ -47,11 +47,8 @@ minetest.register_craftitem("mcl_amethyst:amethyst_shard",{ minetest.register_node("mcl_amethyst:calcite",{ description = S("Calcite"), _doc_items_longdesc = S("Calcite can be found as part of amethyst geodes."), - tiles = {"calcite.png"}, - groups = { - pickaxey = 1, - building_block = 1, - }, + tiles = {"mcl_amethyst_calcite_block.png"}, + groups = {pickaxey = 1, building_block = 1}, sounds = mcl_sounds.node_sound_stone_defaults(), is_ground_content = true, _mcl_hardness = 0.75, @@ -62,7 +59,7 @@ minetest.register_node("mcl_amethyst:calcite",{ minetest.register_node("mcl_amethyst:tinted_glass",{ description = S("Tinted Glass"), _doc_items_longdesc = S("Tinted Glass is a type of glass which blocks lights while it is visually transparent."), - tiles = {"tinted_glass.png"}, + tiles = {"mcl_amethyst_tinted_glass.png"}, _mcl_hardness = 0.3, _mcl_blast_resistance = 0.3, drawtype = "glasslike", @@ -104,8 +101,8 @@ local bud_def = { for _, def in pairs(bud_def) do local size = def.size local name = "mcl_amethyst:" .. size .. "_amethyst_bud" - local tile = size .. "_amethyst_bud.png" - local inventory_image = size .. "_amethyst_bud.png" + local tile = "mcl_amethyst_amethyst_bud_" .. size .. ".png" + local inventory_image = "mcl_amethyst_amethyst_bud_" .. size .. ".png" minetest.register_node(name, { description = def.description, _doc_items_longdesc = def.longdesc, @@ -141,7 +138,7 @@ for _, def in pairs(bud_def) do end minetest.register_node("mcl_amethyst:amethyst_cluster",{ - description = "Amethyst Cluster", + description = S("Amethyst Cluster"), _doc_items_longdesc = S("Amethyst Cluster is the final growth of amethyst bud."), drop = { max_items = 1, @@ -155,8 +152,8 @@ minetest.register_node("mcl_amethyst:amethyst_cluster",{ }, } }, - tiles = {"amethyst_cluster.png",}, - inventory_image = "amethyst_cluster.png", + tiles = {"mcl_amethyst_amethyst_cluster.png",}, + inventory_image = "mcl_amethyst_amethyst_cluster.png", paramtype2 = "wallmounted", drawtype = "plantlike", paramtype1 = "light", diff --git a/mods/ITEMS/mcl_amethyst/sounds/amethyst_break.1.ogg b/mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_break.1.ogg similarity index 100% rename from mods/ITEMS/mcl_amethyst/sounds/amethyst_break.1.ogg rename to mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_break.1.ogg diff --git a/mods/ITEMS/mcl_amethyst/sounds/amethyst_break.2.ogg b/mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_break.2.ogg similarity index 100% rename from mods/ITEMS/mcl_amethyst/sounds/amethyst_break.2.ogg rename to mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_break.2.ogg diff --git a/mods/ITEMS/mcl_amethyst/sounds/amethyst_break.3.ogg b/mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_break.3.ogg similarity index 100% rename from mods/ITEMS/mcl_amethyst/sounds/amethyst_break.3.ogg rename to mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_break.3.ogg diff --git a/mods/ITEMS/mcl_amethyst/sounds/amethyst_walk.1.ogg b/mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_walk.1.ogg similarity index 100% rename from mods/ITEMS/mcl_amethyst/sounds/amethyst_walk.1.ogg rename to mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_walk.1.ogg diff --git a/mods/ITEMS/mcl_amethyst/sounds/amethyst_walk.2.ogg b/mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_walk.2.ogg similarity index 100% rename from mods/ITEMS/mcl_amethyst/sounds/amethyst_walk.2.ogg rename to mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_walk.2.ogg diff --git a/mods/ITEMS/mcl_amethyst/sounds/amethyst_walk.3.ogg b/mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_walk.3.ogg similarity index 100% rename from mods/ITEMS/mcl_amethyst/sounds/amethyst_walk.3.ogg rename to mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_walk.3.ogg diff --git a/mods/ITEMS/mcl_amethyst/sounds/amethyst_walk.4.ogg b/mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_walk.4.ogg similarity index 100% rename from mods/ITEMS/mcl_amethyst/sounds/amethyst_walk.4.ogg rename to mods/ITEMS/mcl_amethyst/sounds/mcl_amethyst_amethyst_walk.4.ogg diff --git a/mods/ITEMS/mcl_amethyst/textures/amethyst_block.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_block.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/amethyst_block.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_block.png diff --git a/mods/ITEMS/mcl_amethyst/textures/large_amethyst_bud.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_bud_large.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/large_amethyst_bud.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_bud_large.png diff --git a/mods/ITEMS/mcl_amethyst/textures/medium_amethyst_bud.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_bud_medium.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/medium_amethyst_bud.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_bud_medium.png diff --git a/mods/ITEMS/mcl_amethyst/textures/small_amethyst_bud.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_bud_small.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/small_amethyst_bud.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_bud_small.png diff --git a/mods/ITEMS/mcl_amethyst/textures/amethyst_cluster.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_cluster.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/amethyst_cluster.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_cluster.png diff --git a/mods/ITEMS/mcl_amethyst/textures/amethyst_cluster_block.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_cluster_block.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/amethyst_cluster_block.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_cluster_block.png diff --git a/mods/ITEMS/mcl_amethyst/textures/amethyst_shard.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_shard.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/amethyst_shard.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_amethyst_shard.png diff --git a/mods/ITEMS/mcl_amethyst/textures/budding_amethyst.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_budding_amethyst.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/budding_amethyst.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_budding_amethyst.png diff --git a/mods/ITEMS/mcl_amethyst/textures/calcite.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_calcite_block.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/calcite.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_calcite_block.png diff --git a/mods/ITEMS/mcl_amethyst/textures/tinted_glass.png b/mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_tinted_glass.png similarity index 100% rename from mods/ITEMS/mcl_amethyst/textures/tinted_glass.png rename to mods/ITEMS/mcl_amethyst/textures/mcl_amethyst_tinted_glass.png