Various fixes reccomended by the mod author

This commit is contained in:
James David Clarke
2023-12-27 16:11:05 +00:00
parent 8857680d29
commit 26a8ab3dd0
55 changed files with 396 additions and 337 deletions

View File

@ -19,7 +19,7 @@ if technic_cnc.use_technic then
minetest.register_craft({
output = 'technic:cnc',
recipe = {
{glass_ingrediant, 'technic:diamond_drill_head', glass_ingrediant},
{glass_ingredient, 'technic:diamond_drill_head', glass_ingredient},
{'technic:control_logic_unit', 'technic:machine_casing', 'basic_materials:motor'},
{'technic:carbon_steel_ingot', 'technic:lv_cable', 'technic:carbon_steel_ingot'},
},
@ -34,9 +34,9 @@ else
minetest.register_craft({
output = 'technic:cnc',
recipe = {
{glass_ingrediant, diamond_ingrediant, glass_ingrediant},
{glass_ingredient, diamond_ingredient, glass_ingredient},
{'basic_materials:ic', 'default:steelblock', 'basic_materials:motor'},
{'default:steel_ingot', mese_block_ingrediant, 'default:steel_ingot'},
{'default:steel_ingot', mese_block_ingredient, 'default:steel_ingot'},
},
})

View File

@ -23,6 +23,14 @@ else
end
end
local S = technic_cnc.getter
-- Check if mcl_core or default is installed
if not minetest.get_modpath("mcl_core") and not minetest.get_modpath("default") then
error(S(minetest.get_current_modname()).." "..S("requires mcl_core or default to be installed (please install MTG or MCL2, or compatible games)"))
end
dofile(modpath.."/cnc.lua")
dofile(modpath.."/cnc_api.lua")
dofile(modpath.."/cnc_materials.lua")

View File

@ -1,4 +1,4 @@
name = technic_cnc
depends = basic_materials
optional_depends = technic, default, mcl_core
supported_games = minetest_game,mineclone2
supported_games = minetest_game,mineclone2,mineclonia,mineclone5