2
0
forked from n0m/pkarcs

recipes changed and gitignore:

- recipes for iron doors have been changed;
- tech_additions has been added to depends;
- add gitignore file.
This commit is contained in:
Aleksandr Avdeev 2024-08-14 10:13:34 +03:00
parent 0aa4af8c52
commit e6114dce5e
7 changed files with 18 additions and 56 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/.idea/

View File

@ -1,19 +0,0 @@
# textdomain: pkarcs
Arc=арка
Outer Arc=внешняя арка
Inner Arc=внутренняя арка
Arch Door (left)=арочная дверь (левая) малая
Arch Door (right)=арочная дверь (правая) малая
Arch Door3 (left)=арочная дверь (левая) большая
Arch Door3 (right)=арочная дверь (правая) большая
Acacia Wood=Из акации
Aspen Wood=Из осины
Junglewood=Из тропического дерева
Pine Wood=Из сосны
Wood=Деревянная
Bronze=Бронзовая
Copper=Медная
Iron=Железная
Steel=Стальная
Tin=Из олова
Bar=Барная

View File

@ -1,20 +0,0 @@
# textdomain: pkarcs
Arc=
Outer Arc=
Inner Arc=
Arch Door (left) =
Arch Door (right) =
Arch Door3 (left) =
Arch Door3 (right) =
Acacia Wood =
Aspen Wood =
Junglewood=
Pine Wood=
Wood=
Bronze=
Copper=
Iron=
Steel=
Tin=
Bar=

View File

@ -83,7 +83,7 @@ pkarcs_doors.door = {
default.node_sound_metal_defaults(), default.node_sound_metal_defaults(),
"doors_steel_door", "doors_steel_door",
{name = "pkarcs_doors_iron.png", backface_culling = true}, {name = "pkarcs_doors_iron.png", backface_culling = true},
"default:iron_lump" "tech_additions:iron_block"
}, },
{ {
@ -177,7 +177,7 @@ for _, row in ipairs(pkarcs_doors.door) do
pkarcs_doors.open(pos, node, name, "L", door_sound) pkarcs_doors.open(pos, node, name, "L", door_sound)
end, end,
} }
if minetest.get_modpath("mesecons") then if minetest.get_modpath("mesecons") then
Ldoor_def.mesecons = { Ldoor_def.mesecons = {
effector = { effector = {
@ -222,7 +222,7 @@ for _, row in ipairs(pkarcs_doors.door) do
pkarcs_doors.close(pos, node, name, "L", door_sound) pkarcs_doors.close(pos, node, name, "L", door_sound)
end, end,
} }
if minetest.get_modpath("mesecons") then if minetest.get_modpath("mesecons") then
Ldoor_open_def.mesecons = { Ldoor_open_def.mesecons = {
effector = { effector = {
@ -233,7 +233,7 @@ for _, row in ipairs(pkarcs_doors.door) do
} }
} }
end end
minetest.register_node(":pkarcs_doors:" ..name.. "_Ldoor_open", Ldoor_open_def) minetest.register_node(":pkarcs_doors:" ..name.. "_Ldoor_open", Ldoor_open_def)
@ -279,7 +279,7 @@ for _, row in ipairs(pkarcs_doors.door) do
} }
} }
end end
minetest.register_node(":pkarcs_doors:" ..name.. "_Rdoor", Rdoor_def) minetest.register_node(":pkarcs_doors:" ..name.. "_Rdoor", Rdoor_def)
@ -313,7 +313,7 @@ for _, row in ipairs(pkarcs_doors.door) do
pkarcs_doors.close(pos, node, name, "R", door_sound) pkarcs_doors.close(pos, node, name, "R", door_sound)
end, end,
} }
if minetest.get_modpath("mesecons") then if minetest.get_modpath("mesecons") then
Rdoor_open_def.mesecons = { Rdoor_open_def.mesecons = {
effector = { effector = {
@ -324,7 +324,7 @@ for _, row in ipairs(pkarcs_doors.door) do
} }
} }
end end
minetest.register_node(":pkarcs_doors:" ..name.. "_Rdoor_open", Rdoor_open_def) minetest.register_node(":pkarcs_doors:" ..name.. "_Rdoor_open", Rdoor_open_def)

