added philosopher stone crafts, emcs.lua runs last(partially)
This commit is contained in:
parent
0cc52f2185
commit
4706c64b50
@ -1 +1,12 @@
|
|||||||
default
|
default
|
||||||
|
bucket?
|
||||||
|
doors?
|
||||||
|
dye?
|
||||||
|
farming?
|
||||||
|
flowers?
|
||||||
|
screwdriver?
|
||||||
|
stairs?
|
||||||
|
tnt?
|
||||||
|
vessels?
|
||||||
|
wool?
|
||||||
|
xpanes?
|
||||||
@ -1,82 +1,82 @@
|
|||||||
local emcs = {
|
local emcs = {
|
||||||
["default"] = {
|
["default"] = {
|
||||||
stone = 4,
|
-- Plains --
|
||||||
cobble = 1,
|
|
||||||
desert_stone = 1,
|
|
||||||
stonebrick = 1,
|
|
||||||
desert_stonebrick = 1,
|
|
||||||
dirt_with_grass = 50,
|
|
||||||
dirt_with_snow = 50,
|
|
||||||
dirt = 1,
|
dirt = 1,
|
||||||
sand=1,
|
grass_1 = 5,
|
||||||
|
sand = 1,
|
||||||
|
-- papyrus
|
||||||
|
-- clay
|
||||||
|
-- clay_lump
|
||||||
|
-- tree
|
||||||
|
-- leaves
|
||||||
|
-- apple
|
||||||
|
-- sapling
|
||||||
|
-- Tundra --
|
||||||
|
snow = 1,
|
||||||
|
-- ice
|
||||||
|
-- pinetree
|
||||||
|
-- pinewood
|
||||||
|
-- pine_sapling
|
||||||
|
-- Desert --
|
||||||
|
desert_cobble = 1,
|
||||||
desert_sand = 1,
|
desert_sand = 1,
|
||||||
gravel = 4,
|
-- cactus
|
||||||
sandstone = 4,
|
dry_shrub = 5,
|
||||||
sandstonebrick = 4,
|
-- Jungle --
|
||||||
clay = 16,
|
-- jungletree
|
||||||
brick = 16,
|
-- jungleleaves
|
||||||
tree = 32,
|
junglegrass = 5,
|
||||||
jungletree = 32,
|
-- junglesapling
|
||||||
junglewood = 8,
|
-- Underground--
|
||||||
cactus = 8,
|
cobble = 1,
|
||||||
papyrus = 32,
|
-- mossycobble
|
||||||
bookshelf = 336,
|
-- gravel
|
||||||
glass = 1,
|
|
||||||
fence_wood = 12,
|
|
||||||
rail = 96,
|
|
||||||
ladder = 14,
|
|
||||||
wood = 8,
|
|
||||||
torch = 9,
|
|
||||||
sign_wall = 52,
|
|
||||||
chest = 64,
|
|
||||||
chest_locked = 320,
|
|
||||||
furnace = 8,
|
|
||||||
mossycobble = 1,
|
|
||||||
mese=75978,
|
|
||||||
obsidian = 64,
|
|
||||||
stick = 2,
|
|
||||||
paper = 96,
|
|
||||||
book = 288,
|
|
||||||
|
|
||||||
-- Old Value: 128
|
|
||||||
-- Precise Value: 57
|
|
||||||
coal_lump = 55,
|
coal_lump = 55,
|
||||||
|
-- Precise Value: 57
|
||||||
-- Old Value: 8442
|
iron_lump = 61,
|
||||||
-- Precise Value: 420 (including blocks)
|
|
||||||
mese_crystal = 425,
|
|
||||||
|
|
||||||
-- Old Value: 8192
|
|
||||||
-- Precise Value: 848
|
|
||||||
diamond = 850,
|
|
||||||
clay_lump = 16,
|
|
||||||
|
|
||||||
-- Old Value: 256
|
|
||||||
-- Precise Value (of lump): 61
|
-- Precise Value (of lump): 61
|
||||||
steel_ingot = 90,
|
copper_lump = 146,
|
||||||
|
|
||||||
-- Old Value: 85
|
|
||||||
-- Precise Value (of lump): 146
|
|
||||||
copper_ingot = 225,
|
|
||||||
|
|
||||||
--Old Value: 255
|
|
||||||
bronze_ingot = 90 + 225,
|
|
||||||
|
|
||||||
-- Old Value: 2048
|
|
||||||
-- Precise Value (of lump): 442
|
-- Precise Value (of lump): 442
|
||||||
gold_ingot = 675,
|
gold_lump = 488,
|
||||||
|
-- Precise Value: 420
|
||||||
-- Old Value: 938
|
mese_crystal = 425,
|
||||||
-- Precise Value: 47
|
-- Precise Value: 848
|
||||||
mese_crystal_fragment = 25,
|
diamond = 976,
|
||||||
clay_brick = 16,
|
-- obsidian
|
||||||
}
|
-- nyancat
|
||||||
|
-- nyancat_rainbow
|
||||||
|
-- Exceptions --
|
||||||
|
-- wood
|
||||||
|
-- junglewood
|
||||||
|
-- stick
|
||||||
|
},
|
||||||
|
-- ["bucket"] = {
|
||||||
|
-- -- bucket_water
|
||||||
|
-- -- bucket_lava
|
||||||
|
-- },
|
||||||
|
["farming"] = {
|
||||||
|
seed_wheat = 20,
|
||||||
|
seed_cotton = 35,
|
||||||
|
wheat = 50,
|
||||||
|
flour = 200,
|
||||||
|
bread = 300,
|
||||||
|
string = 86,
|
||||||
|
},
|
||||||
|
["flowers"] = {
|
||||||
|
dandelion_white = 5,
|
||||||
|
dandelion_yellow = 5,
|
||||||
|
geranium = 5,
|
||||||
|
rose = 5,
|
||||||
|
tulip = 5,
|
||||||
|
viola = 5,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for modname, itemlist in pairs(emcs) do
|
for modname, itemlist in pairs(emcs) do
|
||||||
for itemname, emcvalue in pairs(itemlist) do
|
for itemname, emcvalue in pairs(itemlist) do
|
||||||
|
print(minetest.registered_items[modname..":"..itemname].description)
|
||||||
minetest.override_item(modname..":"..itemname, {
|
minetest.override_item(modname..":"..itemname, {
|
||||||
description = minetest.registered_items[modname..":"..itemname].description.."\nEMC = "..tostring(emcvalue),
|
description = minetest.registered_items[modname..":"..itemname].description.."\nEMC Value: "..emcvalue,
|
||||||
emc = emcvalue,
|
emc = emcvalue,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
dofile(minetest.get_modpath("equivalent_exchange").."/emcs.lua")
|
|
||||||
dofile(minetest.get_modpath("equivalent_exchange").."/alchemical_chest.lua")
|
dofile(minetest.get_modpath("equivalent_exchange").."/alchemical_chest.lua")
|
||||||
dofile(minetest.get_modpath("equivalent_exchange").."/condenser.lua")
|
dofile(minetest.get_modpath("equivalent_exchange").."/condenser.lua")
|
||||||
dofile(minetest.get_modpath("equivalent_exchange").."/philosophers_stone.lua")
|
dofile(minetest.get_modpath("equivalent_exchange").."/philosophers_stone.lua")
|
||||||
dofile(minetest.get_modpath("equivalent_exchange").."/normal_items.lua")
|
dofile(minetest.get_modpath("equivalent_exchange").."/normal_items.lua")
|
||||||
|
dofile(minetest.get_modpath("equivalent_exchange").."/emcs.lua")
|
||||||
|
|
||||||
print("[equivalent_exchange] Mod loaded!")
|
print("[equivalent_exchange] Mod loaded!")
|
||||||
@ -19,5 +19,40 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
--Transmutation Crafts here after default EMCs are sorted out --
|
--Transmutation Crafts --
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "default:steel_ingot 4",
|
||||||
|
recipe = {modname.."philosophers_stone", "default:gold_ingot"},
|
||||||
|
replacements = {
|
||||||
|
{modname.."philosophers_stone", modname.."philosophers_stone"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "default:gold_ingot",
|
||||||
|
recipe = {modname.."philosophers_stone", "default:steel_ingot", "default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
||||||
|
replacements = {
|
||||||
|
{modname.."philosophers_stone", modname.."philosophers_stone"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "default:gold_ingot 2",
|
||||||
|
recipe = {modname.."philosophers_stone", "default:diamond"},
|
||||||
|
replacements = {
|
||||||
|
{modname.."philosophers_stone", modname.."philosophers_stone"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "default:diamond",
|
||||||
|
recipe = {modname.."philosophers_stone", "default:gold_ingot", "default:gold_ingot"},
|
||||||
|
replacements = {
|
||||||
|
{modname.."philosophers_stone", modname.."philosophers_stone"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user