Merge branch 'master' of github.com:JamesClarke7283/moreores

This commit is contained in:
James David Clarke 2023-12-21 08:47:00 +00:00
commit 262048f072
2 changed files with 5 additions and 5 deletions

View File

@ -45,8 +45,8 @@ end
-- Returns the crafting recipe table for a given material and item. -- Returns the crafting recipe table for a given material and item.
local function get_recipe(material, item) local function get_recipe(material, item)
if is_mcl_core_present then if is_mcl_core_present then
material = material:gsub("default:", "mcl_core:") material = material:gsub("default:", "mcl_core:")
end end
if item == "sword" then if item == "sword" then
return { return {
@ -95,8 +95,8 @@ end
local function add_ore(modname, description, mineral_name, oredef, extra_node_def) local function add_ore(modname, description, mineral_name, oredef, extra_node_def)
if mineral_name == "copper" and is_mcl_copper_present then if mineral_name == "copper" and is_mcl_copper_present then
return return
end end
local img_base = modname .. "_" .. mineral_name local img_base = modname .. "_" .. mineral_name
local toolimg_base = modname .. "_tool_"..mineral_name local toolimg_base = modname .. "_tool_"..mineral_name

View File

@ -2,4 +2,4 @@ name = moreores
description = Adds new ore types. description = Adds new ore types.
optional_depends = carts,farming,frame,mg,toolranks,mcl_core,mcl_sounds optional_depends = carts,farming,frame,mg,toolranks,mcl_core,mcl_sounds
min_minetest_version = 5.0.0 min_minetest_version = 5.0.0
supported_games mineclone2,mineclonia,minetest_game supported_games = mineclone2,mineclonia,minetest_game