Move 'my_castle_doors' mod from 'buildings' modpack to original

'mydoors'.
This commit is contained in:
AntumDeluge
2016-08-31 14:22:04 -07:00
parent d603dbd071
commit b609b5428a
63 changed files with 1 additions and 1 deletions

View File

@@ -1,4 +0,0 @@
default
mdoors
coloredwood
craft_guide?

View File

@@ -1,4 +0,0 @@
dofile(minetest.get_modpath("my_castle_doors").."/locked.lua")
dofile(minetest.get_modpath("my_castle_doors").."/unlocked.lua")

View File

@@ -1,145 +0,0 @@
local cdoor_list = { --Number , Description , Inven Image , Image
{ "1" , "Castle Door 1" , "door1", "door1"},
{ "2" , "Castle Door 2" , "door2" , "door2"},
-- { "3", "Castle Door 3" , "door3" , "door3"},
-- { "4", "Castle Door 4" , "door4" , "door4"},
-- { "5", "Castle Door 5" , "door5" , "door5"},
{ "6", "Castle Door 6" , "door6" , "door6"},
{ "7", "Castle Door 7" , "door7" , "door7"},
{ "8", "Castle Door 8" , "door8" , "door8"},
-- { "9", "Castle Door 9" , "door9" , "door9"},
-- { "10", "Castle Door 10" , "door10" , "door10"},
-- { "11", "Castle Door 11" , "door11" , "door11"},
-- { "12", "Castle Door 12" , "door12" , "door12"},
-- { "13", "Castle Door 13" , "door13" , "door13"},
}
for i in ipairs(cdoor_list) do
local num = cdoor_list[i][1]
local desc = cdoor_list[i][2]
local inv = cdoor_list[i][3]
local img = cdoor_list[i][4]
local lock = cdoor_list[i][5]
mdoors.register_door("my_castle_doors:door"..num.."_locked", {
description = desc.." Locked",
inventory_image = "mydoors_"..inv.."_inv.png",
groups = {choppy=2,cracky=2,door=1},
tiles_bottom = {"mydoors_"..img.."_bottom.png", "mydoors_"..img.."_edge.png"},
tiles_top = {"mydoors_"..img.."_top.png", "mydoors_"..img.."_edge.png"},
only_placer_can_open = true,
})
end
-- Crafts
minetest.register_craft({
output = "my_castle_doors:door1_locked 1",
recipe = {
{"default:steel_ingot", "default:glass", ""},
{"coloredwood:wood_gray_dark", "coloredwood:wood_gray_dark", "default:steel_ingot"},
{"coloredwood:wood_gray_dark", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door2_locked 1",
recipe = {
{"default:steel_ingot", "default:glass", ""},
{"coloredwood:wood_red", "coloredwood:wood_red", "default:steel_ingot"},
{"coloredwood:wood_red", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door3_locked 1",
recipe = {
{"coloredwood:wood_yellow", "default:steel_ingot", ""},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", "default:steel_ingot"},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door4_locked 1",
recipe = {
{"default:junglewood", "default:steel_ingot", ""},
{"default:junglewood", "default:junglewood", "default:steel_ingot"},
{"default:junglewood", "default:junglewood", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door5_locked 1",
recipe = {
{"coloredwood:wood_yellow", "default:steel_ingot", ""},
{"coloredwood:wood_white", "coloredwood:wood_yellow", "default:steel_ingot"},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door6_locked 1",
recipe = {
{"coloredwood:wood_gray", "coloredwood:wood_gray", ""},
{"coloredwood:wood_gray", "default:steel_ingot", "default:steel_ingot"},
{"coloredwood:wood_gray", "coloredwood:wood_gray", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door7_locked 1",
recipe = {
{"coloredwood:wood_red", "coloredwood:wood_red", ""},
{"coloredwood:wood_red", "default:steel_ingot", "default:steel_ingot"},
{"coloredwood:wood_red", "coloredwood:wood_red", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door8_locked 1",
recipe = {
{"default:steel_ingot", "default:steel_ingot", ""},
{"coloredwood:wood_gray_dark", "coloredwood:wood_gray_dark", "default:steel_ingot"},
{"default:steel_ingot", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door9_locked 1",
recipe = {
{"default:steel_ingot", "coloredwood:wood_yellow", ""},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", "default:steel_ingot"},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door10_locked 1",
recipe = {
{"coloredwood:wood_red", "default:steel_ingot", ""},
{"coloredwood:wood_red", "coloredwood:wood_red", "default:steel_ingot"},
{"coloredwood:wood_red", "coloredwood:wood_red", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door11_locked 1",
recipe = {
{"default:junglewood", "default:steel_ingot", ""},
{"default:junglewood", "default:junglewood", "default:steel_ingot"},
{"default:junglewood", "default:junglewood", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door12_locked 1",
recipe = {
{"default:junglewood", "default:steel_ingot", ""},
{"coloredwood:wood_gray", "default:junglewood", "default:steel_ingot"},
{"default:junglewood", "default:junglewood", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door13_locked 1",
recipe = {
{"default:junglewood", "default:junglewood", "default:steel_ingot"},
{"default:junglewood", "default:junglewood", "default:steel_ingot"},
{"default:junglewood", "default:junglewood", "default:steel_ingot"}
}
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 998 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 429 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 684 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 895 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 510 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 630 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

View File

@@ -1,144 +0,0 @@
local cdoor_list = { --Number , Description , Inven Image , Image
-- { "1" , "Castle Door 1" , "door1", "door1"},
-- { "2" , "Castle Door 2" , "door2" , "door2"},
{ "3", "Castle Door 3" , "door3" , "door3"},
{ "4", "Castle Door 4" , "door4" , "door4"},
{ "5", "Castle Door 5" , "door5" , "door5"},
-- { "6", "Castle Door 6" , "door6" , "door6"},
-- { "7", "Castle Door 7" , "door7" , "door7"},
-- { "8", "Castle Door 8" , "door8" , "door8"},
{ "9", "Castle Door 9" , "door9" , "door9"},
{ "10", "Castle Door 10" , "door10" , "door10"},
{ "11", "Castle Door 11" , "door11" , "door11"},
{ "12", "Castle Door 12" , "door12" , "door12"},
{ "13", "Castle Door 13" , "door13" , "door13"},
}
for i in ipairs(cdoor_list) do
local num = cdoor_list[i][1]
local desc = cdoor_list[i][2]
local inv = cdoor_list[i][3]
local img = cdoor_list[i][4]
local lock = cdoor_list[i][5]
mdoors.register_door("my_castle_doors:door"..num, {
description = desc,
inventory_image = "mydoors_"..inv.."_inv.png",
groups = {choppy=2,cracky=2,door=1},
tiles_bottom = {"mydoors_"..img.."_bottom.png", "mydoors_"..img.."_edge.png"},
tiles_top = {"mydoors_"..img.."_top.png", "mydoors_"..img.."_edge.png"},
only_placer_can_open = false,
})
end
-- Crafts
minetest.register_craft({
output = "my_castle_doors:door1 1",
recipe = {
{"default:steel_ingot", "default:glass", ""},
{"coloredwood:wood_gray_dark", "coloredwood:wood_gray_dark", ""},
{"coloredwood:wood_gray_dark", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door2 1",
recipe = {
{"default:steel_ingot", "default:glass", ""},
{"coloredwood:wood_red", "coloredwood:wood_red", ""},
{"coloredwood:wood_red", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door3 1",
recipe = {
{"coloredwood:wood_yellow", "default:steel_ingot", ""},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", ""},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door4 1",
recipe = {
{"default:junglewood", "default:steel_ingot", ""},
{"default:junglewood", "default:junglewood", ""},
{"default:junglewood", "default:junglewood", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door5 1",
recipe = {
{"coloredwood:wood_yellow", "default:steel_ingot", ""},
{"coloredwood:wood_white", "coloredwood:wood_yellow", ""},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door6 1",
recipe = {
{"coloredwood:wood_gray", "coloredwood:wood_gray", ""},
{"coloredwood:wood_gray", "default:steel_ingot", ""},
{"coloredwood:wood_gray", "coloredwood:wood_gray", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door7 1",
recipe = {
{"coloredwood:wood_red", "coloredwood:wood_red", ""},
{"coloredwood:wood_red", "default:steel_ingot", ""},
{"coloredwood:wood_red", "coloredwood:wood_red", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door8 1",
recipe = {
{"default:steel_ingot", "default:steel_ingot", ""},
{"coloredwood:wood_gray_dark", "coloredwood:wood_gray_dark", ""},
{"default:steel_ingot", "default:steel_ingot", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door9 1",
recipe = {
{"default:steel_ingot", "coloredwood:wood_yellow", ""},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", ""},
{"coloredwood:wood_yellow", "coloredwood:wood_yellow", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door10 1",
recipe = {
{"coloredwood:wood_red", "default:steel_ingot", ""},
{"coloredwood:wood_red", "coloredwood:wood_red", ""},
{"coloredwood:wood_red", "coloredwood:wood_red", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door11 1",
recipe = {
{"default:junglewood", "default:steel_ingot", ""},
{"default:junglewood", "default:junglewood", ""},
{"default:junglewood", "default:junglewood", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door12 1",
recipe = {
{"default:junglewood", "default:steel_ingot", ""},
{"coloredwood:wood_gray", "default:junglewood", ""},
{"default:junglewood", "default:junglewood", ""}
}
})
minetest.register_craft({
output = "my_castle_doors:door13 1",
recipe = {
{"default:junglewood", "default:junglewood", "default:steel_ingot"},
{"default:junglewood", "default:junglewood", ""},
{"default:junglewood", "default:junglewood", "default:steel_ingot"}
}
})