Add new wooden fences

master
Wuzzy 2021-07-01 22:09:42 +02:00
parent a8ce212523
commit ad4a868878
3 changed files with 46 additions and 16 deletions

View File

@ -28,6 +28,7 @@ local group_stereotypes = {
locked_chest = "hades_chests:chest_locked",
stone = "hades_core:cobble",
fence_wood = "hades_fences:fence_wood",
fence_colwood = "hades_fences:fence_wood_white",
steel_door = "doors:door_steel",
claybricks = "hades_core:brick",
table = "hades_furniture:table",
@ -56,6 +57,7 @@ local group_names = {
locked_chest = S("Any locked chest"),
stone = S("Any stone"),
fence_wood = S("Any wooden fence"),
fence_colwood = S("Any canvas wood fence"),
steel_door = S("Any steel door"),
claybricks = S("Any clay bricks"),
table = S("Any table"),

View File

@ -29,6 +29,22 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'hades_fences:fence_cream_wood 4',
recipe = {
{'hades_trees:cream_wood', 'group:stick', 'hades_trees:cream_wood'},
{'hades_trees:cream_wood', 'group:stick', 'hades_trees:cream_wood'},
}
})
minetest.register_craft({
output = 'hades_fences:fence_lush_wood 4',
recipe = {
{'hades_trees:lush_wood', 'group:stick', 'hades_trees:lush_wood'},
{'hades_trees:lush_wood', 'group:stick', 'hades_trees:lush_wood'},
}
})
minetest.register_craft({
output = 'hades_fences:fence_rusty 4',
recipe = {
@ -37,97 +53,105 @@ minetest.register_craft({
}
})
-- Colored fences
-- Canvas wood fences
minetest.register_craft({
output = 'hades_fences:fence_wood_uncolored',
recipe = {
{'hades_trees:colwood_uncolored', 'group:stick', 'hades_trees:colwood_uncolored'},
{'hades_trees:colwood_uncolored', 'group:stick', 'hades_trees:colwood_uncolored'},
}
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_black',
recipe = {'group:fence_wood', 'dye:black'},
recipe = {'group:fence_colwood', 'dye:black'},
})
minetest.register_craft({
type = "shapeless",
type = "shapeless",
output = 'hades_fences:fence_wood_blue',
recipe = {'group:fence_wood', 'dye:blue'},
recipe = {'group:fence_colwood', 'dye:blue'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_brown',
recipe = {'group:fence_wood', 'dye:brown'},
recipe = {'group:fence_colwood', 'dye:brown'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_cyan',
recipe = {'group:fence_wood', 'dye:cyan'},
recipe = {'group:fence_colwood', 'dye:cyan'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_dark_green',
recipe = {'group:fence_wood', 'dye:dark_green'},
recipe = {'group:fence_colwood', 'dye:dark_green'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_dark_grey',
recipe = {'group:fence_wood', 'dye:dark_grey'},
recipe = {'group:fence_colwood', 'dye:dark_grey'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_green',
recipe = {'group:fence_wood', 'dye:green'},
recipe = {'group:fence_colwood', 'dye:green'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_grey',
recipe = {'group:fence_wood', 'dye:grey'},
recipe = {'group:fence_colwood', 'dye:grey'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_magenta',
recipe = {'group:fence_wood', 'dye:magenta'},
recipe = {'group:fence_colwood', 'dye:magenta'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_orange',
recipe = {'group:fence_wood', 'dye:orange'},
recipe = {'group:fence_colwood', 'dye:orange'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_pink',
recipe = {'group:fence_wood', 'dye:pink'},
recipe = {'group:fence_colwood', 'dye:pink'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_red',
recipe = {'group:fence_wood', 'dye:red'},
recipe = {'group:fence_colwood', 'dye:red'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_violet',
recipe = {'group:fence_wood', 'dye:violet'},
recipe = {'group:fence_colwood', 'dye:violet'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_white',
recipe = {'group:fence_wood', 'dye:white'},
recipe = {'group:fence_colwood', 'dye:white'},
})
minetest.register_craft({
type = "shapeless",
output = 'hades_fences:fence_wood_yellow',
recipe = {'group:fence_wood', 'dye:yellow'},
recipe = {'group:fence_colwood', 'dye:yellow'},
})
minetest.register_craft({

View File

@ -70,6 +70,10 @@ local fences = {
{ "pale_wood", S("Pale Wood Fence"), "hades_trees_pale_wood.png" },
{ "birch_wood", S("Birch Wood Fence"), "default_birchwood.png" },
{ "jungle_wood", S("Jungle Wood Fence"), "default_junglewood.png" },
{ "cream_wood", S("Cream Wood Fence"), "hades_trees_cream_wood.png" },
{ "lush_wood", S("Lush Wood Fence"), "hades_trees_lush_wood.png" },
{ "wood_uncolored", S("Uncolored Canvas Wood Fence"), "hades_trees_colwood_uncolored.png" },
{ "wood_black", S("Black Canvas Wood Fence"), "hades_trees_colwood_black.png" },
{ "wood_blue", S("Blue Canvas Wood Fence"), "hades_trees_colwood_blue.png" },
{ "wood_cyan", S("Cyan Canvas Wood Fence"), "hades_trees_colwood_cyan.png" },