Add sliding door crafts
111
my_sliding_doors/crafts.lua
Normal file
@ -0,0 +1,111 @@
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel1 2",
|
||||
recipe = {
|
||||
{"default:stick", "default:paper"},
|
||||
{"default:paper", "default:paper"},
|
||||
{"default:paper", "default:stick"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel1 2",
|
||||
recipe = {
|
||||
{"default:paper", "default:stick"},
|
||||
{"default:paper", "default:paper"},
|
||||
{"default:stick", "default:paper"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel1 2",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:door1a"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel1",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel_corner_1"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel2",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel1", "flowers:rose"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel2 2",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:door2a"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel2",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel_corner_2"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel3 2",
|
||||
recipe = {
|
||||
{"default:stick", "default:stick"},
|
||||
{"default:paper", "default:paper"},
|
||||
{"default:stick", "default:stick"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel3 2",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:door3a"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel3",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel_corner_3"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:door1a",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel1", "my_sliding_doors:jpanel1"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:door2a",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel2", "my_sliding_doors:jpanel2"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:door2a",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:door1a", "flowers:rose", "flowers:rose"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:door3a",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel3", "my_sliding_doors:jpanel3"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel_corner_1",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel1"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel_corner_2",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel2"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "my_sliding_doors:jpanel_corner_3",
|
||||
type = "shapeless",
|
||||
recipe = {"my_sliding_doors:jpanel3"}
|
||||
})
|
||||
|
@ -1,3 +1,4 @@
|
||||
|
||||
dofile(minetest.get_modpath("my_sliding_doors").."/jdoors1.lua")
|
||||
dofile(minetest.get_modpath("my_sliding_doors").."/jdoors2.lua")
|
||||
dofile(minetest.get_modpath("my_sliding_doors").."/crafts.lua")
|
||||
|
@ -1 +1,2 @@
|
||||
name = my_sliding_doors
|
||||
depends = default, flowers
|
||||
|
Before Width: | Height: | Size: 210 KiB After Width: | Height: | Size: 210 KiB |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 711 B |
Before Width: | Height: | Size: 681 B After Width: | Height: | Size: 540 B |
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 516 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 711 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 833 B |
Before Width: | Height: | Size: 730 B After Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 758 B After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 711 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 607 B |
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 798 B After Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 544 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 783 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 850 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 630 B |