2014-06-17 06:49:45 +02:00
|
|
|
-- Colored Wood mod by Vanessa Ezekowitz
|
2012-07-18 05:23:06 +02:00
|
|
|
-- based on my unifieddyes template.
|
|
|
|
--
|
|
|
|
-- License: WTFPL
|
|
|
|
--
|
|
|
|
-- This mod provides 89 colors of wood, fences, and sticks, and enough
|
|
|
|
-- cross-compatible recipes to make everything fit together naturally.
|
|
|
|
--
|
2017-01-26 20:24:57 +01:00
|
|
|
-- Colored wood is created by placing a regular wood block on the ground
|
|
|
|
-- and then right-clicking on it with some dye.
|
2012-07-18 05:23:06 +02:00
|
|
|
-- All materials are flammable and can be used as fuel.
|
2017-01-26 20:24:57 +01:00
|
|
|
--
|
2014-10-29 21:33:57 +01:00
|
|
|
-- Hues are on a 30 degree spacing starting at red = 0 degrees.
|
|
|
|
-- "s50" in a file/item name means "saturation: 50%".
|
|
|
|
-- Texture brightness levels for the colors are 100%, 66% ("medium"),
|
|
|
|
-- and 33% ("dark").
|
|
|
|
|
|
|
|
coloredwood = {}
|
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
coloredwood.enable_stairsplus = true
|
2017-05-13 11:54:04 +02:00
|
|
|
if minetest.settings:get_bool("coloredwood_enable_stairsplus") == false or not minetest.get_modpath("moreblocks") then
|
2017-01-26 20:24:57 +01:00
|
|
|
coloredwood.enable_stairsplus = false
|
|
|
|
end
|
|
|
|
|
2014-10-29 21:33:57 +01:00
|
|
|
coloredwood.shades = {
|
|
|
|
"dark_",
|
|
|
|
"medium_",
|
|
|
|
"" -- represents "no special shade name", e.g. full.
|
|
|
|
}
|
|
|
|
|
|
|
|
coloredwood.shades2 = {
|
|
|
|
"Dark ",
|
|
|
|
"Medium ",
|
|
|
|
"" -- represents "no special shade name", e.g. full.
|
|
|
|
}
|
|
|
|
|
2014-11-16 18:35:01 +01:00
|
|
|
coloredwood.default_hues = {
|
|
|
|
"white",
|
|
|
|
"grey",
|
|
|
|
"dark_grey",
|
|
|
|
"black",
|
|
|
|
"violet",
|
|
|
|
"blue",
|
|
|
|
"cyan",
|
|
|
|
"dark_green",
|
|
|
|
"green",
|
|
|
|
"yellow",
|
|
|
|
"orange",
|
|
|
|
"red",
|
|
|
|
"magenta"
|
|
|
|
}
|
|
|
|
|
2014-10-29 21:33:57 +01:00
|
|
|
coloredwood.hues = {
|
|
|
|
"red",
|
|
|
|
"orange",
|
|
|
|
"yellow",
|
|
|
|
"lime",
|
|
|
|
"green",
|
|
|
|
"aqua",
|
|
|
|
"cyan",
|
|
|
|
"skyblue",
|
|
|
|
"blue",
|
|
|
|
"violet",
|
|
|
|
"magenta",
|
|
|
|
"redviolet"
|
|
|
|
}
|
|
|
|
|
|
|
|
coloredwood.hues2 = {
|
|
|
|
"Red ",
|
|
|
|
"Orange ",
|
|
|
|
"Yellow ",
|
|
|
|
"Lime ",
|
|
|
|
"Green ",
|
|
|
|
"Aqua ",
|
|
|
|
"Cyan ",
|
|
|
|
"Sky Blue ",
|
|
|
|
"Blue ",
|
|
|
|
"Violet ",
|
|
|
|
"Magenta ",
|
|
|
|
"Red-violet "
|
|
|
|
}
|
|
|
|
|
|
|
|
coloredwood.greys = {
|
|
|
|
"black",
|
|
|
|
"darkgrey",
|
|
|
|
"grey",
|
|
|
|
"lightgrey",
|
|
|
|
"white"
|
|
|
|
}
|
|
|
|
|
|
|
|
coloredwood.greys2 = {
|
|
|
|
"Black ",
|
|
|
|
"Dark Grey ",
|
|
|
|
"Medium Grey ",
|
|
|
|
"Light Grey ",
|
|
|
|
"White "
|
|
|
|
}
|
|
|
|
|
|
|
|
coloredwood.greys3 = {
|
2014-10-30 14:37:34 +01:00
|
|
|
"dye:black",
|
|
|
|
"dye:dark_grey",
|
|
|
|
"dye:grey",
|
|
|
|
"dye:light_grey",
|
|
|
|
"dye:white"
|
2014-10-29 21:33:57 +01:00
|
|
|
}
|
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
coloredwood.hues_plus_greys = {}
|
2012-07-18 05:23:06 +02:00
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
for _, hue in ipairs(coloredwood.hues) do
|
|
|
|
table.insert(coloredwood.hues_plus_greys, hue)
|
|
|
|
end
|
2012-07-18 05:23:06 +02:00
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
table.insert(coloredwood.hues_plus_greys, "grey")
|
|
|
|
|
|
|
|
-- helper functions
|
|
|
|
|
2017-03-14 04:43:06 +01:00
|
|
|
local function is_stairsplus(name, colorized)
|
|
|
|
|
|
|
|
-- the format of a coloredwood stairsplus node is:
|
2018-08-22 12:41:06 +02:00
|
|
|
-- "coloredwood:$CLASS_wood_$COLOR_$SHAPE"
|
|
|
|
-- where $CLASS is "slab", "stair", etc., $SHAPE is "three quarter", "alt", etc.,
|
|
|
|
-- and $COLOR is one of the 13 color sets (counting "grey")
|
2017-03-14 04:43:06 +01:00
|
|
|
|
|
|
|
local a = string.find(name, ":")
|
|
|
|
local b = string.find(name, "_")
|
|
|
|
|
|
|
|
local class = string.sub(name, a+1, b-1) -- from colon to underscore is the class
|
|
|
|
local shape = ""
|
|
|
|
local rest
|
2018-08-22 12:41:06 +02:00
|
|
|
local colorshape
|
2017-03-14 04:43:06 +01:00
|
|
|
|
|
|
|
if class == "stair"
|
|
|
|
or class == "slab"
|
|
|
|
or class == "panel"
|
|
|
|
or class == "micro"
|
|
|
|
or class == "slope" then
|
|
|
|
|
|
|
|
if colorized then
|
|
|
|
colorshape = string.sub(name, b+6)
|
|
|
|
local c = string.find(colorshape, "_") or 0 -- first word after "_wood_" is color
|
|
|
|
shape = string.sub(colorshape, c) -- everything after the color is the shape
|
|
|
|
if colorshape == shape then shape = "" end -- if there was no shape
|
|
|
|
else
|
|
|
|
shape = string.sub(name, b+5) -- everything after "_wood_" is the shape
|
2017-02-22 17:15:10 +01:00
|
|
|
end
|
2017-01-26 20:24:57 +01:00
|
|
|
end
|
2017-03-14 04:43:06 +01:00
|
|
|
return class, shape
|
2017-01-26 20:24:57 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
-- the actual nodes!
|
|
|
|
|
2017-02-25 07:06:40 +01:00
|
|
|
minetest.register_node("coloredwood:wood_block", {
|
|
|
|
description = "Colored wooden planks",
|
|
|
|
tiles = { "coloredwood_base.png" },
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "color",
|
|
|
|
palette = "unifieddyes_palette_extended.png",
|
|
|
|
walkable = true,
|
|
|
|
sunlight_propagates = false,
|
|
|
|
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
|
|
|
sounds = default.node_sound_wood_defaults(),
|
|
|
|
})
|
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
for _, color in ipairs(coloredwood.hues_plus_greys) do
|
|
|
|
|
|
|
|
-- moreblocks/stairsplus support
|
|
|
|
|
|
|
|
if coloredwood.enable_stairsplus then
|
|
|
|
|
|
|
|
-- stairsplus:register_all(modname, subname, recipeitem, {fields})
|
|
|
|
|
|
|
|
stairsplus:register_all(
|
|
|
|
"coloredwood",
|
|
|
|
"wood_"..color,
|
|
|
|
"coloredwood:wood_"..color,
|
|
|
|
{
|
|
|
|
description = "Colored wood",
|
|
|
|
tiles = { "coloredwood_base.png" },
|
|
|
|
paramtype = "light",
|
|
|
|
paramtype2 = "colorfacedir",
|
|
|
|
palette = "unifieddyes_palette_"..color.."s.png",
|
2017-03-18 08:26:57 +01:00
|
|
|
after_place_node = function(pos, placer, itemstack, pointed_thing)
|
|
|
|
minetest.rotate_node(itemstack, placer, pointed_thing)
|
|
|
|
end,
|
2017-02-05 01:41:01 +01:00
|
|
|
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
2017-01-26 20:24:57 +01:00
|
|
|
}
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-08-22 12:41:06 +02:00
|
|
|
local coloredwood_cuts = {}
|
2012-07-18 05:23:06 +02:00
|
|
|
|
2018-08-22 12:41:06 +02:00
|
|
|
-- force settings for stairsplus default wood stair/slab/etc nodes
|
|
|
|
-- and fix other stuff for colored versions of stairsplus nodes
|
|
|
|
|
|
|
|
if coloredwood.enable_stairsplus then
|
2017-01-26 20:24:57 +01:00
|
|
|
|
|
|
|
for _, i in pairs(minetest.registered_nodes) do
|
2018-08-22 12:41:06 +02:00
|
|
|
|
|
|
|
if (string.find(i.name, "moreblocks:stair_wood")
|
2017-03-14 05:03:48 +01:00
|
|
|
or string.find(i.name, "moreblocks:slab_wood")
|
|
|
|
or string.find(i.name, "moreblocks:panel_wood")
|
|
|
|
or string.find(i.name, "moreblocks:micro_wood")
|
2018-08-22 12:41:06 +02:00
|
|
|
or string.find(i.name, "moreblocks:slope_wood"))
|
|
|
|
and not string.find(i.name, "wood_tile") then
|
2017-01-26 20:24:57 +01:00
|
|
|
|
2018-08-22 12:41:06 +02:00
|
|
|
table.insert(coloredwood_cuts, i.name)
|
2017-01-26 20:24:57 +01:00
|
|
|
|
|
|
|
minetest.override_item(i.name, {
|
2018-08-22 12:41:06 +02:00
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
2017-01-26 20:24:57 +01:00
|
|
|
})
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-08-22 12:41:06 +02:00
|
|
|
-- "coloredwood:slope_wood_outer_half_raised"
|
|
|
|
|
|
|
|
for _, mname in ipairs(coloredwood_cuts) do
|
|
|
|
|
|
|
|
local class, shape = is_stairsplus(mname, nil)
|
|
|
|
|
|
|
|
unifieddyes.register_color_craft({
|
|
|
|
output_prefix = "coloredwood:"..class.."_wood_",
|
|
|
|
output_suffix = shape,
|
|
|
|
palette = true,
|
|
|
|
type = "shapeless",
|
|
|
|
neutral_node = mname,
|
|
|
|
recipe = {
|
|
|
|
"NEUTRAL_NODE",
|
|
|
|
"MAIN_DYE"
|
|
|
|
}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
minetest.override_item("default:wood", {
|
2017-02-25 07:06:40 +01:00
|
|
|
palette = "unifieddyes_palette_extended.png",
|
2018-08-26 13:24:24 +02:00
|
|
|
airbrush_replacement_node = "coloredwood:wood_block",
|
2017-02-05 01:41:01 +01:00
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1, ud_param2_colorable = 1},
|
2017-01-26 20:24:57 +01:00
|
|
|
})
|
|
|
|
|
2017-02-26 21:05:00 +01:00
|
|
|
default.register_fence("coloredwood:fence", {
|
2017-01-26 20:24:57 +01:00
|
|
|
description = "Colored wooden fence",
|
2017-02-26 21:05:00 +01:00
|
|
|
texture = "coloredwood_fence_base.png",
|
2017-01-26 20:24:57 +01:00
|
|
|
paramtype2 = "color",
|
2017-02-25 07:06:40 +01:00
|
|
|
palette = "unifieddyes_palette_extended.png",
|
2017-02-05 01:41:01 +01:00
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, ud_param2_colorable = 1},
|
2017-01-26 20:24:57 +01:00
|
|
|
sounds = default.node_sound_wood_defaults(),
|
2017-02-26 21:05:00 +01:00
|
|
|
material = "default:wood"
|
2017-01-26 20:24:57 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.override_item("default:fence_wood", {
|
2017-02-25 07:06:40 +01:00
|
|
|
palette = "unifieddyes_palette_extended.png",
|
2017-02-05 01:41:01 +01:00
|
|
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, ud_param2_colorable = 1}
|
2017-01-26 20:24:57 +01:00
|
|
|
})
|
|
|
|
|
2018-08-22 12:41:06 +02:00
|
|
|
-- Crafts
|
|
|
|
|
|
|
|
unifieddyes.register_color_craft({
|
|
|
|
output = "coloredwood:wood_block",
|
|
|
|
palette = "extended",
|
|
|
|
type = "shapeless",
|
|
|
|
neutral_node = "default:wood",
|
|
|
|
recipe = {
|
|
|
|
"NEUTRAL_NODE",
|
|
|
|
"MAIN_DYE"
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
unifieddyes.register_color_craft({
|
|
|
|
output = "coloredwood:fence",
|
|
|
|
palette = "extended",
|
|
|
|
type = "shapeless",
|
|
|
|
neutral_node = "default:fence_wood",
|
|
|
|
recipe = {
|
|
|
|
"NEUTRAL_NODE",
|
|
|
|
"MAIN_DYE"
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
-- ============================
|
|
|
|
-- convert the old static nodes
|
|
|
|
|
|
|
|
coloredwood.old_static_nodes = {}
|
2017-02-25 07:06:40 +01:00
|
|
|
coloredwood.old_13_color_nodes = {}
|
2017-01-26 20:24:57 +01:00
|
|
|
|
|
|
|
for _, hue in ipairs(coloredwood.hues) do
|
2017-02-25 07:06:40 +01:00
|
|
|
table.insert(coloredwood.old_13_color_nodes, "coloredwood:wood_"..hue)
|
2017-01-26 20:24:57 +01:00
|
|
|
for _, sat in ipairs({"", "_s50"}) do
|
|
|
|
for _, val in ipairs ({"dark_", "medium_", "light_", ""}) do
|
|
|
|
table.insert(coloredwood.old_static_nodes, "coloredwood:wood_"..val..hue..sat)
|
|
|
|
table.insert(coloredwood.old_static_nodes, "coloredwood:fence_"..val..hue..sat)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
for _, shade in ipairs(coloredwood.greys) do
|
|
|
|
table.insert(coloredwood.old_static_nodes, "coloredwood:wood_"..shade)
|
|
|
|
table.insert(coloredwood.old_static_nodes, "coloredwood:fence_"..shade)
|
|
|
|
end
|
|
|
|
|
2017-02-25 07:06:40 +01:00
|
|
|
table.insert(coloredwood.old_13_color_nodes, "coloredwood:wood_grey")
|
|
|
|
|
|
|
|
|
2017-02-17 02:47:44 +01:00
|
|
|
-- add all of the stairsplus nodes, if moreblocks is installed.
|
|
|
|
if coloredwood.enable_stairsplus then
|
|
|
|
for _, shape in ipairs(circular_saw.names) do
|
|
|
|
local a = shape[1]
|
|
|
|
local b = shape[2]
|
|
|
|
for _, hue in ipairs(coloredwood.hues) do
|
|
|
|
for _, shade in ipairs(coloredwood.shades) do
|
|
|
|
table.insert(coloredwood.old_static_nodes, "coloredwood:"..a.."_wood_"..shade..hue..b)
|
|
|
|
table.insert(coloredwood.old_static_nodes, "coloredwood:"..a.."_wood_"..shade..hue.."_s50"..b)
|
|
|
|
end
|
|
|
|
table.insert(coloredwood.old_static_nodes, "coloredwood:"..a.."_wood_light_"..hue..b) -- light doesn't have extra shades or s50
|
2017-01-26 20:24:57 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-02-17 02:47:44 +01:00
|
|
|
for _, shape in ipairs(circular_saw.names) do
|
|
|
|
local a = shape[1]
|
|
|
|
local b = shape[2]
|
|
|
|
for _, hue in ipairs(coloredwood.greys) do
|
|
|
|
for _, shade in ipairs(coloredwood.shades) do
|
|
|
|
table.insert(coloredwood.old_static_nodes, "coloredwood:"..a.."_wood_"..hue..b)
|
|
|
|
end
|
2017-01-26 20:24:57 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-02-25 07:06:40 +01:00
|
|
|
local old_shades = {
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
"light_",
|
|
|
|
"medium_",
|
|
|
|
"medium_",
|
|
|
|
"dark_",
|
|
|
|
"dark_"
|
|
|
|
}
|
|
|
|
|
|
|
|
local old_greys = {
|
|
|
|
"white",
|
|
|
|
"white",
|
|
|
|
"light_grey",
|
|
|
|
"grey",
|
|
|
|
"dark_grey",
|
|
|
|
"black",
|
|
|
|
"white",
|
|
|
|
"white"
|
|
|
|
}
|
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
minetest.register_lbm({
|
|
|
|
name = "coloredwood:convert",
|
|
|
|
label = "Convert wood blocks, fences, stairsplus stuff, etc to use param2 color",
|
2017-02-16 22:59:51 +01:00
|
|
|
run_at_every_load = false,
|
2017-01-26 20:24:57 +01:00
|
|
|
nodenames = coloredwood.old_static_nodes,
|
|
|
|
action = function(pos, node)
|
|
|
|
local meta = minetest.get_meta(pos)
|
|
|
|
|
|
|
|
local name = node.name
|
|
|
|
local hue, sat, val = unifieddyes.get_hsv(name)
|
|
|
|
local color = val..hue..sat
|
2017-03-14 04:43:06 +01:00
|
|
|
local s1, s2 = is_stairsplus(name, true)
|
2017-01-26 20:24:57 +01:00
|
|
|
|
2017-02-25 07:06:40 +01:00
|
|
|
if meta and (meta:get_string("dye") ~= "") then return end -- node has already been converted before.
|
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
if s1 then
|
|
|
|
|
2017-02-22 17:15:10 +01:00
|
|
|
if not s2 then print("impossible conversion request! name = "..node.name.." --> ".."coloredwood:"..s1.."_wood_"..hue.."*nil*") return end
|
|
|
|
|
2017-01-26 20:24:57 +01:00
|
|
|
local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..color, true)
|
|
|
|
local cfdir = paletteidx + (node.param2 % 32)
|
|
|
|
local newname = "coloredwood:"..s1.."_wood_"..hue..s2
|
|
|
|
|
|
|
|
minetest.set_node(pos, { name = newname, param2 = cfdir })
|
|
|
|
local meta = minetest.get_meta(pos)
|
|
|
|
meta:set_string("dye", "unifieddyes:"..color)
|
|
|
|
|
|
|
|
elseif string.find(name, ":fence") then
|
2017-02-25 07:06:40 +01:00
|
|
|
local paletteidx, hue = unifieddyes.getpaletteidx("unifieddyes:"..color, "extended")
|
2017-01-26 20:24:57 +01:00
|
|
|
minetest.set_node(pos, { name = "coloredwood:fence", param2 = paletteidx })
|
|
|
|
meta:set_string("dye", "unifieddyes:"..color)
|
2017-02-25 07:06:40 +01:00
|
|
|
meta:set_string("palette", "ext")
|
2017-01-26 20:24:57 +01:00
|
|
|
else
|
2017-02-25 07:06:40 +01:00
|
|
|
if hue == "aqua" then
|
|
|
|
hue = "spring"
|
|
|
|
elseif hue == "skyblue" then
|
|
|
|
hue = "azure"
|
|
|
|
elseif hue == "redviolet" then
|
|
|
|
hue = "rose"
|
|
|
|
end
|
|
|
|
|
|
|
|
color = val..hue..sat
|
|
|
|
|
|
|
|
local paletteidx, hue = unifieddyes.getpaletteidx("unifieddyes:"..color, "extended")
|
|
|
|
minetest.set_node(pos, { name = "coloredwood:wood_block", param2 = paletteidx })
|
|
|
|
meta:set_string("dye", "unifieddyes:"..color)
|
|
|
|
meta:set_string("palette", "ext")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
})
|
|
|
|
|
|
|
|
table.insert(coloredwood.old_13_color_nodes, "coloredwood:fence")
|
|
|
|
|
|
|
|
minetest.register_lbm({
|
|
|
|
name = "coloredwood:recolor_basics",
|
|
|
|
label = "Convert fences and base 13-color wood to use UD extended palette",
|
2017-02-25 07:10:31 +01:00
|
|
|
run_at_every_load = false,
|
2017-02-25 07:06:40 +01:00
|
|
|
nodenames = coloredwood.old_13_color_nodes,
|
|
|
|
action = function(pos, node)
|
|
|
|
local meta = minetest.get_meta(pos)
|
|
|
|
if meta:get_string("palette") ~= "ext" then
|
|
|
|
if node.name == "coloredwood:fence" then
|
|
|
|
minetest.swap_node(pos, { name = node.name, param2 = unifieddyes.convert_classic_palette[node.param2] })
|
2017-01-26 20:24:57 +01:00
|
|
|
else
|
2017-02-25 07:06:40 +01:00
|
|
|
local hue = string.sub(node.name, 18)
|
|
|
|
local shadenum = math.floor(node.param2/32) + 1
|
|
|
|
local shade = old_shades[shadenum]
|
|
|
|
local sat = ""
|
|
|
|
|
|
|
|
if hue == "grey" then
|
|
|
|
hue = old_greys[shadenum]
|
|
|
|
shade = ""
|
|
|
|
sat = ""
|
|
|
|
elseif shadenum == 3 or shadenum == 6 or shadenum == 8 then
|
|
|
|
sat = "_s50"
|
|
|
|
end
|
|
|
|
|
|
|
|
local newcolor = unifieddyes.convert_classic_palette[unifieddyes.getpaletteidx("unifieddyes:"..shade..hue..sat)]
|
|
|
|
minetest.swap_node(pos, { name = "coloredwood:wood_block", param2 = newcolor })
|
2017-01-26 20:24:57 +01:00
|
|
|
end
|
2017-02-25 07:06:40 +01:00
|
|
|
meta:set_string("palette", "ext")
|
2017-01-26 20:24:57 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
})
|
|
|
|
|
|
|
|
print("[Colored Wood] Loaded!")
|