View File

@ -1,4 +1,4 @@
name = pkarcs_doors name = pkarcs_doors
description = Adds arched doors for the Simple_Arcs [pkarcs] mod for minetest game. description = Adds arched doors for the Simple_Arcs [pkarcs] mod for minetest game.
depends = default, doors, xpanes depends = default, doors, xpanes, tech_additions
optional_depends = mesecons optional_depends = mesecons

View File

@ -83,7 +83,7 @@ pkarcs_doors3.door = {
default.node_sound_metal_defaults(), default.node_sound_metal_defaults(),
"doors_steel_door", "doors_steel_door",
{name = "pkarcs_doors3_iron.png", backface_culling = true}, {name = "pkarcs_doors3_iron.png", backface_culling = true},
"default:iron_lump" "tech_additions:iron_block"
}, },
{ {
@ -178,7 +178,7 @@ for _, row in ipairs(pkarcs_doors3.door) do
pkarcs_doors3.open(pos, node, name, "L", door_sound) pkarcs_doors3.open(pos, node, name, "L", door_sound)
end, end,
} }
if minetest.get_modpath("mesecons") then if minetest.get_modpath("mesecons") then
Ldoor_def.mesecons = { Ldoor_def.mesecons = {
effector = { effector = {
@ -189,7 +189,7 @@ for _, row in ipairs(pkarcs_doors3.door) do
} }
} }
end end
minetest.register_node(":pkarcs_doors3:" ..name.. "_Ldoor", Ldoor_def) minetest.register_node(":pkarcs_doors3:" ..name.. "_Ldoor", Ldoor_def)
local Ldoor_open_def = { local Ldoor_open_def = {
@ -222,7 +222,7 @@ for _, row in ipairs(pkarcs_doors3.door) do
pkarcs_doors3.close(pos, node, name, "L", door_sound) pkarcs_doors3.close(pos, node, name, "L", door_sound)
end, end,
} }
if minetest.get_modpath("mesecons") then if minetest.get_modpath("mesecons") then
Ldoor_open_def.mesecons = { Ldoor_open_def.mesecons = {
effector = { effector = {
@ -233,7 +233,7 @@ for _, row in ipairs(pkarcs_doors3.door) do
} }
} }
end end
minetest.register_node(":pkarcs_doors3:" ..name.. "_Ldoor_open", Ldoor_open_def) minetest.register_node(":pkarcs_doors3:" ..name.. "_Ldoor_open", Ldoor_open_def)
local Rdoor_def = { local Rdoor_def = {
@ -278,7 +278,7 @@ for _, row in ipairs(pkarcs_doors3.door) do
} }
} }
end end
minetest.register_node(":pkarcs_doors3:" ..name.. "_Rdoor", Rdoor_def) minetest.register_node(":pkarcs_doors3:" ..name.. "_Rdoor", Rdoor_def)
@ -312,7 +312,7 @@ for _, row in ipairs(pkarcs_doors3.door) do
pkarcs_doors3.close(pos, node, name, "R", door_sound) pkarcs_doors3.close(pos, node, name, "R", door_sound)
end, end,
} }
if minetest.get_modpath("mesecons") then if minetest.get_modpath("mesecons") then
Rdoor_open_def.mesecons = { Rdoor_open_def.mesecons = {
effector = { effector = {
@ -323,7 +323,7 @@ for _, row in ipairs(pkarcs_doors3.door) do
} }
} }
end end
minetest.register_node(":pkarcs_doors3:" ..name.. "_Rdoor_open", Rdoor_open_def) minetest.register_node(":pkarcs_doors3:" ..name.. "_Rdoor_open", Rdoor_open_def)

View File

@ -1,3 +1,3 @@
name = pkarcs_doors3 name = pkarcs_doors3
depends = default, doors, xpanes depends = default, doors, xpanes, tech_additions
optional_depends = mesecons optional_depends = mesecons