From 12ec710b0478d6126478fb746388885acfb046f5 Mon Sep 17 00:00:00 2001 From: LNJ Date: Sun, 4 Jun 2017 21:52:44 +0200 Subject: [PATCH] Rename texture names This will make texture packs already supporting this mod, incompatible, but the names were just soo bad, that I had to change them. (This is was my first mod and it's probably my worst) --- init.lua | 8 ++++---- textures/{lapislazuli.png => lapis_lapislazuli.png} | Bin ...slazuli_block.png => lapis_lapislazuliblock.png} | Bin ...apislazuli.png => lapis_mineral_lapislazuli.png} | Bin 4 files changed, 4 insertions(+), 4 deletions(-) rename textures/{lapislazuli.png => lapis_lapislazuli.png} (100%) rename textures/{lapislazuli_block.png => lapis_lapislazuliblock.png} (100%) rename textures/{mineral_lapislazuli.png => lapis_mineral_lapislazuli.png} (100%) diff --git a/init.lua b/init.lua index 09b70fb..3e03bf0 100644 --- a/init.lua +++ b/init.lua @@ -9,7 +9,7 @@ local S, NS = dofile(modpath .. "/intllib.lua") -- Lapis Lazuli Ore minetest.register_node("lapis:stone_with_lapis", { description = S("Lapis Lazuli Ore"), - tiles = {"default_stone.png^mineral_lapislazuli.png"}, + tiles = {"default_stone.png^lapis_mineral_lapislazuli.png"}, is_ground_content = true, groups = {cracky=2}, drop = { @@ -38,15 +38,15 @@ minetest.register_node("lapis:stone_with_lapis", { -- Lapis Item minetest.register_craftitem("lapis:lapis", { description = S("Lapis Lazuli"), - inventory_image = "lapislazuli.png", + inventory_image = "lapis_lapislazuli.png", }) -- Lapis Block minetest.register_node("lapis:lapisblock", { description = S("Lapis Lazuli Block"), - tiles = {"lapislazuli_block.png"}, + tiles = {"lapis_lapislazuliblock.png"}, is_ground_content = true, - groups = {cracky=1,level=2}, + groups = {cracky = 1, level = 2}, sounds = default.node_sound_stone_defaults(), }) diff --git a/textures/lapislazuli.png b/textures/lapis_lapislazuli.png similarity index 100% rename from textures/lapislazuli.png rename to textures/lapis_lapislazuli.png diff --git a/textures/lapislazuli_block.png b/textures/lapis_lapislazuliblock.png similarity index 100% rename from textures/lapislazuli_block.png rename to textures/lapis_lapislazuliblock.png diff --git a/textures/mineral_lapislazuli.png b/textures/lapis_mineral_lapislazuli.png similarity index 100% rename from textures/mineral_lapislazuli.png rename to textures/lapis_mineral_lapislazuli.png