extend some metalls with poor ores

master
ademant 2019-02-04 11:50:16 +01:00
parent 72b440f439
commit e65c14e848
18 changed files with 71 additions and 1419 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,48 +1,48 @@
name,tier,color,stackmax,disabled_by_mod,overrides,orig_mod,drop_as_lump,crack,has_dust,has_block,is_metall,is_mineral,has_rich,is_gemstone,is_lump_gemstone,in_desert,has_brick,has_bar_block,scarcity,num_ores,clust_size,y_min,y_max,has_lump,has_bar,lump_cooking_time,has_pick,has_axe,has_sword,has_shovel,has_spear,has_bow,tool_stick,tool_cotton,has_helmet,has_chestplate,has_leggings,has_boots,has_shield
default,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
unobtanium,8,0B2108C0,,,,,1,6,1,,8,,,,,,,,17,3,3,-31000,-8700,1,1,96,,,,,,,,,,,,,
tungsten,5,7C9871D0,,,,,1,4,1,,5,,,,,,,,14,4,4,-31000,-750,1,1,42,,,,,,,,,,,,,
palladium,6,AC976FD0,,,,,1,5,1,1,6,,,,,,,,14,5,4,-31000,-3700,1,1,58,1,1,1,,,,minerdream:expensivestick,,1,1,1,1,1
adamantite,6,AA2435D0,,,,,1,5,1,,6,,,,,,,,14,4,3,-31000,-2300,1,1,58,,,,,,,,,,,,,
orichalcum,8,903F86D0,,,,,1,6,1,1,8,,,,,,1,,17,3,3,-31000,-6500,1,1,86,1,1,1,,1,,minerdream:expensivestick,,1,1,1,1,1
rarium,7,D95000D0,,,,,1,6,1,1,7,,,,,,1,,16,2,3,-31000,-5000,1,1,72,1,1,1,,1,,minerdream:expensivestick,,1,1,1,1,1
osmium,7,1D4144D0,,,,,1,6,1,1,7,,,,,,,,16,3,3,-31000,-2500,1,1,64,1,1,1,,1,,minerdream:expensivestick,steel_wire,1,1,1,1,1
rhodium,6,A4987DD0,,,,,1,5,1,1,6,,,,,,3,3,16,3,3,-31000,-1500,1,1,64,1,1,1,,1,1,minerdream:expensivestick,steel_wire,1,1,1,1,1
calcium,1,87A9AFD0,,,,,1,2,1,1,1,,,,,,3,3,12,5,2,-31000,420,1,1,2,,,,,,,,,,,,,
tantalum,6,594967D0,,,,,1,5,1,1,6,,,,,,3,3,16,3,3,-31000,-1500,1,1,64,1,1,1,,1,1,minerdream:expensivestick,steel_wire,1,1,1,1,1
ruthenium,5,835749D0,,,,,1,4,1,1,5,,,,,,3,3,15,3,3,-31000,-500,1,1,32,1,1,1,1,1,1,minerdream:steelstick,steel_wire,1,1,1,1,1
cobalt,5,3F7390D0,,,,,1,4,1,1,5,,,,,,3,3,15,3,3,-31000,-500,1,1,32,1,1,1,1,1,1,minerdream:steelstick,steel_wire,1,1,1,1,1
platinum,4,A5B49DD0,,,,,1,1,1,1,4,,,,,,3,3,14,4,3,-31000,-300,1,1,16,1,1,1,1,1,1,,,1,1,1,1,1
aluminum,4,B2C0C2D0,,aluminum,,,1,1,1,1,4,,,,,,3,3,14,4,3,-31000,-250,1,1,32,1,1,1,1,1,1,,,1,1,1,1,1
titanium,4,9A947ED0,,,,,1,1,1,1,4,,,,,,,,,,,,,,,,,,,,,,,,,,,,
lithium,2,c4b16ed0,,,,,1,1,1,1,2,,,,,,,,14,5,3,-31000,-100,1,1,5,,,,,,,,,,,,,
zinc,2,ADAD8ED0,,,technic:mineral_zinc,,1,1,1,1,2,,,,,,3,3,14,7,3,-31000,-50,1,1,4,,,,,,1,,,,,,,
lead,3,2f3743D0,,,technic:mineral_lead,,1,2,1,1,3,,,,,,3,3,13,7,3,-31000,-70,1,1,4,1,1,1,1,1,1,,,1,1,1,1,1
silver,3,A9BEC2D0,,,moreores:mineral_silver,,1,2,1,1,3,,,,,,3,3,14,3,2,-31000,-64,1,1,8,,,,,1,1,,,,,,,
potassium,1,9b9b9bD0,,,,,1,3,1,1,,1,,,,,3,3,12,7,3,-31000,420,1,1,2,,,,,,1,,,,,,,
nickel,2,A5AA8CD0,,,,,1,2,1,1,2,,,,,,3,3,13,7,3,-31000,-40,1,1,4,1,1,1,1,1,1,,,1,1,1,1,1
flint,1,,,,,default,,,,,,,,,,,,,,,,,,,,,1,1,1,1,1,,,,1,1,1,1,1
tin,2,,,,,technic,,,,,2,,,,,,3,3,,,,,,,,,,,,,,,,,,,,,
gold,3,,,,,default,,,,,3,,,,,,3,3,,,,,,,,,,,,,1,1,,,,,,,
copper,2,,,,,default,,,,,2,,,,,,3,3,,,,,,,,,,,,,,1,,,,,,,
steel,2,,,,,default,,,,,2,,,,,,,3,,,,,,,,,,,,,1,1,,,,,,,
diamond,3,,,,,,,,,,3,,,,,,,,,,,,,,,,,,,,1,1,,,,,,,
mese,3,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,,,,,,,
stainlesssteel,2,,,,,,,,,,2,,,,,,,,,,,,,,,,1,1,1,1,1,1,,,1,1,1,1,1
brass,,baa52c,,,,,,,,3,,,,,,,3,3,,,,,,,,,,,,,,,,,,,,,
sulfur,2,E89700D0,,,technic:mineral_sulfur,,1,3,,,,2,,,,1,,,,,,,,1,,,,,,,,,,,,,,,
lapislazuli,2,,200,,,,,3,,3,,2,,,1,1,3,,,,,,,1,,,,,,,,,,,,,,,
saltpeter,2,FFC90ED0,200,,,,1,3,1,,,2,,,,1,,,15,5,2,-31000,420,1,,,,,,,,,,,,,,,
spinel,6,,200,,,,,5,,1,,6,,,1,,3,,16,1,1,-31000,-1700,,,,,,,,,,,,,,,,
garnet,5,,200,,,,,4,,1,,5,,,1,,3,,15,1,1,-31000,-650,,,,,,,,,,,,,,,,
bituminous_coal,5,,,,,,,4,,,,,,,,,,,13,10,3,-31000,-500,1,,,,,,,,,,,,,,,
jade,5,,200,,,,,4,,1,,5,,,1,,3,,15,1,1,-31000,-650,,,,,,,,,,,,,,,,
amethyst,5,,200,,,,,4,,1,,5,,,1,,3,,15,1,1,-31000,-650,,,,,,,,,,,,,,,,
onyx,6,,200,,,,,5,,1,,6,,,1,,3,,16,1,1,-31000,-1700,,,,,,,,,,,,,,,,
aquamarine,6,,200,,,,,5,,1,,,,1,1,,3,,16,1,1,-31000,-1700,,,,,,,,,,,,,,,,
topaz,6,,200,,,,,5,,1,,,,1,1,,3,,15,1,1,-31000,-1700,,,,,,,,,,,,,,,,
treasure1,,,,,,,,,,,,,,,,,,,8,1,1,-200,50,,,,,,,,,,,,,,,,
treasure2,,,,,,,,,,,,,,,,,,,10,1,1,-400,-100,,,,,,,,,,,,,,,,
treasure3,,,,,,,,,,,,,,,,,,,12,1,1,-750,-250,,,,,,,,,,,,,,,,
treasure4,,,,,,,,,,,,,,,,,,,14,1,1,-2000,-500,,,,,,,,,,,,,,,,
treasure5,,,,,,,,,,,,,,,,,,,15,1,1,-2500,-1500,,,,,,,,,,,,,,,,
name,tier,color,stackmax,disabled_by_mod,overrides,orig_mod,drop_as_lump,crack,has_dust,has_block,is_metall,is_mineral,has_nugget,has_rich,is_gemstone,is_lump_gemstone,in_desert,has_brick,has_bar_block,scarcity,num_ores,clust_size,y_min,y_max,has_lump,has_bar,lump_cooking_time,has_pick,has_axe,has_sword,has_shovel,has_spear,has_bow,tool_stick,tool_cotton,has_helmet,has_chestplate,has_leggings,has_boots,has_shield
default,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
unobtanium,8,0B2108C0,,,,,1,6,1,,8,,,,,,,,,17,3,3,-31000,-8700,1,1,96,,,,,,,,,,,,,
tungsten,5,7C9871D0,,,,,1,4,1,,5,,,,,,,,,14,4,4,-31000,-750,1,1,42,,,,,,,,,,,,,
palladium,6,AC976FD0,,,,,1,5,1,1,6,,,,,,,,,14,5,4,-31000,-3700,1,1,58,1,1,1,,,,minerdream:expensivestick,,1,1,1,1,1
adamantite,6,AA2435D0,,,,,1,5,1,,6,,,,,,,,,14,4,3,-31000,-2300,1,1,58,,,,,,,,,,,,,
orichalcum,8,903F86D0,,,,,1,6,1,1,8,,,,,,,1,,17,3,3,-31000,-6500,1,1,86,1,1,1,,1,,minerdream:expensivestick,,1,1,1,1,1
rarium,7,D95000D0,,,,,1,6,1,1,7,,,,,,,1,,16,2,3,-31000,-5000,1,1,72,1,1,1,,1,,minerdream:expensivestick,,1,1,1,1,1
osmium,7,1D4144D0,,,,,1,6,1,1,7,,,,,,,,,16,3,3,-31000,-2500,1,1,64,1,1,1,,1,,minerdream:expensivestick,steel_wire,1,1,1,1,1
rhodium,6,A4987DD0,,,,,1,5,1,1,6,,,,,,,3,3,16,3,3,-31000,-1500,1,1,64,1,1,1,,1,1,minerdream:expensivestick,steel_wire,1,1,1,1,1
calcium,1,87A9AFD0,,,,,1,2,1,1,1,,3,,,,,3,3,12,5,2,-31000,420,1,1,2,,,,,,,,,,,,,
tantalum,6,594967D0,,,,,1,5,1,1,6,,,,,,,3,3,16,3,3,-31000,-1500,1,1,64,1,1,1,,1,1,minerdream:expensivestick,steel_wire,1,1,1,1,1
ruthenium,5,835749D0,,,,,1,4,1,1,5,,,,,,,3,3,15,3,3,-31000,-500,1,1,32,1,1,1,1,1,1,minerdream:steelstick,steel_wire,1,1,1,1,1
cobalt,5,3F7390D0,,,,,1,4,1,1,5,,,,,,,3,3,15,3,3,-31000,-500,1,1,32,1,1,1,1,1,1,minerdream:steelstick,steel_wire,1,1,1,1,1
platinum,4,A5B49DD0,,,,,1,1,1,1,4,,,,,,,3,3,14,4,3,-31000,-300,1,1,16,1,1,1,1,1,1,,,1,1,1,1,1
aluminum,4,B2C0C2D0,,aluminum,,,1,1,1,1,4,,5,,,,,3,3,14,4,3,-31000,-250,1,1,32,1,1,1,1,1,1,,,1,1,1,1,1
titanium,4,9A947ED0,,,,,1,1,1,1,4,,3,,,,,,,,,,,,,,,,,,,,,,,,,,,
lithium,2,c4b16ed0,,,,,1,1,1,1,2,,3,,,,,,,14,5,3,-31000,-100,1,1,5,,,,,,,,,,,,,
zinc,2,ADAD8ED0,,,technic:mineral_zinc,,1,1,1,1,2,,3,,,,,3,3,14,7,3,-31000,-50,1,1,4,,,,,,1,,,,,,,
lead,3,2f3743D0,,,technic:mineral_lead,,1,2,1,1,3,,5,,,,,3,3,13,7,3,-31000,-70,1,1,4,1,1,1,1,1,1,,,1,1,1,1,1
silver,3,A9BEC2D0,,,moreores:mineral_silver,,1,2,1,1,3,,3,,,,,3,3,14,3,2,-31000,-64,1,1,8,,,,,1,1,,,,,,,
potassium,1,9b9b9bD0,,,,,1,3,1,1,,1,,,,,,3,3,12,7,3,-31000,420,1,1,2,,,,,,1,,,,,,,
nickel,2,A5AA8CD0,,,,,1,2,1,1,2,,2,,,,,3,3,13,7,3,-31000,-40,1,1,4,1,1,1,1,1,1,,,1,1,1,1,1
flint,1,,,,,default,,,,,,,,,,,,,,,,,,,,,,1,1,1,1,1,,,,1,1,1,1,1
tin,2,,,,,technic,,,,,2,,,,,,,3,3,,,,,,,,,,,,,,,,,,,,,
gold,3,,,,,default,,,,,3,,,,,,,3,3,,,,,,,,,,,,,1,1,,,,,,,
copper,2,,,,,default,,,,,2,,,,,,,3,3,,,,,,,,,,,,,,1,,,,,,,
steel,2,,,,,default,,,,,2,,,,,,,,3,,,,,,,,,,,,,1,1,,,,,,,
diamond,3,,,,,,,,,,3,,,,,,,,,,,,,,,,,,,,,1,1,,,,,,,
mese,3,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1,1,,,,,,,
stainlesssteel,2,,,,,,,,,,2,,,,,,,,,,,,,,,,,1,1,1,1,1,1,,,1,1,1,1,1
brass,,baa52c,,,,,,,,3,,,,,,,,3,3,,,,,,,,,,,,,,,,,,,,,
sulfur,2,E89700D0,,,technic:mineral_sulfur,,1,3,,,,2,,,,,1,,,,,,,,1,,,,,,,,,,,,,,,
lapislazuli,2,,200,,,,,3,,3,,2,,,,1,1,3,,,,,,,1,,,,,,,,,,,,,,,
saltpeter,2,FFC90ED0,200,,,,1,3,1,,,2,,,,,1,,,15,5,2,-31000,420,1,,,,,,,,,,,,,,,
spinel,6,,200,,,,,5,,1,,6,,,,1,,3,,16,1,1,-31000,-1700,,,,,,,,,,,,,,,,
garnet,5,,200,,,,,4,,1,,5,,,,1,,3,,15,1,1,-31000,-650,,,,,,,,,,,,,,,,
bituminous_coal,5,,,,,,,4,,,,,,,,,,,,13,10,3,-31000,-500,1,,,,,,,,,,,,,,,
jade,5,,200,,,,,4,,1,,5,,,,1,,3,,15,1,1,-31000,-650,,,,,,,,,,,,,,,,
amethyst,5,,200,,,,,4,,1,,5,,,,1,,3,,15,1,1,-31000,-650,,,,,,,,,,,,,,,,
onyx,6,,200,,,,,5,,1,,6,,,,1,,3,,16,1,1,-31000,-1700,,,,,,,,,,,,,,,,
aquamarine,6,,200,,,,,5,,1,,,,,1,1,,3,,16,1,1,-31000,-1700,,,,,,,,,,,,,,,,
topaz,6,,200,,,,,5,,1,,,,,1,1,,3,,15,1,1,-31000,-1700,,,,,,,,,,,,,,,,
treasure1,,,,,,,,,,,,,,,,,,,,8,1,1,-200,50,,,,,,,,,,,,,,,,
treasure2,,,,,,,,,,,,,,,,,,,,10,1,1,-400,-100,,,,,,,,,,,,,,,,
treasure3,,,,,,,,,,,,,,,,,,,,12,1,1,-750,-250,,,,,,,,,,,,,,,,
treasure4,,,,,,,,,,,,,,,,,,,,14,1,1,-2000,-500,,,,,,,,,,,,,,,,
treasure5,,,,,,,,,,,,,,,,,,,,15,1,1,-2500,-1500,,,,,,,,,,,,,,,,

