diff --git a/README.md b/README.md index 6d111867..54feffba 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,6 @@ The following mods are also included: * materials/ * [moreores][] ([zlib/CC-BY-SA](mods/materials/moreores/README.md)) * [quartz][] ([MIT](mods/materials/quartz/LICENSE.txt)) - * [stained_wood][] ([MIT](mods/materials/stained_wood/init.lua)) * [unifieddyes][] ([GPL](mods/materials/unifieddyes/LICENSE)) * [mesecons (modpack)][mesecons] ([LGPL/CC-BY-SA](mods/mesecons/COPYING.txt)) * mobs/ @@ -192,7 +191,6 @@ The following mods are also included: [quartz]: https://forum.minetest.net/viewtopic.php?t=5682 [signs_lib]: https://forum.minetest.net/viewtopic.php?f=11&t=13762 [spidermob]: https://forum.minetest.net/viewtopic.php?t=10045 -[stained_wood]: mods/materials/stained_wood [stairsplus]: https://forum.minetest.net/viewtopic.php?id=6140 [technic]: https://forum.minetest.net/viewtopic.php?t=2538 [throwing]: https://forum.minetest.net/viewtopic.php?t=687 diff --git a/mods/materials/stained_wood/README.md b/mods/materials/stained_wood/README.md deleted file mode 100644 index 616d4011..00000000 --- a/mods/materials/stained_wood/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Stained Wood - -A set of colored wood meant to replace & add to [my_door_wood][] from the -[mydoors modpack][mydoors]. - -### License of Textures: -Dyed woods are derived from [default_pine_wood][]. - -default_pine_wood: -* Created by [paramat][] -* [CC BY-SA 3.0][] - -[mydoors]: https://forum.minetest.net/viewtopic.php?t=10626 -[my_door_wood]: https://github.com/minetest-mods/mydoors/tree/master/my_door_wood - - -[default_pine_wood]: https://github.com/minetest/minetest_game/blob/master/mods/default/textures/default_pine_wood.png -[sofar]: https://github.com/sofar -[paramat]: https://github.com/paramat -[CC BY-SA 3.0]: https://creativecommons.org/licenses/by-sa/3.0/legalcode diff --git a/mods/materials/stained_wood/crafting.lua b/mods/materials/stained_wood/crafting.lua deleted file mode 100644 index 02ed0254..00000000 --- a/mods/materials/stained_wood/crafting.lua +++ /dev/null @@ -1,42 +0,0 @@ - --- The MIT License (MIT) --- --- Copyright © 2016 Jordan Irwin --- --- Permission is hereby granted, free of charge, to any person obtaining a copy of --- this software and associated documentation files (the "Software"), to deal in --- the Software without restriction, including without limitation the rights to --- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies --- of the Software, and to permit persons to whom the Software is furnished to do --- so, subject to the following conditions: --- --- The above copyright notice and this permission notice shall be included in --- all copies or substantial portions of the Software. --- --- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR --- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, --- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE --- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER --- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, --- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE --- SOFTWARE. - - - --- Define function for adding a craft recipe for stained woods -addStainedWoodCraft = function(color) - local node_name = "stained_wood:" .. color - local dye_name = "dye:" .. color - - minetest.register_craft({ - type = "shapeless", - output = node_name, - recipe = {"default:wood", dye_name}, - }) -end - - --- Register all stained wood craft recipes -for i = 1, wood_colors_count do - addStainedWoodCraft(wood_colors[i]) -end diff --git a/mods/materials/stained_wood/depends.txt b/mods/materials/stained_wood/depends.txt deleted file mode 100644 index 29c580e5..00000000 --- a/mods/materials/stained_wood/depends.txt +++ /dev/null @@ -1,3 +0,0 @@ -default -dye -craft_guide? diff --git a/mods/materials/stained_wood/init.lua b/mods/materials/stained_wood/init.lua deleted file mode 100644 index 89e159fe..00000000 --- a/mods/materials/stained_wood/init.lua +++ /dev/null @@ -1,74 +0,0 @@ - --- The MIT License (MIT) --- --- Copyright © 2016 Jordan Irwin --- --- Permission is hereby granted, free of charge, to any person obtaining a copy of --- this software and associated documentation files (the "Software"), to deal in --- the Software without restriction, including without limitation the rights to --- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies --- of the Software, and to permit persons to whom the Software is furnished to do --- so, subject to the following conditions: --- --- The above copyright notice and this permission notice shall be included in --- all copies or substantial portions of the Software. --- --- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR --- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, --- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE --- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER --- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, --- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE --- SOFTWARE. - - -local modname = "stained_wood" - -core.log("action", "[MOD] Loading '" .. modname .. "' ...") - - -logMessage = function(message) - core.log("action", "[" .. modname .. "] " .. message) -end - - --- Get stained_wood mod path -local modpath = minetest.get_modpath("stained_wood") - --- Initialize stained_wood -stained_wood = {} - - --- Define function to titleize labels (for description purposes) -titleize = function(string) - local string = string:gsub("^%l", string.upper) - return string -end - - --- Define function to retrieve total number of stained wood colors -getWoodColorsCount = function(colors) - local color_count = 0 - - for _ in pairs(colors) do - color_count = color_count + 1 - end - - return color_count -end - - --- Set stained wood colors -wood_colors = { - "black", "blue", "brown", "gray", "gray_dark", "green", "red", "violet", - "white", "yellow"} - -wood_colors_count = getWoodColorsCount(wood_colors) - - --- Load sub-scripts -dofile(modpath .. "/nodes.lua") -dofile(modpath .. "/crafting.lua") - - -core.log("action", "[MOD] '" .. modname .. "' loaded") diff --git a/mods/materials/stained_wood/mod.conf b/mods/materials/stained_wood/mod.conf deleted file mode 100644 index 7e44b014..00000000 --- a/mods/materials/stained_wood/mod.conf +++ /dev/null @@ -1,6 +0,0 @@ -name = stained_wood -title = Stained_wood -author = AntumDeluge -description = -license = MIT -version = 0.1 \ No newline at end of file diff --git a/mods/materials/stained_wood/nodes.lua b/mods/materials/stained_wood/nodes.lua deleted file mode 100644 index 27f858bf..00000000 --- a/mods/materials/stained_wood/nodes.lua +++ /dev/null @@ -1,50 +0,0 @@ - --- The MIT License (MIT) --- --- Copyright © 2016 Jordan Irwin --- --- Permission is hereby granted, free of charge, to any person obtaining a copy of --- this software and associated documentation files (the "Software"), to deal in --- the Software without restriction, including without limitation the rights to --- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies --- of the Software, and to permit persons to whom the Software is furnished to do --- so, subject to the following conditions: --- --- The above copyright notice and this permission notice shall be included in --- all copies or substantial portions of the Software. --- --- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR --- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, --- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE --- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER --- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, --- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE --- SOFTWARE. - - - --- Define function for adding a stained wood -addStainedWood = function(color) - local node_name = "stained_wood:" .. color - local description = titleize(color) .. " Stained Wood" - - if color == "gray_dark" then - description = "Dark Gray Stained Wood" - end - - minetest.register_node(node_name, { - description = description, - tiles = {"wood_" .. color .. ".png"}, - is_ground_content = false, - groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, wood = 1}, - sounds = default.node_sound_wood_defaults(), - }) - - logMessage("nodes.lua: Registered node '" .. node_name .. "'") -end - - --- Register all stained wood -for i = 1, wood_colors_count do - addStainedWood(wood_colors[i]) -end diff --git a/mods/materials/stained_wood/textures/wood_black.png b/mods/materials/stained_wood/textures/wood_black.png deleted file mode 100644 index 35815fe1..00000000 Binary files a/mods/materials/stained_wood/textures/wood_black.png and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_blue.png b/mods/materials/stained_wood/textures/wood_blue.png deleted file mode 100644 index 73d9680f..00000000 Binary files a/mods/materials/stained_wood/textures/wood_blue.png and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_brown.png b/mods/materials/stained_wood/textures/wood_brown.png deleted file mode 100644 index b41241dc..00000000 Binary files a/mods/materials/stained_wood/textures/wood_brown.png and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_colors.xcf b/mods/materials/stained_wood/textures/wood_colors.xcf deleted file mode 100644 index 143d2645..00000000 Binary files a/mods/materials/stained_wood/textures/wood_colors.xcf and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_gray.png b/mods/materials/stained_wood/textures/wood_gray.png deleted file mode 100644 index 742157be..00000000 Binary files a/mods/materials/stained_wood/textures/wood_gray.png and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_gray_dark.png b/mods/materials/stained_wood/textures/wood_gray_dark.png deleted file mode 100644 index acafd59f..00000000 Binary files a/mods/materials/stained_wood/textures/wood_gray_dark.png and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_green.png b/mods/materials/stained_wood/textures/wood_green.png deleted file mode 100644 index ce63c935..00000000 Binary files a/mods/materials/stained_wood/textures/wood_green.png and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_red.png b/mods/materials/stained_wood/textures/wood_red.png deleted file mode 100644 index 8d6edb74..00000000 Binary files a/mods/materials/stained_wood/textures/wood_red.png and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_violet.png b/mods/materials/stained_wood/textures/wood_violet.png deleted file mode 100644 index 3f9e4cfe..00000000 Binary files a/mods/materials/stained_wood/textures/wood_violet.png and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_white.png b/mods/materials/stained_wood/textures/wood_white.png deleted file mode 100644 index cae1cf6d..00000000 Binary files a/mods/materials/stained_wood/textures/wood_white.png and /dev/null differ diff --git a/mods/materials/stained_wood/textures/wood_yellow.png b/mods/materials/stained_wood/textures/wood_yellow.png deleted file mode 100644 index 9946dded..00000000 Binary files a/mods/materials/stained_wood/textures/wood_yellow.png and /dev/null differ