2015-08-02 20:38:27 -04:00
|
|
|
local emcs = {
|
|
|
|
|
["default"] = {
|
2015-08-03 06:53:44 -04:00
|
|
|
-- Plains --
|
2015-08-02 20:38:27 -04:00
|
|
|
dirt = 1,
|
2015-08-03 06:53:44 -04:00
|
|
|
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,
|
2015-08-02 20:38:27 -04:00
|
|
|
desert_sand = 1,
|
2015-08-03 06:53:44 -04:00
|
|
|
-- cactus
|
|
|
|
|
dry_shrub = 5,
|
|
|
|
|
-- Jungle --
|
|
|
|
|
-- jungletree
|
|
|
|
|
-- jungleleaves
|
|
|
|
|
junglegrass = 5,
|
|
|
|
|
-- junglesapling
|
|
|
|
|
-- Underground--
|
|
|
|
|
cobble = 1,
|
|
|
|
|
-- mossycobble
|
|
|
|
|
-- gravel
|
2015-08-02 20:38:27 -04:00
|
|
|
coal_lump = 55,
|
2015-08-03 06:53:44 -04:00
|
|
|
-- Precise Value: 57
|
|
|
|
|
iron_lump = 61,
|
2015-08-02 20:38:27 -04:00
|
|
|
-- Precise Value (of lump): 61
|
2015-08-03 06:53:44 -04:00
|
|
|
copper_lump = 146,
|
2015-08-02 20:38:27 -04:00
|
|
|
-- Precise Value (of lump): 442
|
2015-08-03 06:53:44 -04:00
|
|
|
gold_lump = 488,
|
|
|
|
|
-- Precise Value: 420
|
|
|
|
|
mese_crystal = 425,
|
|
|
|
|
-- Precise Value: 848
|
|
|
|
|
diamond = 976,
|
|
|
|
|
-- 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,
|
|
|
|
|
},
|
2015-08-01 08:23:25 -04:00
|
|
|
}
|
|
|
|
|
|
2015-08-02 21:15:12 -04:00
|
|
|
for modname, itemlist in pairs(emcs) do
|
2015-08-02 13:59:41 -04:00
|
|
|
for itemname, emcvalue in pairs(itemlist) do
|
2015-08-02 20:38:27 -04:00
|
|
|
minetest.override_item(modname..":"..itemname, {
|
2015-08-03 06:53:44 -04:00
|
|
|
description = minetest.registered_items[modname..":"..itemname].description.."\nEMC Value: "..emcvalue,
|
2015-08-02 13:59:41 -04:00
|
|
|
emc = emcvalue,
|
|
|
|
|
})
|
2015-08-01 08:23:25 -04:00
|
|
|
end
|
2015-08-02 20:38:27 -04:00
|
|
|
end
|