View File

@ -8,7 +8,7 @@ local ore_cols={
groups_num={"has_dust","has_block","in_desert","has_block","has_brick","is_metall","is_mineral",
"has_bar","has_lump","has_bar_block","has_dust","has_spear","has_bow","has_arrow","has_pick",
"has_axe","has_shovel","has_sword","has_helmet","has_chestplate","has_shield","has_leggings",
"has_boots","drop_as_lump","is_gemstone","is_lump_gemstone","has_no_drop","has_no_lump"}}
"has_boots","drop_as_lump","is_gemstone","is_lump_gemstone","has_no_drop","has_no_lump","has_nugget"}}
local miner_definition = basic_functions.import_csv(minerdream.path.."/ores.txt",ore_cols)
if miner_definition["default"] ~= nil then
@ -296,6 +296,21 @@ for i,tdef in pairs(miner_definition) do
local_item_insert(i,"desertore_def",desertore_def)
minetest.register_node(desertore_def.name,desertore_def)
end
if tdef.groups.has_nugget and tdef.groups.has_nugget>0 then
local poor_def=table.copy(ore_def)
local nugget_def=table.copy(lump_def)
poor_def.description="Poor "..i
-- poor_def.name=poor_def.name.."_poor"
poor_def.name=minerdream.modname..":stone_with_"..i.."_poor"
poor_def.tiles={"default_stone.png^"..minerdream.modname.."_"..i.."_poorore.png"}
nugget_def.description=i.." Nugget"
nugget_def.name=minerdream.modname..":"..i.."_nugget"
nugget_def.inventory_image=nugget_def.name:gsub(":","_")..".png"
poor_def.drop=nugget_def.name
minetest.register_node(poor_def.name,poor_def)
minetest.register_craftitem(nugget_def.name,nugget_def)
local_craft_stack(nugget_def.name,lump_def.name)
end
else
-- if not already defined, then add mapgen parameter
if tdef.scarcity ~= nil then
@ -315,6 +330,13 @@ for i,tdef in pairs(miner_definition) do
y_min = tdef.y_min or (-31000),
y_max = tdef.y_max or 0,
}
if tdef.groups.has_nugget and tdef.groups.has_nugget>0 then
local poor_map_def=table.copy(map_def)
poor_map_def.ore=mapgen_name.."_poor"
minetest.register_ore(poor_map_def)
map_def.clust_scarcity=map_def.clust_scarcity*tdef.groups.has_nugget
map_def.clust_size=map_def.clust_size*tdef.groups.has_nugget
end
local_item_insert(i,"map_def",map_def)
minetest.register_ore(map_def)
if tdef.groups.in_desert then

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B