mirror of
https://github.com/mt-mods/basic_materials.git
synced 2024-12-23 09:10:40 +01:00
add hades revisted crafts and update sound api for sounds (#10)
* add hades revisted crafts and update sound api for sounds
This commit is contained in:
parent
727b5999dc
commit
dfb7beb8b7
27
crafts.lua
27
crafts.lua
@ -52,6 +52,33 @@ elseif minetest.get_modpath("fl_ores") and minetest.get_modpath("fl_stone") then
|
||||
tin_ingot = "fl_ores:tin_ingot",
|
||||
silver_ingot = "fl_ores:iron_ingot",
|
||||
}
|
||||
elseif minetest.get_modpath("hades_core") then
|
||||
materials = {
|
||||
dirt = "fl_topsoil:dirt",
|
||||
sand = "hades_core:fertile_sand",
|
||||
gravel = "hades_core:gravel",
|
||||
steel_ingot = "hades_core:steel_ingot",
|
||||
gold_ingot = "hades_core:gold_ingot",
|
||||
mese_crystal_fragment = "hades_core:mese_crystal_fragment",
|
||||
torch = "hades_torches:torch",
|
||||
diamond = "hades_core:diamond",
|
||||
clay_lump = "hades_core:clay_lump",
|
||||
dye_dark_grey = "dye:dark_grey_dye",
|
||||
copper_ingot = "hades_core:copper_ingot",
|
||||
tin_ingot = "hades_core:tin_ingot",
|
||||
--[[
|
||||
since hades doesnt have buckets or water for the user,
|
||||
using dirt from near water to pull the water out
|
||||
]]
|
||||
water_bucket = "hades_core:fertile_sand",
|
||||
empty_bucket = "hades_core:dirt",
|
||||
--set this to steel unless hadesextraores is present
|
||||
silver_ingot = "hades_core:steel_ingot",
|
||||
}
|
||||
|
||||
if minetest.get_modpath("hades_extraores") then
|
||||
materials["silver_ingot"] = "hades_extraores:silver_ingot"
|
||||
end
|
||||
end
|
||||
|
||||
--craft recipes
|
||||
|
2
mod.conf
2
mod.conf
@ -1,3 +1,3 @@
|
||||
name = basic_materials
|
||||
optional_depends = moreores, default, mesecons_materials, dye, bucket, fl_stone, fl_trees, mcl_sounds
|
||||
optional_depends = moreores, default, mesecons_materials, dye, bucket, fl_stone, fl_trees, mcl_sounds, hades_sounds
|
||||
min_minetest_version = 5.2.0
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 87bd12dd0facb4c58f8643b10f98a27dd112b21a
|
||||
Subproject commit 6956e49e775f325116f8e0c643899c089c691e1e
|
Loading…
Reference in New Issue
Block a user