Set up Warped textures to be swapped out using setting.

This commit is contained in:
Michieal 2023-01-21 00:27:24 -05:00
parent a5d916514a
commit c78306ac9f
15 changed files with 12 additions and 0 deletions

View File

@ -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

View File

Before

Width:  |  Height:  |  Size: 221 B

After

Width:  |  Height:  |  Size: 221 B

View File

Before

Width:  |  Height:  |  Size: 263 B

After

Width:  |  Height:  |  Size: 263 B

View File

Before

Width:  |  Height:  |  Size: 261 B

After

Width:  |  Height:  |  Size: 261 B

View File

Before

Width:  |  Height:  |  Size: 149 B

After

Width:  |  Height:  |  Size: 149 B

View File

Before

Width:  |  Height:  |  Size: 151 B

After

Width:  |  Height:  |  Size: 151 B

View File

Before

Width:  |  Height:  |  Size: 196 B

After

Width:  |  Height:  |  Size: 196 B

View File

Before

Width:  |  Height:  |  Size: 192 B

After

Width:  |  Height:  |  Size: 192 B

View File

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 237 B

View File

Before

Width:  |  Height:  |  Size: 210 B

After

Width:  |  Height:  |  Size: 210 B

View File

Before

Width:  |  Height:  |  Size: 195 B

After

Width:  |  Height:  |  Size: 195 B

View File

Before

Width:  |  Height:  |  Size: 202 B

After

Width:  |  Height:  |  Size: 202 B

View File

Before

Width:  |  Height:  |  Size: 192 B

After

Width:  |  Height:  |  Size: 192 B

View File

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 228 B

6
settingtypes.txt Normal file
View File

@ -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