Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Mithril or "Poor Man's Adamantine"  (Read 949 times)

Lord Zack

  • Bay Watcher
    • View Profile
Mithril or "Poor Man's Adamantine"
« on: June 23, 2011, 02:41:42 pm »

I want to create a new metal, that is superior to even steel by quite a bit, but is much, much rarer. "Mithril" basically. It would be similar to adamantine in someways, being sharper than steel, but also lighter. Thing is, I have no idea how to mod metals.
Logged

_DivideByZero_

  • Bay Watcher
  • Not to be confused with infinity
    • View Profile
Re: Mithril or "Poor Man's Adamantine"
« Reply #1 on: June 23, 2011, 04:00:53 pm »

It's actually quite simple to add a metal in.

Here's an example. I used the structural values for tungsten, but made it even lighter (.10 g/cm3, I think), so it beats out steel but loses to adamantine. (Except for impact and compression values... but I made my adamantine quivalent to carbon nanotubes, so...)

Code: (Place in 'inorganic_metal.txt') [Select]
[INORGANIC:MITHRIL]
[USE_MATERIAL_TEMPLATE:METAL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:mithril]
[STATE_NAME_ADJ:LIQUID:molten mithril]
[STATE_NAME_ADJ:GAS:boiling mithril]
[DISPLAY_COLOR:0:7:1]
[MATERIAL_VALUE:50]
[SPEC_HEAT:500]
[MELTING_POINT:16159]
[BOILING_POINT:19999]
[ITEMS_WEAPON][ITEMS_WEAPON_RANGED][ITEMS_AMMO][ITEMS_DIGGER][ITEMS_ARMOR][ITEMS_ANVIL]
[SOLID_DENSITY:10]
[LIQUID_DENSITY:10]
[MOLAR_MASS:10]
[IMPACT_YIELD:5285000]
[IMPACT_FRACTURE:5285000]
[IMPACT_STRAIN_AT_YIELD:1705]
[COMPRESSIVE_YIELD:5285000]
[COMPRESSIVE_FRACTURE:5285000]
[COMPRESSIVE_STRAIN_AT_YIELD:1705]
[TENSILE_YIELD:1510000]
[TENSILE_FRACTURE:1510000]
[TENSILE_STRAIN_AT_YIELD:367]
[TORSION_YIELD:1510000]
[TORSION_FRACTURE:1510000]
[TORSION_STRAIN_AT_YIELD:367]
[SHEAR_YIELD:1510000]
[SHEAR_FRACTURE:1510000]
[SHEAR_STRAIN_AT_YIELD:938]
[BENDING_YIELD:1510000]
[BENDING_FRACTURE:1510000]
[BENDING_STRAIN_AT_YIELD:367]
[MAX_EDGE:10000]
[ITEMS_HARD]
[ITEMS_METAL]
[ITEMS_BARRED]
[ITEMS_SCALED]

Now you just need to add in an ore for it. Here is an example of an ore of mithril that only occurs as small clusters in obsidian:

Code: (Place in 'inorganic_stone_mineral.txt') [Select]
[INORGANIC:MITHRILITE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:mithrilite][DISPLAY_COLOR:0:7:1][TILE:139]
[ENVIRONMENT_SPEC:OBSIDIAN:CLUSTER_SMALL:100]
[ITEM_SYMBOL:'*']
[METAL_ORE:MITHRIL:100]
[MATERIAL_VALUE:50]
[IS_STONE]
« Last Edit: June 23, 2011, 04:02:37 pm by _DivideByZero_ »
Logged
Have I now become your enemy by telling you the truth? (Gal 4:16)

Lord Zack

  • Bay Watcher
    • View Profile
Re: Mithril or "Poor Man's Adamantine"
« Reply #2 on: June 23, 2011, 04:19:00 pm »

Actually, I think I'll call the ore Native Mithril, but thanks. My problem is that I'm not sure what all the values do.
Logged

_DivideByZero_

  • Bay Watcher
  • Not to be confused with infinity
    • View Profile
Re: Mithril or "Poor Man's Adamantine"
« Reply #3 on: June 23, 2011, 04:36:19 pm »

Yeah, that took me a while to figure out as well. This thread helps a ton: http://www.bay12forums.com/smf/index.php?topic=84247.0
Logged
Have I now become your enemy by telling you the truth? (Gal 4:16)