Compare commits
5 Commits
6945f8b2f1
...
5e46c7e1e5
Author | SHA1 | Date |
---|---|---|
vse bor | 5e46c7e1e5 | |
vse bor | 47d7d0e850 | |
vse bor | 935e6ecdd2 | |
vse bor | b71b0d1dbd | |
vse bor | 48b39b8e2d |
|
@ -9,7 +9,11 @@ Adds configurable clay blocks, clay lumps, bricks, and brick blocks. Includes
|
|||
all of the colors that unifieddyes offers (which amounts to 89 clayblocks, clay
|
||||
lumps, bricks, brick blocks, leaving 356 total).
|
||||
|
||||
Now returns glass bottles and empty buckets when appropriate.
|
||||
|
||||
Settings at the top of init.lua:
|
||||
SETTING_allow_default_coloring = 1
|
||||
When set to 1, default clay + unifieddyes dye = unifiedbricks clay lump
|
||||
SETTING_allow_hues = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
|
||||
Each number represents a hue (red, orange, yellow ...). When a value is
|
||||
set to 0, that hue is disabled.
|
||||
|
@ -22,6 +26,9 @@ Settings at the top of init.lua:
|
|||
|
||||
Furthermore, a list of names is included below that, from which you can
|
||||
change, for example, "red" to "mahogany".
|
||||
|
||||
WARNING: if you remove something important, such as clay lumps, you'll have to
|
||||
cheat to get some items.
|
||||
|
||||
If you don't like what I did, tell me or use one of github's fancy features or
|
||||
do it yourself or whatever. Hint: I would absolutely love to have some better
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
default
|
||||
bucket
|
||||
unifieddyes
|
||||
vessels
|
||||
|
|
738
init.lua
|
@ -2,7 +2,7 @@
|
|||
--
|
||||
--License: WTFPL
|
||||
--
|
||||
--Depends: default, unifieddyes
|
||||
--Depends: default, bucket, unifieddyes, vessels
|
||||
--
|
||||
--Obviously, offers the same colors in unifieddyes.
|
||||
--Thanks go to VanessaE for making unifieddyes, gentextures.sh, etc.
|
||||
|
@ -13,15 +13,19 @@ minetest.register_alias("unifieddyes:grey","unifieddyes:grey_paint")
|
|||
minetest.register_alias("unifieddyes:darkgrey","unifieddyes:darkgrey_paint")
|
||||
|
||||
--1 indicates yes, 0 indicates no
|
||||
--default:clay_lump + unifieddyes:color = unifiedbricks:color
|
||||
SETTING_allow_default_coloring = 1
|
||||
--red, orange, yellow, lime, green, aqua, cyan, skyblue, blue, violet, magenta,
|
||||
--redviolet, black, darkgrey, mediumgrey, lightgrey, white, respectively (by default)
|
||||
SETTING_allow_hues = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
|
||||
--clayblock, clay, brick, brickblock, respectively (by default)
|
||||
SETTING_allow_types = {1,1,1,1}
|
||||
--clayblock, clay, brick, singlecolor brickblock, multicolor brickblock, respectively (by default)
|
||||
SETTING_allow_types = {1,1,1,1,1}
|
||||
--half saturation, full saturation, respectively (by default)
|
||||
SETTING_allow_saturation = {1,1}
|
||||
--dark, medium, bright, light, respectively (by default)
|
||||
SETTING_allow_darkness = {1,1,1,1}
|
||||
--dark, medium, bright, respectively (by default)
|
||||
SETTING_allow_multicolor = {1,1,1}
|
||||
|
||||
HUES = {
|
||||
"red",
|
||||
|
@ -46,7 +50,8 @@ TYPES = {
|
|||
"clayblock_",
|
||||
"clay_",
|
||||
"brick_",
|
||||
"brickblock_"
|
||||
"brickblock_",
|
||||
"multicolor_"
|
||||
}
|
||||
SATURATION = {
|
||||
"_s50",
|
||||
|
@ -82,7 +87,8 @@ FORMALTYPES = {
|
|||
" clay",
|
||||
" clay lump",
|
||||
" brick",
|
||||
" bricks"
|
||||
" bricks",
|
||||
" multicolor bricks"
|
||||
}
|
||||
FORMALSATURATION = {
|
||||
" (low saturation)",
|
||||
|
@ -129,255 +135,505 @@ register_brick_block = function(name,formalname)
|
|||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
end
|
||||
register_multicolor = function(name,formalname,drop_one,drop_two,drop_three)
|
||||
minetest.register_node("unifiedbricks:" .. TYPES[5] .. name, {
|
||||
description = formalname .. FORMALTYPES[5],
|
||||
tile_images = {"unifiedbricks_" .. TYPES[5] .. name .. ".png"},
|
||||
is_ground_content = true,
|
||||
groups = {cracky=3},
|
||||
drop = {max_items = 4,
|
||||
items={
|
||||
{items={"unifiedbricks:" .. TYPES[3] .. drop_one .." 2"}},
|
||||
{items={"unifiedbricks:" .. TYPES[3] .. drop_two}},
|
||||
{items={"unifiedbricks:" .. TYPES[3] .. drop_three}}
|
||||
}},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
end
|
||||
|
||||
register_clay_craft = function(color_combo,color_one,color_two)
|
||||
register_clay_craft_default = function(color)
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color,
|
||||
recipe = {
|
||||
"default:clay_lump",
|
||||
"unifieddyes:" .. color,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color, "vessels:glass_bottle"} }
|
||||
})
|
||||
end
|
||||
|
||||
register_clay_craft_bucketlast = function(color_combo,color_one,color_two)
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
},
|
||||
replacements = { { "unifieddyes:" .. color_one, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_two, "bucket:bucket_empty"} }
|
||||
})
|
||||
end
|
||||
register_clay_craft_vessellast = function(color_combo,color_one,color_two)
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
},
|
||||
replacements = { { "unifieddyes:" .. color_one, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_two, "vessels:glass_bottle"} }
|
||||
})
|
||||
end
|
||||
register_clay_craft_three = function(color_combo,color_one,color_two,color_three)
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 3",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
end
|
||||
register_clay_craft_three_reducedfat = function(color_combo,color_one,color_two,color_three)
|
||||
register_clay_craft_three_reducedfat_blackfirst = function(color_combo,color_one,color_two,color_three)
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 3",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"} }
|
||||
})
|
||||
end
|
||||
register_clay_craft_four_reducedfat = function(color_combo,color_one,color_two,color_three,color_four)
|
||||
register_clay_craft_three_reducedfat_whitefirst = function(color_combo,color_one,color_two,color_three)
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 4",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay" .. color_four,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 3",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifiedbricks:clay" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 3",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay" .. color_four,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifiedbricks:clay" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifiedbricks:clay" .. color_four,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"} }
|
||||
})
|
||||
end
|
||||
register_clay_craft_four_reducedfat_blackfirst = function(color_combo,color_one,color_two,color_three,color_four)
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 4",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 2",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay" .. color_combo .. " 1",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifiedbricks:clay" .. color_four,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "vessels:glass_bottle"},{ "unifieddyes:"..color_two, "vessels:glass_bottle"},{ "unifieddyes:"..color_three, "bucket:bucket_empty"},{ "unifieddyes:"..color_four, "vessels:glass_bottle"} }
|
||||
})
|
||||
end
|
||||
register_clay_craft_four_reducedfat_whitefirst = function(color_combo,color_one,color_two,color_three,color_four)
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 4",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 3",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 2",
|
||||
recipe = {
|
||||
"unifiedbricks:clay_" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifiedbricks:clay_" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifiedbricks:clay_" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifieddyes:" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:clay_" .. color_combo .. " 1",
|
||||
recipe = {
|
||||
"unifieddyes:" .. color_one,
|
||||
"unifieddyes:" .. color_two,
|
||||
"unifieddyes:" .. color_three,
|
||||
"unifiedbricks:clay_" .. color_four,
|
||||
},
|
||||
replacements = { { "unifieddyes:"..color_one, "bucket:bucket_empty"},{ "unifieddyes:"..color_two, "bucket:bucket_empty"},{ "unifieddyes:"..color_three, "vessels:glass_bottle"},{ "unifieddyes:"..color_four, "bucket:bucket_empty"} }
|
||||
})
|
||||
end
|
||||
|
||||
|
@ -406,129 +662,251 @@ register_brick_block_craft = function(color)
|
|||
}
|
||||
})
|
||||
end
|
||||
register_multicolor_craft = function(name,drop_one,drop_two,drop_three)
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "unifiedbricks:multicolor_" .. name,
|
||||
recipe = {
|
||||
"unifiedbricks:".. TYPES[3] .. drop_one,
|
||||
"unifiedbricks:".. TYPES[3] .. drop_one,
|
||||
"unifiedbricks:".. TYPES[3] .. drop_two,
|
||||
"unifiedbricks:".. TYPES[3] .. drop_three,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
--REGISTERS ALL NODES AND CRAFTITEMS
|
||||
--REGISTERS ALL NODES AND CRAFTITEMS EXCEPT MULTICOLOR BRICK BLOCKS
|
||||
for i = 1,17 do
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
for j = 1,4 do
|
||||
if SETTING_allow_types[j] == 1 then
|
||||
if i > 12 then
|
||||
formalname = FORMALHUES[i]
|
||||
name = HUES[i]
|
||||
if j == 1 then register_clay_block(name,formalname)
|
||||
elseif j == 2 then register_clay_lump(name,formalname)
|
||||
elseif j == 3 then register_brick(name,formalname)
|
||||
else register_brick_block(name,formalname) end
|
||||
else
|
||||
for k = 1,4 do
|
||||
if SETTING_allow_darkness[k] == 1 then
|
||||
for l = 1,2 do
|
||||
if SETTING_allow_saturation[l] == 1 then
|
||||
if k == 4 and l == 1 then
|
||||
else
|
||||
formalname = FORMALDARKNESS[k] .. FORMALHUES[i] .. FORMALSATURATION[l]
|
||||
name = DARKNESS[k] .. HUES[i] .. SATURATION[l]
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
for j = 1,4 do
|
||||
if SETTING_allow_types[j] == 1 then
|
||||
if i > 12 then
|
||||
formalname = FORMALHUES[i]
|
||||
name = HUES[i]
|
||||
if j == 1 then register_clay_block(name,formalname)
|
||||
elseif j == 2 then register_clay_lump(name,formalname)
|
||||
elseif j == 3 then register_brick(name,formalname)
|
||||
else register_brick_block(name,formalname) end
|
||||
else
|
||||
for k = 1,4 do
|
||||
if SETTING_allow_darkness[k] == 1 then
|
||||
if k == 4 then
|
||||
formalname = FORMALDARKNESS[k] .. FORMALHUES[i]
|
||||
name = DARKNESS[k] .. HUES[i]
|
||||
if j == 1 then register_clay_block(name,formalname)
|
||||
elseif j == 2 then register_clay_lump(name,formalname)
|
||||
elseif j == 3 then register_brick(name,formalname)
|
||||
else register_brick_block(name,formalname) end
|
||||
else
|
||||
for l = 1,2 do
|
||||
if SETTING_allow_saturation[l] == 1 then
|
||||
formalname = FORMALDARKNESS[k] .. FORMALHUES[i] .. FORMALSATURATION[l]
|
||||
name = DARKNESS[k] .. HUES[i] .. SATURATION[l]
|
||||
if j == 1 then register_clay_block(name,formalname)
|
||||
elseif j == 2 then register_clay_lump(name,formalname)
|
||||
elseif j == 3 then register_brick(name,formalname)
|
||||
else register_brick_block(name,formalname) end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--REGISTERS ALL CLAY BLOCK CRAFTING RECIPES
|
||||
if SETTING_allow_types[1] + SETTING_allow_types[2] == 2 then
|
||||
for i = 1,17 do
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
for k = 1,4 do
|
||||
if SETTING_allow_darkness[k] == 1 then
|
||||
for l = 1,2 do
|
||||
if SETTING_allow_saturation[l] == 1 then
|
||||
register_clay_block_craft(DARKNESS[k] .. HUES[i] .. SATURATION[l])
|
||||
end
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
if i > 12 then
|
||||
register_clay_block_craft(HUES[i])
|
||||
else
|
||||
for k = 1,4 do
|
||||
if SETTING_allow_darkness[k] == 1 then
|
||||
if k == 4 then
|
||||
register_clay_block_craft(DARKNESS[k] .. HUES[i])
|
||||
else
|
||||
for l = 1,2 do
|
||||
if SETTING_allow_saturation[l] == 1 then
|
||||
register_clay_block_craft(DARKNESS[k] .. HUES[i] .. SATURATION[l])
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--REGISTERS ALL CLAY LUMP CRAFTING RECIPES
|
||||
if SETTING_allow_types[2] == 1 then
|
||||
if SETTING_allow_hues[2] == 1 then register_clay_craft("orange","yellow","red") end
|
||||
if SETTING_allow_hues[4] == 1 then register_clay_craft("lime","green","yellow") end
|
||||
if SETTING_allow_hues[5] == 1 then register_clay_craft("green","blue","yellow") end
|
||||
if SETTING_allow_hues[6] == 1 then register_clay_craft("aqua","green","cyan") end
|
||||
if SETTING_allow_hues[7] == 1 then register_clay_craft("cyan","blue","green") end
|
||||
if SETTING_allow_hues[8] == 1 then register_clay_craft("skyblue","cyan","blue") end
|
||||
if SETTING_allow_hues[10] == 1 then register_clay_craft("violet","magenta","blue") end
|
||||
if SETTING_allow_hues[11] == 1 then register_clay_craft("magenta","blue","red") end
|
||||
if SETTING_allow_hues[12] == 1 then register_clay_craft("redviolet","magenta","red") end
|
||||
if SETTING_allow_saturation[2] + SETTING_allow_darkness[3] == 2 then
|
||||
if SETTING_allow_hues[2] == 1 then register_clay_craft_vessellast("orange","yellow","red") end
|
||||
if SETTING_allow_hues[4] == 1 then register_clay_craft_vessellast("lime","green","yellow") end
|
||||
if SETTING_allow_hues[5] == 1 then register_clay_craft_vessellast("green","blue","yellow") end
|
||||
if SETTING_allow_hues[6] == 1 then register_clay_craft_vessellast("aqua","green","cyan") end
|
||||
if SETTING_allow_hues[7] == 1 then register_clay_craft_vessellast("cyan","blue","green") end
|
||||
if SETTING_allow_hues[8] == 1 then register_clay_craft_vessellast("skyblue","cyan","blue") end
|
||||
if SETTING_allow_hues[10] == 1 then register_clay_craft_vessellast("violet","magenta","blue") end
|
||||
if SETTING_allow_hues[11] == 1 then register_clay_craft_vessellast("magenta","blue","red") end
|
||||
if SETTING_allow_hues[12] == 1 then register_clay_craft_vessellast("redviolet","magenta","red") end
|
||||
|
||||
if SETTING_allow_hues[14] == 1 then register_clay_craft("darkgrey","black","black","white") end
|
||||
if SETTING_allow_hues[15] == 1 then register_clay_craft("grey","white","black") end
|
||||
if SETTING_allow_hues[16] == 1 then register_clay_craft_three_reducedfat("lightgrey","white","white","black") end
|
||||
|
||||
for i = 1,12 do
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
if SETTING_allow_darkness[1] + SETTING_allow_saturation[1] == 2 then
|
||||
register_clay_craft(DARKNESS[1] .. HUES[i] .. SATURATION[1],HUES[i],"darkgrey")
|
||||
register_clay_craft_four_reducedfat(DARKNESS[1] .. HUES[i] .. SATURATION[1],"black","black","white",HUES[i]) end
|
||||
if SETTING_allow_darkness[1] + SETTING_allow_saturation[2] == 2 then
|
||||
register_clay_craft_three_reducedfat(DARKNESS[1] .. HUES[i] .. SATURATION[2],"black","black",HUES[i]) end
|
||||
if SETTING_allow_darkness[2] + SETTING_allow_saturation[1] == 2 then
|
||||
register_clay_craft(DARKNESS[2] .. HUES[i] .. SATURATION[1],HUES[i],"grey")
|
||||
register_clay_craft_three(DARKNESS[2] .. HUES[i] .. SATURATION[1],HUES[i],"black","white") end
|
||||
if SETTING_allow_darkness[2] + SETTING_allow_saturation[2] == 2 then
|
||||
register_clay_craft(DARKNESS[2] .. HUES[i] .. SATURATION[2],HUES[i],"black")
|
||||
if SETTING_allow_darkness[3] + SETTING_allow_saturation[1] == 2 then
|
||||
register_clay_craft(DARKNESS[3] .. HUES[i] .. SATURATION[1],HUES[i],"lightgrey") end
|
||||
register_clay_craft_four_reducedfat(DARKNESS[3] .. HUES[i] .. SATURATION[1],"white","white","black",HUES[i]) end
|
||||
if SETTING_allow_darkness[4] + SETTING_allow_saturation[1] == 2 then
|
||||
register_clay_craft(DARKNESS[4] .. HUES[i] .. SATURATION[1],HUES[i],"white")
|
||||
if SETTING_allow_hues[14] == 1 then register_clay_craft_three_reducedfat_blackfirst("darkgrey","black","black","white") end
|
||||
if SETTING_allow_hues[15] == 1 then register_clay_craft_bucketlast("grey","black","white") end
|
||||
if SETTING_allow_hues[16] == 1 then register_clay_craft_three_reducedfat_whitefirst("lightgrey","white","white","black") end
|
||||
|
||||
if SETTING_allow_default_coloring == 1 then
|
||||
for i = 13,17 do
|
||||
if SETTING_allow_hues[i] == 1 then register_clay_craft_default(HUES[i]) end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
for i = 1,12 do
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
if SETTING_allow_darkness[1] + SETTING_allow_saturation[1] == 2 then --dark s50
|
||||
register_clay_craft_bucketlast(DARKNESS[1] .. HUES[i] .. SATURATION[1],HUES[i],"darkgrey")
|
||||
register_clay_craft_four_reducedfat_blackfirst(DARKNESS[1] .. HUES[i] .. SATURATION[1],"black","black","white",HUES[i])
|
||||
if SETTING_allow_default_coloring == 1 then register_clay_craft_default(DARKNESS[1] .. HUES[i] .. SATURATION[1]) end end
|
||||
if SETTING_allow_darkness[1] + SETTING_allow_saturation[2] == 2 then --dark
|
||||
register_clay_craft_three_reducedfat_blackfirst(DARKNESS[1] .. HUES[i] .. SATURATION[2],"black","black",HUES[i])
|
||||
if SETTING_allow_default_coloring == 1 then register_clay_craft_default(DARKNESS[1] .. HUES[i] .. SATURATION[2]) end end
|
||||
if SETTING_allow_darkness[2] + SETTING_allow_saturation[1] == 2 then --medium s50
|
||||
register_clay_craft_bucketlast(DARKNESS[2] .. HUES[i] .. SATURATION[1],HUES[i],"grey")
|
||||
register_clay_craft_three(DARKNESS[2] .. HUES[i] .. SATURATION[1],HUES[i],"black","white")
|
||||
if SETTING_allow_default_coloring == 1 then register_clay_craft_default(DARKNESS[2] .. HUES[i] .. SATURATION[1]) end end
|
||||
if SETTING_allow_darkness[2] + SETTING_allow_saturation[2] == 2 then --medium
|
||||
register_clay_craft_vessellast(DARKNESS[2] .. HUES[i] .. SATURATION[2],HUES[i],"black")
|
||||
if SETTING_allow_default_coloring == 1 then register_clay_craft_default(DARKNESS[2] .. HUES[i] .. SATURATION[2]) end end
|
||||
if SETTING_allow_darkness[3] + SETTING_allow_saturation[1] == 2 then --bright s50
|
||||
register_clay_craft_bucketlast(DARKNESS[3] .. HUES[i] .. SATURATION[1],HUES[i],"lightgrey")
|
||||
register_clay_craft_four_reducedfat_whitefirst(DARKNESS[3] .. HUES[i] .. SATURATION[1],"white","white","black",HUES[i])
|
||||
if SETTING_allow_default_coloring == 1 then register_clay_craft_default(DARKNESS[3] .. HUES[i] .. SATURATION[1]) end end
|
||||
if SETTING_allow_darkness[3] + SETTING_allow_saturation[2] == 2 then --bright
|
||||
if SETTING_allow_default_coloring == 1 then register_clay_craft_default(DARKNESS[3] .. HUES[i] .. SATURATION[2]) end end
|
||||
if SETTING_allow_darkness[4] + SETTING_allow_saturation[2] == 2 then --light
|
||||
register_clay_craft_bucketlast(DARKNESS[4] .. HUES[i] .. SATURATION[2],HUES[i],"white")
|
||||
if SETTING_allow_default_coloring == 1 then register_clay_craft_default(DARKNESS[4] .. HUES[i] .. SATURATION[2]) end end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--REGISTERS ALL BRICK COOKING RECIPES
|
||||
if SETTING_allow_types[2] + SETTING_allow_types[3] == 2 then
|
||||
for i = 1,17 do
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
for k = 1,4 do
|
||||
if SETTING_allow_darkness[k] == 1 then
|
||||
for l = 1,2 do
|
||||
if SETTING_allow_saturation[l] == 1 then
|
||||
register_brick_cooking(DARKNESS[k] .. HUES[i] .. SATURATION[l])
|
||||
end
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
if i > 12 then
|
||||
register_brick_cooking(HUES[i])
|
||||
else
|
||||
for k = 1,4 do
|
||||
if SETTING_allow_darkness[k] == 1 then
|
||||
if k == 4 then
|
||||
register_brick_cooking(DARKNESS[k] .. HUES[i])
|
||||
else
|
||||
for l = 1,2 do
|
||||
if SETTING_allow_saturation[l] == 1 then
|
||||
register_brick_cooking(DARKNESS[k] .. HUES[i] .. SATURATION[l])
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--REGISTERS ALL BRICK BLOCK CRAFTING RECIPES
|
||||
if SETTING_allow_types[3] + SETTING_allow_types[4] == 2 then
|
||||
for i = 1,17 do
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
for k = 1,4 do
|
||||
if SETTING_allow_darkness[k] == 1 then
|
||||
for l = 1,2 do
|
||||
if SETTING_allow_saturation[l] == 1 then
|
||||
register_brick_block_craft(DARKNESS[k] .. HUES[i] .. SATURATION[l])
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
if i > 12 then
|
||||
register_brick_block_craft(HUES[i])
|
||||
else
|
||||
for k = 1,4 do
|
||||
if SETTING_allow_darkness[k] == 1 then
|
||||
if k == 4 then
|
||||
register_brick_block_craft(DARKNESS[k] .. HUES[i])
|
||||
else
|
||||
for l = 1,2 do
|
||||
if SETTING_allow_saturation[l] == 1 then
|
||||
register_brick_block_craft(DARKNESS[k] .. HUES[i] .. SATURATION[l])
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--REGISTERS ALL MULTICOLOR EVERYTHING
|
||||
if SETTING_allow_types[5] == 1 then
|
||||
for i = 1,13 do
|
||||
if SETTING_allow_hues[i] == 1 then
|
||||
if i == 13 then
|
||||
if SETTING_allow_multicolor[1] == 1 then
|
||||
name = HUES[14]
|
||||
formalname = FORMALHUES[14]
|
||||
brick_one = HUES[14]
|
||||
brick_two = HUES[15]
|
||||
brick_three = HUES[16]
|
||||
register_multicolor(name,formalname,brick_one,brick_two,brick_three)
|
||||
register_multicolor_craft(name,brick_one,brick_two,brick_three)
|
||||
end
|
||||
if SETTING_allow_multicolor[2] == 1 then
|
||||
name = HUES[15]
|
||||
formalname = FORMALHUES[15]
|
||||
brick_one = HUES[15]
|
||||
brick_two = HUES[14]
|
||||
brick_three = HUES[16]
|
||||
register_multicolor(name,formalname,brick_one,brick_two,brick_three)
|
||||
register_multicolor_craft(name,brick_one,brick_two,brick_three)
|
||||
end
|
||||
if SETTING_allow_multicolor[3] == 1 then
|
||||
name = HUES[16]
|
||||
formalname = FORMALHUES[16]
|
||||
brick_one = HUES[16]
|
||||
brick_two = HUES[14]
|
||||
brick_three = HUES[15]
|
||||
register_multicolor(name,formalname,brick_one,brick_two,brick_three)
|
||||
register_multicolor_craft(name,brick_one,brick_two,brick_three)
|
||||
end
|
||||
else
|
||||
if SETTING_allow_multicolor[1] == 1 then
|
||||
name = DARKNESS[1] .. HUES[i]
|
||||
formalname = FORMALDARKNESS[1] .. FORMALHUES[i]
|
||||
brick_one = DARKNESS[1] .. HUES[i]
|
||||
brick_two = DARKNESS[2] .. HUES[i]
|
||||
brick_three = DARKNESS[2] .. HUES[i] .. SATURATION[1]
|
||||
register_multicolor(name,formalname,brick_one,brick_two,brick_three)
|
||||
register_multicolor_craft(name,brick_one,brick_two,brick_three)
|
||||
end
|
||||
if SETTING_allow_multicolor[2] == 1 then
|
||||
name = DARKNESS[2] .. HUES[i]
|
||||
formalname = FORMALDARKNESS[2] .. FORMALHUES[i]
|
||||
brick_one = DARKNESS[2] .. HUES[i]
|
||||
brick_two = DARKNESS[1] .. HUES[i]
|
||||
brick_three = DARKNESS[3] .. HUES[i] .. SATURATION[1]
|
||||
register_multicolor(name,formalname,brick_one,brick_two,brick_three)
|
||||
register_multicolor_craft(name,brick_one,brick_two,brick_three)
|
||||
end
|
||||
if SETTING_allow_multicolor[3] == 1 then
|
||||
name = DARKNESS[4] .. HUES[i]
|
||||
formalname = FORMALDARKNESS[4] .. FORMALHUES[i]
|
||||
brick_one = DARKNESS[3] .. HUES[i]
|
||||
brick_two = DARKNESS[4] .. HUES[i]
|
||||
brick_three = DARKNESS[2] .. HUES[i] .. SATURATION[1]
|
||||
register_multicolor(name,formalname,brick_one,brick_two,brick_three)
|
||||
register_multicolor_craft(name,brick_one,brick_two,brick_three)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 370 B After Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 371 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 371 B After Width: | Height: | Size: 371 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 404 B After Width: | Height: | Size: 404 B |
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 414 B After Width: | Height: | Size: 414 B |