Litel fix

This commit is contained in:
ConfidentOwl 2023-05-12 23:27:57 +03:00
parent 91a152d942
commit 368ce267fc
6 changed files with 21 additions and 12 deletions

View File

@ -103,9 +103,9 @@ for i = 1, #small_turbins_conf, 1 do
type = "shaped", type = "shaped",
output = "owl_tech:"..small_turbins_conf[i][1].."turbin", output = "owl_tech:"..small_turbins_conf[i][1].."turbin",
recipe = { recipe = {
{"owl_tech:"..small_turbins_conf[i][1].."_plate",small_turbins_conf[i][4],"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][1].."_frames",small_turbins_conf[i][4]}, {small_turbins_conf[i][4],"owl_tech:"..small_turbins_conf[i][3].."_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][5],"owl_tech:"..small_turbins_conf[i][3].."_plate"}
} }
}) })
end end

View File

@ -55,7 +55,7 @@ minetest.register_craft({
type = "shaped", type = "shaped",
output = "owl_tech:copper_electro_wire 4", output = "owl_tech:copper_electro_wire 4",
recipe = { 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"},
{"","",""}, {"","",""},
{"","",""} {"","",""}
} }

View File

@ -17,7 +17,7 @@ end
minetest.register_node("owl_tech:crops",{ minetest.register_node("owl_tech:crops",{
description = "Crops", description = "Crops",
_tt_help = S("Crops for grow 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"), _doc_items_usagehelp = S("Right-click the fcrops to put a seed and begin grow"),
tiles = {"mcl_core_log_big_oak.png"}, tiles = {"mcl_core_log_big_oak.png"},
paramtype = "light", paramtype = "light",
@ -25,7 +25,7 @@ minetest.register_node("owl_tech:crops",{
stack_max = 64, stack_max = 64,
sunlight_propagates = true, sunlight_propagates = true,
walkable = true, walkable = true,
groups = {owl_tech_fluid_pipe=1}, groups = {handy = 1, axey = 1, choppy = 1},
drawtype = "nodebox", drawtype = "nodebox",
node_box = { node_box = {
type = "fixed", type = "fixed",
@ -82,7 +82,6 @@ minetest.register_node("owl_tech:crops",{
get_two_seed_around = get_two_seed_around + 1 get_two_seed_around = get_two_seed_around + 1
end end
end end
minetest.chat_send_all(get_two_seed_around)
if get_two_seed_around==2 then if get_two_seed_around==2 then
meta:set_int("state",1) meta:set_int("state",1)
end end
@ -130,4 +129,14 @@ minetest.register_node("owl_tech:crops",{
end end
timer:start(0.2) timer:start(0.2)
end end
})
minetest.register_craft({
type = "shaped",
output = "owl_tech:crops",
recipe = {
{"mcl_core:stick","","mcl_core:stick"},
{"mcl_core:stick","","mcl_core:stick"},
{"","",""},
}
}) })

View File

@ -691,7 +691,7 @@ for i = 1, #table_all_machines, 1 do
--Crafte --Crafte
minetest.register_craft({ minetest.register_craft({
type = "shaped", type = "shaped",
output ="owl_tech:bronze_forge_hammer", output ="owl_tech:"..table_all_machines[i][2].."_forge_hammer",
recipe = { recipe = {
{"owl_tech:"..table_all_machines[i][6].."_plate","owl_tech:circuit_tire_"..i,"owl_tech:"..table_all_machines[i][6].."_plate"}, {"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}, {table_all_machines[i][8][4],"owl_tech:"..table_all_machines[i][6].."_frames","owl_tech:circuit_tire_"..i},

View File

@ -806,8 +806,8 @@ minetest.register_craft({
type = "shaped", type = "shaped",
output = "owl_tech:wood_pyrolis", output = "owl_tech:wood_pyrolis",
recipe = { recipe = {
{"mcl_furnaces:furnace","owl_tech:bronze_plate","mcl_furnaces:furnace"}, {"owl_tech:circuit_tire_1","owl_tech:steel_plate","owl_tech:circuit_tire_1"},
{"owl_tech:bronze_plate","mcl_furnaces:furnace","owl_tech:bronze_plate"}, {"owl_tech:steel_plate","owl_tech:circuit_tire_1","owl_tech:steel_plate"},
{"owl_tech:bronze_plate","owl_tech:bronze_plate","owl_tech:bronze_plate"} {"owl_tech:steel_plate","owl_tech:steel_plate","owl_tech:steel_plate"}
} }
}) })

View File

@ -839,7 +839,7 @@ for i, value in ipairs(metals_ore_array) do
--crafte metal briks --crafte metal briks
minetest.register_craft({ minetest.register_craft({
type = "shaped", type = "shaped",
output = "owl_tech:"..value[1].."_briks", output = "owl_tech:"..value[1].."_briks 2",
recipe = { 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","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"}, {"owl_tech:"..metals_ore_array[i][1].."_plate","mcl_core:brick_block","owl_tech:"..metals_ore_array[i][1].."_plate"},