Added trees and wood
parent
5d491b89fd
commit
0bd791efef
|
@ -0,0 +1,7 @@
|
|||
# mypaint_fence
|
||||
|
||||
Paint all the default fence nodes.
|
||||
|
||||
Requires mypaint.
|
||||
|
||||
Licence - DWYWPL
|
|
@ -0,0 +1,3 @@
|
|||
default
|
||||
mypaint
|
||||
doors
|
|
@ -0,0 +1 @@
|
|||
Allows you to paint fence.
|
|
@ -0,0 +1,80 @@
|
|||
|
||||
local mypaint_fence_colors = {
|
||||
{"black", "Black", "#000000b0"},
|
||||
{"blue", "Blue", "#015dbb70"},
|
||||
{"brown", "Brown", "#a78c4570"},
|
||||
{"cyan", "Cyan", "#01ffd870"},
|
||||
{"darkgreen", "Dark Green", "#005b0770"},
|
||||
{"darkgrey", "Dark Grey", "#303030b0"},
|
||||
{"green", "Green", "#61ff0170"},
|
||||
{"grey", "Grey", "#5b5b5bb0"},
|
||||
{"magenta", "Magenta", "#ff05bb70"},
|
||||
{"orange", "Orange", "#ff840170"},
|
||||
{"pink", "Pink", "#ff65b570"},
|
||||
{"red", "Red", "#ff000070"},
|
||||
{"violet", "Violet", "#2000c970"},
|
||||
{"white", "White", "#abababc0"},
|
||||
{"yellow", "Yellow", "#e3ff0070"},
|
||||
}
|
||||
|
||||
local paintables = {
|
||||
"default:fence_wood","default:fence_acacia_wood","default:fence_junglewood","default:fence_aspen_wood","default:fence_pine_wood",
|
||||
}
|
||||
|
||||
for _, entry in ipairs(mypaint_fence_colors) do
|
||||
local color = entry[1]
|
||||
local desc = entry[2]
|
||||
local paint = "^[colorize:"..entry[3]
|
||||
|
||||
|
||||
-- Wood Fence
|
||||
|
||||
default.register_fence(":default:fence_wood_" .. color, {
|
||||
description = desc .. " Wooden Fence",
|
||||
texture = "default_wood.png".. paint,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Acacia Fence
|
||||
default.register_fence(":default:fence_acacia_wood_" .. color, {
|
||||
description = desc .. " Acacia Fence",
|
||||
texture = "default_acacia_wood.png".. paint,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Jungle Fence
|
||||
default.register_fence(":default:fence_junglewood_" .. color, {
|
||||
description = desc .. " Junglewood Fence",
|
||||
texture = "default_junglewood.png".. paint,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Aspen Fence
|
||||
default.register_fence(":default:fence_aspen_wood_" .. color, {
|
||||
description = desc .. " Aspen Fence",
|
||||
texture = "default_aspen_wood.png".. paint,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Pine Fence
|
||||
default.register_fence(":default:fence_pine_wood_" .. color, {
|
||||
description = desc .. " Pine Fence",
|
||||
texture = "default_pine_wood.png".. paint,
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
local colors = {}
|
||||
for _, entry in ipairs(mypaint_fence_colors) do
|
||||
table.insert(colors, entry[1])
|
||||
end
|
||||
mypaint.register(paintables, colors)
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||
or abbreviated DWYWPL
|
||||
|
||||
December 2nd 2015
|
||||
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
|
||||
www.sandboxgamemaker.com/DWYWPL/
|
||||
|
||||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
1. You are allowed to do whatever you want to with what content is using this license.
|
||||
2. This content is provided 'as-is', without any express or implied warranty. In no event
|
||||
will the authors be held liable for any damages arising from the use of this content.
|
|
@ -0,0 +1 @@
|
|||
name = mypaint_fence
|
|
@ -0,0 +1,7 @@
|
|||
# mypaint_trees
|
||||
|
||||
Paint all the default trees and leaves nodes.
|
||||
|
||||
Requires mypaint.
|
||||
|
||||
Licence - DWYWPL
|
|
@ -0,0 +1,2 @@
|
|||
default
|
||||
mypaint
|
|
@ -0,0 +1 @@
|
|||
Allows you to paint default tree and leaves nodes.
|
|
@ -0,0 +1,83 @@
|
|||
|
||||
local mypaint_tree_colors = {
|
||||
{"black", "Black", "#000000b0"},
|
||||
{"blue", "Blue", "#015dbb70"},
|
||||
{"brown", "Brown", "#a78c4570"},
|
||||
{"cyan", "Cyan", "#01ffd870"},
|
||||
{"darkgreen", "Dark Green", "#005b0770"},
|
||||
{"darkgrey", "Dark Grey", "#303030b0"},
|
||||
{"green", "Green", "#61ff0170"},
|
||||
{"grey", "Grey", "#5b5b5bb0"},
|
||||
{"magenta", "Magenta", "#ff05bb70"},
|
||||
{"orange", "Orange", "#ff840170"},
|
||||
{"pink", "Pink", "#ff65b570"},
|
||||
{"red", "Red", "#ff000070"},
|
||||
{"violet", "Violet", "#2000c970"},
|
||||
{"white", "White", "#abababc0"},
|
||||
{"yellow", "Yellow", "#e3ff0070"},
|
||||
}
|
||||
|
||||
local paintables = {
|
||||
"default:tree","default:acacia_tree","default:jungletree","default:aspen_tree","default:pine_tree",
|
||||
}
|
||||
|
||||
for _, entry in ipairs(mypaint_tree_colors) do
|
||||
local color = entry[1]
|
||||
local desc = entry[2]
|
||||
local paint = "^[colorize:"..entry[3]
|
||||
|
||||
-- Wood
|
||||
|
||||
minetest.register_node(":default:tree_" .. color, {
|
||||
description = desc .. " Tree",
|
||||
tiles = {"default_tree_top.png".. paint, "default_tree_top.png".. paint,
|
||||
"default_tree.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 0},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
---[[ Acacia
|
||||
minetest.register_node(":default:acacia_tree_" .. color, {
|
||||
description = desc .. " Acacia",
|
||||
tiles = {"default_acacia_tree_top.png".. paint, "default_acacia_tree_top.png".. paint,
|
||||
"default_acacia_tree.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Jungle
|
||||
minetest.register_node(":default:jungletree_" .. color, {
|
||||
description = desc .. " Jungletree",
|
||||
tiles = {"default_jungletree_top.png".. paint, "default_jungletree_top.png".. paint,
|
||||
"default_jungletree.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Aspen
|
||||
minetest.register_node(":default:aspen_tree_" .. color, {
|
||||
description = desc .. " Aspen Tree",
|
||||
tiles = {"default_aspen_tree_top.png".. paint, "default_aspen_tree_top.png".. paint,
|
||||
"default_aspen_tree.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Pine
|
||||
minetest.register_node(":default:pine_tree_" .. color, {
|
||||
description = desc .. " Pine Tree",
|
||||
tiles = {"default_pine_tree_top.png".. paint, "default_pine_tree_top.png".. paint,
|
||||
"default_pine_tree.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
|
||||
end
|
||||
|
||||
local colors = {}
|
||||
for _, entry in ipairs(mypaint_tree_colors) do
|
||||
table.insert(colors, entry[1])
|
||||
end
|
||||
mypaint.register(paintables, colors)
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||
or abbreviated DWYWPL
|
||||
|
||||
December 2nd 2015
|
||||
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
|
||||
www.sandboxgamemaker.com/DWYWPL/
|
||||
|
||||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
1. You are allowed to do whatever you want to with what content is using this license.
|
||||
2. This content is provided 'as-is', without any express or implied warranty. In no event
|
||||
will the authors be held liable for any damages arising from the use of this content.
|
|
@ -0,0 +1 @@
|
|||
name = mypaint_trees
|
|
@ -0,0 +1,7 @@
|
|||
# mypaint_wood
|
||||
|
||||
Paint all the default wood nodes.
|
||||
|
||||
Requires mypaint.
|
||||
|
||||
Licence - DWYWPL
|
|
@ -0,0 +1,3 @@
|
|||
default
|
||||
mypaint
|
||||
doors
|
|
@ -0,0 +1 @@
|
|||
Allows you to paint wood.
|
|
@ -0,0 +1,80 @@
|
|||
|
||||
local mypaint_wood_colors = {
|
||||
{"black", "Black", "#000000b0"},
|
||||
{"blue", "Blue", "#015dbb70"},
|
||||
{"brown", "Brown", "#a78c4570"},
|
||||
{"cyan", "Cyan", "#01ffd870"},
|
||||
{"darkgreen", "Dark Green", "#005b0770"},
|
||||
{"darkgrey", "Dark Grey", "#303030b0"},
|
||||
{"green", "Green", "#61ff0170"},
|
||||
{"grey", "Grey", "#5b5b5bb0"},
|
||||
{"magenta", "Magenta", "#ff05bb70"},
|
||||
{"orange", "Orange", "#ff840170"},
|
||||
{"pink", "Pink", "#ff65b570"},
|
||||
{"red", "Red", "#ff000070"},
|
||||
{"violet", "Violet", "#2000c970"},
|
||||
{"white", "White", "#abababc0"},
|
||||
{"yellow", "Yellow", "#e3ff0070"},
|
||||
}
|
||||
|
||||
local paintables = {
|
||||
"default:wood","default:acacia_wood","default:junglewood","default:aspen_wood","default:pine_wood",
|
||||
}
|
||||
|
||||
for _, entry in ipairs(mypaint_wood_colors) do
|
||||
local color = entry[1]
|
||||
local desc = entry[2]
|
||||
local paint = "^[colorize:"..entry[3]
|
||||
|
||||
|
||||
-- Wood
|
||||
|
||||
minetest.register_node(":default:wood_" .. color, {
|
||||
description = desc .. " Wood",
|
||||
tiles = {"default_wood.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 0},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Acacia
|
||||
minetest.register_node(":default:acacia_wood_" .. color, {
|
||||
description = desc .. " Acacia",
|
||||
tiles = {"default_acacia_wood.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Jungle
|
||||
minetest.register_node(":default:junglewood_" .. color, {
|
||||
description = desc .. " Junglewood",
|
||||
tiles = {"default_junglewood.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Aspen
|
||||
minetest.register_node(":default:aspen_wood_" .. color, {
|
||||
description = desc .. " Aspen",
|
||||
tiles = {"default_aspen_wood.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
-- Pine
|
||||
minetest.register_node(":default:pine_wood_" .. color, {
|
||||
description = desc .. " Pine",
|
||||
tiles = {"default_pine_wood.png".. paint},
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
|
||||
|
||||
end
|
||||
|
||||
local colors = {}
|
||||
for _, entry in ipairs(mypaint_wood_colors) do
|
||||
table.insert(colors, entry[1])
|
||||
end
|
||||
mypaint.register(paintables, colors)
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||
or abbreviated DWYWPL
|
||||
|
||||
December 2nd 2015
|
||||
License Copyright (C) 2015 Michael Tomaino (PlatinumArts@gmail.com)
|
||||
www.sandboxgamemaker.com/DWYWPL/
|
||||
|
||||
DO WHAT YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
1. You are allowed to do whatever you want to with what content is using this license.
|
||||
2. This content is provided 'as-is', without any express or implied warranty. In no event
|
||||
will the authors be held liable for any damages arising from the use of this content.
|
|
@ -0,0 +1 @@
|
|||
name = mypaint_wood
|
Loading…
Reference in New Issue