mirror of
https://github.com/minetest-mods/technic.git
synced 2025-06-30 07:10:56 +02:00
Various fixes reccomended by the mod author
This commit is contained in:
@ -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'},
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -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")
|
||||
|
@ -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
|
Reference in New Issue
Block a user