From c78306ac9f56d425159d14af3af01730e65a53c4 Mon Sep 17 00:00:00 2001 From: Michieal Date: Sat, 21 Jan 2023 00:27:24 -0500 Subject: [PATCH] Set up Warped textures to be swapped out using setting. --- mcl_crimson_extras/init.lua | 6 ++++++ ...ped_door.png => mcl_crimson_warped_door_alt.png} | Bin ..._top.png => mcl_crimson_warped_door_top_alt.png} | Bin ...door.png => mcl_crimson_warped_trapdoor_alt.png} | Bin ...png => mcl_doors_door_warped_side_lower_alt.png} | Bin ...png => mcl_doors_door_warped_side_upper_alt.png} | Bin ...warped_stem.png => stripped_warped_stem_alt.png} | Bin ...m_side.png => stripped_warped_stem_side_alt.png} | Bin ...tem_top.png => stripped_warped_stem_top_alt.png} | Bin .../{warped_hyphae.png => warped_hyphae_alt.png} | Bin ..._wood_2nd.png => warped_hyphae_wood_2nd_alt.png} | Bin ...d_hyphae_wood.png => warped_hyphae_wood_alt.png} | Bin ...d_side.png => warped_stem_stripped_side_alt.png} | Bin ...ped_top.png => warped_stem_stripped_top_alt.png} | Bin settingtypes.txt | 6 ++++++ 15 files changed, 12 insertions(+) rename mcl_crimson_extras/textures/{mcl_crimson_warped_door.png => mcl_crimson_warped_door_alt.png} (100%) rename mcl_crimson_extras/textures/{mcl_crimson_warped_door_top.png => mcl_crimson_warped_door_top_alt.png} (100%) rename mcl_crimson_extras/textures/{mcl_crimson_warped_trapdoor.png => mcl_crimson_warped_trapdoor_alt.png} (100%) rename mcl_crimson_extras/textures/{mcl_doors_door_warped_side_lower.png => mcl_doors_door_warped_side_lower_alt.png} (100%) rename mcl_crimson_extras/textures/{mcl_doors_door_warped_side_upper.png => mcl_doors_door_warped_side_upper_alt.png} (100%) rename mcl_crimson_extras/textures/{stripped_warped_stem.png => stripped_warped_stem_alt.png} (100%) rename mcl_crimson_extras/textures/{stripped_warped_stem_side.png => stripped_warped_stem_side_alt.png} (100%) rename mcl_crimson_extras/textures/{stripped_warped_stem_top.png => stripped_warped_stem_top_alt.png} (100%) rename mcl_crimson_extras/textures/{warped_hyphae.png => warped_hyphae_alt.png} (100%) rename mcl_crimson_extras/textures/{warped_hyphae_wood_2nd.png => warped_hyphae_wood_2nd_alt.png} (100%) rename mcl_crimson_extras/textures/{warped_hyphae_wood.png => warped_hyphae_wood_alt.png} (100%) rename mcl_crimson_extras/textures/{warped_stem_stripped_side.png => warped_stem_stripped_side_alt.png} (100%) rename mcl_crimson_extras/textures/{warped_stem_stripped_top.png => warped_stem_stripped_top_alt.png} (100%) create mode 100644 settingtypes.txt diff --git a/mcl_crimson_extras/init.lua b/mcl_crimson_extras/init.lua index 63e3ad8..48f3070 100644 --- a/mcl_crimson_extras/init.lua +++ b/mcl_crimson_extras/init.lua @@ -5,6 +5,12 @@ --- Copyright (C) 2023, Michieal. See License.txt --- Last Update Time: 01/19/23 6:05 PM --- +--- Warped Textures created by Michieal. local modname = minetest.get_current_modname() local S = minetest.get_translator(modname) +local SWAP_BASE_TEXTURES = minetest.settings:get_bool("swap_warped_for_original",true) + +local function allow_texture_swap() + +end \ No newline at end of file diff --git a/mcl_crimson_extras/textures/mcl_crimson_warped_door.png b/mcl_crimson_extras/textures/mcl_crimson_warped_door_alt.png similarity index 100% rename from mcl_crimson_extras/textures/mcl_crimson_warped_door.png rename to mcl_crimson_extras/textures/mcl_crimson_warped_door_alt.png diff --git a/mcl_crimson_extras/textures/mcl_crimson_warped_door_top.png b/mcl_crimson_extras/textures/mcl_crimson_warped_door_top_alt.png similarity index 100% rename from mcl_crimson_extras/textures/mcl_crimson_warped_door_top.png rename to mcl_crimson_extras/textures/mcl_crimson_warped_door_top_alt.png diff --git a/mcl_crimson_extras/textures/mcl_crimson_warped_trapdoor.png b/mcl_crimson_extras/textures/mcl_crimson_warped_trapdoor_alt.png similarity index 100% rename from mcl_crimson_extras/textures/mcl_crimson_warped_trapdoor.png rename to mcl_crimson_extras/textures/mcl_crimson_warped_trapdoor_alt.png diff --git a/mcl_crimson_extras/textures/mcl_doors_door_warped_side_lower.png b/mcl_crimson_extras/textures/mcl_doors_door_warped_side_lower_alt.png similarity index 100% rename from mcl_crimson_extras/textures/mcl_doors_door_warped_side_lower.png rename to mcl_crimson_extras/textures/mcl_doors_door_warped_side_lower_alt.png diff --git a/mcl_crimson_extras/textures/mcl_doors_door_warped_side_upper.png b/mcl_crimson_extras/textures/mcl_doors_door_warped_side_upper_alt.png similarity index 100% rename from mcl_crimson_extras/textures/mcl_doors_door_warped_side_upper.png rename to mcl_crimson_extras/textures/mcl_doors_door_warped_side_upper_alt.png diff --git a/mcl_crimson_extras/textures/stripped_warped_stem.png b/mcl_crimson_extras/textures/stripped_warped_stem_alt.png similarity index 100% rename from mcl_crimson_extras/textures/stripped_warped_stem.png rename to mcl_crimson_extras/textures/stripped_warped_stem_alt.png diff --git a/mcl_crimson_extras/textures/stripped_warped_stem_side.png b/mcl_crimson_extras/textures/stripped_warped_stem_side_alt.png similarity index 100% rename from mcl_crimson_extras/textures/stripped_warped_stem_side.png rename to mcl_crimson_extras/textures/stripped_warped_stem_side_alt.png diff --git a/mcl_crimson_extras/textures/stripped_warped_stem_top.png b/mcl_crimson_extras/textures/stripped_warped_stem_top_alt.png similarity index 100% rename from mcl_crimson_extras/textures/stripped_warped_stem_top.png rename to mcl_crimson_extras/textures/stripped_warped_stem_top_alt.png diff --git a/mcl_crimson_extras/textures/warped_hyphae.png b/mcl_crimson_extras/textures/warped_hyphae_alt.png similarity index 100% rename from mcl_crimson_extras/textures/warped_hyphae.png rename to mcl_crimson_extras/textures/warped_hyphae_alt.png diff --git a/mcl_crimson_extras/textures/warped_hyphae_wood_2nd.png b/mcl_crimson_extras/textures/warped_hyphae_wood_2nd_alt.png similarity index 100% rename from mcl_crimson_extras/textures/warped_hyphae_wood_2nd.png rename to mcl_crimson_extras/textures/warped_hyphae_wood_2nd_alt.png diff --git a/mcl_crimson_extras/textures/warped_hyphae_wood.png b/mcl_crimson_extras/textures/warped_hyphae_wood_alt.png similarity index 100% rename from mcl_crimson_extras/textures/warped_hyphae_wood.png rename to mcl_crimson_extras/textures/warped_hyphae_wood_alt.png diff --git a/mcl_crimson_extras/textures/warped_stem_stripped_side.png b/mcl_crimson_extras/textures/warped_stem_stripped_side_alt.png similarity index 100% rename from mcl_crimson_extras/textures/warped_stem_stripped_side.png rename to mcl_crimson_extras/textures/warped_stem_stripped_side_alt.png diff --git a/mcl_crimson_extras/textures/warped_stem_stripped_top.png b/mcl_crimson_extras/textures/warped_stem_stripped_top_alt.png similarity index 100% rename from mcl_crimson_extras/textures/warped_stem_stripped_top.png rename to mcl_crimson_extras/textures/warped_stem_stripped_top_alt.png diff --git a/settingtypes.txt b/settingtypes.txt new file mode 100644 index 0000000..2c5a885 --- /dev/null +++ b/settingtypes.txt @@ -0,0 +1,6 @@ +# If true, Swap out the current bamboo base textures for original textures +swap_bamboo_for_original (Use Original Bamboo) bool true + +# If true, Swap out the current warped base textures for greener textures +swap_warped_for_original (Use Green Warped Textures) bool true +