From e6114dce5e3e30af5c92c1ff1ec051e8427dfb0a Mon Sep 17 00:00:00 2001 From: Aleksandr Avdeev Date: Wed, 14 Aug 2024 10:13:34 +0300 Subject: [PATCH] recipes changed and gitignore: - recipes for iron doors have been changed; - tech_additions has been added to depends; - add gitignore file. --- .gitignore | 1 + locale_tmp/pkarcs.ru.tr | 19 ------------------- locale_tmp/template.txt | 20 -------------------- pkarcs_doors/init.lua | 14 +++++++------- pkarcs_doors/mod.conf | 2 +- pkarcs_doors3/init.lua | 16 ++++++++-------- pkarcs_doors3/mod.conf | 2 +- 7 files changed, 18 insertions(+), 56 deletions(-) create mode 100644 .gitignore delete mode 100644 locale_tmp/pkarcs.ru.tr delete mode 100644 locale_tmp/template.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..85e7c1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea/ diff --git a/locale_tmp/pkarcs.ru.tr b/locale_tmp/pkarcs.ru.tr deleted file mode 100644 index e495d7d..0000000 --- a/locale_tmp/pkarcs.ru.tr +++ /dev/null @@ -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=Барная diff --git a/locale_tmp/template.txt b/locale_tmp/template.txt deleted file mode 100644 index 840667b..0000000 --- a/locale_tmp/template.txt +++ /dev/null @@ -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= - diff --git a/pkarcs_doors/init.lua b/pkarcs_doors/init.lua index 5c1bad7..5b0da0f 100644 --- a/pkarcs_doors/init.lua +++ b/pkarcs_doors/init.lua @@ -83,7 +83,7 @@ pkarcs_doors.door = { default.node_sound_metal_defaults(), "doors_steel_door", {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) end, } - + if minetest.get_modpath("mesecons") then Ldoor_def.mesecons = { effector = { @@ -222,7 +222,7 @@ for _, row in ipairs(pkarcs_doors.door) do pkarcs_doors.close(pos, node, name, "L", door_sound) end, } - + if minetest.get_modpath("mesecons") then Ldoor_open_def.mesecons = { effector = { @@ -233,7 +233,7 @@ for _, row in ipairs(pkarcs_doors.door) do } } end - + minetest.register_node(":pkarcs_doors:" ..name.. "_Ldoor_open", Ldoor_open_def) @@ -279,7 +279,7 @@ for _, row in ipairs(pkarcs_doors.door) do } } end - + 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) end, } - + if minetest.get_modpath("mesecons") then Rdoor_open_def.mesecons = { effector = { @@ -324,7 +324,7 @@ for _, row in ipairs(pkarcs_doors.door) do } } end - + minetest.register_node(":pkarcs_doors:" ..name.. "_Rdoor_open", Rdoor_open_def) diff --git a/pkarcs_doors/mod.conf b/pkarcs_doors/mod.conf index 3cf9196..e4f5a54 100644 --- a/pkarcs_doors/mod.conf +++ b/pkarcs_doors/mod.conf @@ -1,4 +1,4 @@ name = pkarcs_doors 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 diff --git a/pkarcs_doors3/init.lua b/pkarcs_doors3/init.lua index 16de5a3..a7d3aa1 100644 --- a/pkarcs_doors3/init.lua +++ b/pkarcs_doors3/init.lua @@ -83,7 +83,7 @@ pkarcs_doors3.door = { default.node_sound_metal_defaults(), "doors_steel_door", {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) end, } - + if minetest.get_modpath("mesecons") then Ldoor_def.mesecons = { effector = { @@ -189,7 +189,7 @@ for _, row in ipairs(pkarcs_doors3.door) do } } end - + minetest.register_node(":pkarcs_doors3:" ..name.. "_Ldoor", Ldoor_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) end, } - + if minetest.get_modpath("mesecons") then Ldoor_open_def.mesecons = { effector = { @@ -233,7 +233,7 @@ for _, row in ipairs(pkarcs_doors3.door) do } } end - + minetest.register_node(":pkarcs_doors3:" ..name.. "_Ldoor_open", Ldoor_open_def) local Rdoor_def = { @@ -278,7 +278,7 @@ for _, row in ipairs(pkarcs_doors3.door) do } } end - + 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) end, } - + if minetest.get_modpath("mesecons") then Rdoor_open_def.mesecons = { effector = { @@ -323,7 +323,7 @@ for _, row in ipairs(pkarcs_doors3.door) do } } end - + minetest.register_node(":pkarcs_doors3:" ..name.. "_Rdoor_open", Rdoor_open_def) diff --git a/pkarcs_doors3/mod.conf b/pkarcs_doors3/mod.conf index 374c525..033e949 100644 --- a/pkarcs_doors3/mod.conf +++ b/pkarcs_doors3/mod.conf @@ -1,3 +1,3 @@ name = pkarcs_doors3 -depends = default, doors, xpanes +depends = default, doors, xpanes, tech_additions optional_depends = mesecons