From 368ce267fcef27d06a2746c96741eb0b71bd6592 Mon Sep 17 00:00:00 2001 From: ConfidentOwl Date: Fri, 12 May 2023 23:27:57 +0300 Subject: [PATCH] Litel fix --- electro_generator/small_turbins.lua | 6 +++--- electro_wire/electro_wire.lua | 2 +- farming/crops.lua | 15 ++++++++++++--- mashins/electro_machins.lua | 2 +- multiblocks/wood_pyrolysis.lua | 6 +++--- ore/node_register.lua | 2 +- 6 files changed, 21 insertions(+), 12 deletions(-) diff --git a/electro_generator/small_turbins.lua b/electro_generator/small_turbins.lua index a32ba6a..c302fa5 100644 --- a/electro_generator/small_turbins.lua +++ b/electro_generator/small_turbins.lua @@ -103,9 +103,9 @@ for i = 1, #small_turbins_conf, 1 do type = "shaped", output = "owl_tech:"..small_turbins_conf[i][1].."turbin", recipe = { - {"owl_tech:"..small_turbins_conf[i][1].."_plate",small_turbins_conf[i][4],"owl_tech:"..small_turbins_conf[i][1].."_plate"}, - {small_turbins_conf[i][4],"owl_tech:"..small_turbins_conf[i][1].."_frames",small_turbins_conf[i][4]}, - {"owl_tech:"..small_turbins_conf[i][1].."_plate",small_turbins_conf[i][5],"owl_tech:"..small_turbins_conf[i][1].."_plate"} + {"owl_tech:"..small_turbins_conf[i][3].."_plate",small_turbins_conf[i][4],"owl_tech:"..small_turbins_conf[i][3].."_plate"}, + {small_turbins_conf[i][4],"owl_tech:"..small_turbins_conf[i][3].."_frames",small_turbins_conf[i][4]}, + {"owl_tech:"..small_turbins_conf[i][3].."_plate",small_turbins_conf[i][5],"owl_tech:"..small_turbins_conf[i][3].."_plate"} } }) end diff --git a/electro_wire/electro_wire.lua b/electro_wire/electro_wire.lua index cc595c2..bf36205 100644 --- a/electro_wire/electro_wire.lua +++ b/electro_wire/electro_wire.lua @@ -55,7 +55,7 @@ minetest.register_craft({ type = "shaped", output = "owl_tech:copper_electro_wire 4", recipe = { - {"owl_tech:copper_plate","mcl_core:ruber_dust","owl_tech:copper_plate"}, + {"owl_tech:copper_plate","owl_tech:ruber_dust","owl_tech:copper_plate"}, {"","",""}, {"","",""} } diff --git a/farming/crops.lua b/farming/crops.lua index 29b11ed..85e5b39 100644 --- a/farming/crops.lua +++ b/farming/crops.lua @@ -17,7 +17,7 @@ end minetest.register_node("owl_tech:crops",{ description = "Crops", _tt_help = S("Crops for grow crops"), - _doc_items_longdesc = S("Fence gates can be opened or closed and can't be jumped over. Fences will connect nicely to fence gates."), + _doc_items_longdesc = S(""), _doc_items_usagehelp = S("Right-click the fcrops to put a seed and begin grow"), tiles = {"mcl_core_log_big_oak.png"}, paramtype = "light", @@ -25,7 +25,7 @@ minetest.register_node("owl_tech:crops",{ stack_max = 64, sunlight_propagates = true, walkable = true, - groups = {owl_tech_fluid_pipe=1}, + groups = {handy = 1, axey = 1, choppy = 1}, drawtype = "nodebox", node_box = { type = "fixed", @@ -82,7 +82,6 @@ minetest.register_node("owl_tech:crops",{ get_two_seed_around = get_two_seed_around + 1 end end - minetest.chat_send_all(get_two_seed_around) if get_two_seed_around==2 then meta:set_int("state",1) end @@ -130,4 +129,14 @@ minetest.register_node("owl_tech:crops",{ end timer:start(0.2) end +}) + +minetest.register_craft({ + type = "shaped", + output = "owl_tech:crops", + recipe = { + {"mcl_core:stick","","mcl_core:stick"}, + {"mcl_core:stick","","mcl_core:stick"}, + {"","",""}, + } }) \ No newline at end of file diff --git a/mashins/electro_machins.lua b/mashins/electro_machins.lua index 1d831cf..9f76008 100644 --- a/mashins/electro_machins.lua +++ b/mashins/electro_machins.lua @@ -691,7 +691,7 @@ for i = 1, #table_all_machines, 1 do --Crafte minetest.register_craft({ type = "shaped", - output ="owl_tech:bronze_forge_hammer", + output ="owl_tech:"..table_all_machines[i][2].."_forge_hammer", recipe = { {"owl_tech:"..table_all_machines[i][6].."_plate","owl_tech:circuit_tire_"..i,"owl_tech:"..table_all_machines[i][6].."_plate"}, {table_all_machines[i][8][4],"owl_tech:"..table_all_machines[i][6].."_frames","owl_tech:circuit_tire_"..i}, diff --git a/multiblocks/wood_pyrolysis.lua b/multiblocks/wood_pyrolysis.lua index d8a5185..86401b4 100644 --- a/multiblocks/wood_pyrolysis.lua +++ b/multiblocks/wood_pyrolysis.lua @@ -806,8 +806,8 @@ minetest.register_craft({ type = "shaped", output = "owl_tech:wood_pyrolis", recipe = { - {"mcl_furnaces:furnace","owl_tech:bronze_plate","mcl_furnaces:furnace"}, - {"owl_tech:bronze_plate","mcl_furnaces:furnace","owl_tech:bronze_plate"}, - {"owl_tech:bronze_plate","owl_tech:bronze_plate","owl_tech:bronze_plate"} + {"owl_tech:circuit_tire_1","owl_tech:steel_plate","owl_tech:circuit_tire_1"}, + {"owl_tech:steel_plate","owl_tech:circuit_tire_1","owl_tech:steel_plate"}, + {"owl_tech:steel_plate","owl_tech:steel_plate","owl_tech:steel_plate"} } }) \ No newline at end of file diff --git a/ore/node_register.lua b/ore/node_register.lua index ded9288..37a4478 100755 --- a/ore/node_register.lua +++ b/ore/node_register.lua @@ -839,7 +839,7 @@ for i, value in ipairs(metals_ore_array) do --crafte metal briks minetest.register_craft({ type = "shaped", - output = "owl_tech:"..value[1].."_briks", + output = "owl_tech:"..value[1].."_briks 2", recipe = { {"owl_tech:"..metals_ore_array[i][1].."_plate","owl_tech:"..metals_ore_array[i][1].."_plate","owl_tech:"..metals_ore_array[i][1].."_plate"}, {"owl_tech:"..metals_ore_array[i][1].."_plate","mcl_core:brick_block","owl_tech:"..metals_ore_array[i][1].."_plate"},