Initial Commit
28
LICENSE.txt
Normal file
@ -0,0 +1,28 @@
|
||||
|
||||
License of source code:
|
||||
-----------------------
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
||||
This license is also known as "WTFPL".
|
||||
|
||||
License of media (textures and sounds)
|
||||
--------------------------------------
|
||||
Design:
|
||||
Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
|
||||
http://creativecommons.org/licenses/by-sa/3.0/
|
||||
|
||||
Colors:
|
||||
GPL 2.0 or above
|
15
README.md
Normal file
@ -0,0 +1,15 @@
|
||||
"Unified Wool" (unifiedwool)
|
||||
|
||||
Author:
|
||||
Code - mtmodder148
|
||||
Texture Design - Cisoun, modified by mtmodder148
|
||||
Texture Colors - VanessaE
|
||||
License:
|
||||
Code - WTFPL
|
||||
Textures - CC BY-SA 3.0
|
||||
Colors - GPL 2.0 or above
|
||||
Dependencies: dye (Comes with minetest_game), wool (Comes with minetest_game), unifieddyes
|
||||
|
||||
Adds:
|
||||
|
||||
- 75 wool nodes for unifieddyes
|
3
depends.txt
Normal file
@ -0,0 +1,3 @@
|
||||
dye
|
||||
wool
|
||||
unifieddyes
|
133
init.lua
Normal file
@ -0,0 +1,133 @@
|
||||
-- Minetest Mod: "Unified Wool"
|
||||
|
||||
unifiedwool = {}
|
||||
|
||||
unifiedwool.dyes = {
|
||||
{"red", "Red"},
|
||||
{"orange", "Orange"},
|
||||
{"yellow", "Yellow"},
|
||||
{"lime", "Lime"},
|
||||
{"green", "Green"},
|
||||
{"aqua", "Aqua"},
|
||||
{"cyan", "Cyan"},
|
||||
{"skyblue", "Sky-blue"},
|
||||
{"blue", "Blue"},
|
||||
{"violet", "Violet"},
|
||||
{"magenta", "Magenta"},
|
||||
{"redviolet", "Red-violet"}
|
||||
}
|
||||
|
||||
-- Light Grey
|
||||
minetest.register_node("unifiedwool:light_grey", {
|
||||
description = "Light Grey Wool",
|
||||
tiles = {"unifiedwool_lightgrey.png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "unifiedwool:light_grey",
|
||||
recipe = {"dye:light_grey", "group:wool"},
|
||||
})
|
||||
|
||||
for _, row in ipairs(unifiedwool.dyes) do
|
||||
local name = row[1]
|
||||
local desc = row[2]
|
||||
-- Extended Colors
|
||||
if name == "lime" or name == "aqua" or name == "skyblue" or name == "redviolet" then
|
||||
minetest.register_node("unifiedwool:"..name, {
|
||||
description = desc.." Wool",
|
||||
tiles = {"unifiedwool_"..name..".png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "unifiedwool:"..name,
|
||||
recipe = {"dye:"..name, "group:wool"},
|
||||
})
|
||||
end
|
||||
-- Dark & low saturation
|
||||
minetest.register_node("unifiedwool:dark_"..name.."_s50", {
|
||||
description = "Dark "..desc.." Wool (low saturation)",
|
||||
tiles = {"unifiedwool_dark_"..name.."_s50.png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "unifiedwool:dark_"..name.."_s50",
|
||||
recipe = {"unifieddyes:dark_"..name.."_s50", "group:wool"},
|
||||
})
|
||||
|
||||
-- Dark
|
||||
if name ~= "green" then
|
||||
minetest.register_node("unifiedwool:dark"..name, {
|
||||
description = "Dark "..desc.." Wool",
|
||||
tiles = {"unifiedwool_dark_"..name..".png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "unifiedwool:dark_"..name,
|
||||
recipe = {"unifieddyes:dark_"..name, "group:wool"},
|
||||
})
|
||||
end
|
||||
|
||||
-- Medium & low saturation
|
||||
minetest.register_node("unifiedwool:medium_"..name.."_s50", {
|
||||
description = "Medium "..desc.." Wool (low saturation)",
|
||||
tiles = {"unifiedwool_medium_"..name.."_s50.png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "unifiedwool:medium_"..name.."_s50",
|
||||
recipe = {"unifieddyes:medium_"..name.."_s50", "group:wool"},
|
||||
})
|
||||
|
||||
-- Medium
|
||||
minetest.register_node("unifiedwool:medium_"..name, {
|
||||
description = "Medium "..desc.." Wool",
|
||||
tiles = {"unifiedwool_medium_"..name..".png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "unifiedwool:medium_"..name,
|
||||
recipe = {"unifieddyes:medium_"..name, "group:wool"},
|
||||
})
|
||||
|
||||
-- Light
|
||||
if name ~= "red" then
|
||||
minetest.register_node("unifiedwool:light_"..name, {
|
||||
description = "Light "..desc.." Wool",
|
||||
tiles = {"unifiedwool_light_"..name..".png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "unifiedwool:light"..name,
|
||||
recipe = {"unifieddyes:light_"..name, "group:wool"},
|
||||
})
|
||||
end
|
||||
|
||||
-- Low Saturation
|
||||
minetest.register_node("unifiedwool:"..name.."_s50", {
|
||||
description = desc.." Wool (low saturation)",
|
||||
tiles = {"unifiedwool_"..name.."_s50.png"},
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=3,flammable=3,wool=1,not_in_creative_inventory=1},
|
||||
sounds = default.node_sound_defaults(),
|
||||
})
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "unifiedwool:"..name.."_s50",
|
||||
recipe = {"unifieddyes:"..name.."_s50", "group:wool"},
|
||||
})
|
||||
end
|
||||
|
||||
print("[UnifiedWool] Loaded!")
|
BIN
textures/unifiedwool_aqua.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_aqua_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_blue_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_cyan_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_aqua.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_aqua_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_blue.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_blue_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_cyan.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_cyan_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_green.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_green_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_lime.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_lime_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_magenta.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_magenta_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_orange.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_orange_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_red.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_red_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_redviolet.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_redviolet_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_skyblue.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_skyblue_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_violet.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_violet_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_yellow.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_dark_yellow_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_darkgrey.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_green_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_aqua.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_blue.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_cyan.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_green.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_lime.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_magenta.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_orange.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_red.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_redviolet.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_skyblue.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_violet.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_light_yellow.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_lightgrey.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_lime.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_lime_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_magenta_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_aqua.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_aqua_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_blue.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_blue_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_cyan.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_cyan_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_green.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_green_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_lime.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_lime_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_magenta.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_magenta_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_orange.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_orange_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_red.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_red_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_redviolet.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_redviolet_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_skyblue.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_skyblue_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_violet.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_violet_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_yellow.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_medium_yellow_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_orange_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_red_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_redviolet.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_redviolet_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_skyblue.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_skyblue_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_violet_s50.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
textures/unifiedwool_yellow_s50.png
Normal file
After Width: | Height: | Size: 873 B |