Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Error with new metals  (Read 517 times)

Deathbane

  • Bay Watcher
  • Unus volatilis angelus, aeria gloriis.
    • View Profile
Error with new metals
« on: January 19, 2008, 11:42:00 am »

So, im trying to add some new metals, materials and reactions to my mod, but for some reason, it appears it doesnt work. Whenever an adventurer starts out with a weapon made out of the material, after a few seconds it disappears. All items made out of keen on my adventurer then just become 'keen covering'

I wanted to make mithril an ore, but had to make it a thread metal to get the game to stop generating a error log.

The new materials are impure mithril, which is mineable only to either sell or to make into keen, a strong alloy of steel and mithril

mithril in its pure form is found down near adamantium, as a deep material, or at least it should be.

The error log gives me one error:

Unrecognized Material Token: METAL_ORE

(i have since removed all trace of METAL_ORE from the reaction files. I dont know why it doesnt work: its used in the default raws.)

Anyhows, heres the code.

matgloss_metal_chaos

[OBJECT:MATGLOSS]

[MATGLOSS_METAL:IMPURE_MITHRIL]
[NAME:impure mithril][ADJ:impure mithril][COLOR:1:1:0]
[VALUE:40]
[SPEC_HEAT:5000]
[MELTING_POINT:20000]
[BOILING_POINT:40000]
[SOLID_DENSITY:400]

[MATGLOSS_METAL:KEEN]
[NAME:keen][ADJ:keen][COLOR:1:1:1]
[VALUE:80]
[SPEC_HEAT:2500]
[MELTING_POINT:10000]
[BOILING_POINT:20000]
[WEAPON][WEAPON_RANGED][AMMO][DIGGER][ARMOR][ANVIL][ANY_USE]
[DAMAGE_PERC:180]
[BLOCK_PERC:180]
[SOLID_DENSITY:600]

[MATGLOSS_METAL:MITHRIL]
[NAME:mithril][ADJ:mithril][COLOR:1:1:0]
[VALUE:150]
[SPEC_HEAT:5000]
[MELTING_POINT:20000]
[BOILING_POINT:40000]
[WEAPON][WEAPON_RANGED][AMMO][DIGGER][ARMOR][ANVIL][ANY_USE]
[DAMAGE_PERC:250]
[BLOCK_PERC:250]
[SOLID_DENSITY:200]
[DEEP]


matgloss_stone_mineral_chaos

[OBJECT:MATGLOSS]

[MATGLOSS_STONE:IMPURE_MITHRIL]
[NAME:impure mithril][COLOR:1:0:0][TILE:156]
[ENVIRONMENT:METAMORPHIC:VEIN:100]
[ENVIRONMENT:IGNEOUS_EXTRUSIVE:VEIN:100]
[ITEM_SYMBOL:'*']
[VALUE:80]
[SPEC_HEAT:2500]
[MELTING_POINT:10000]
[BOILING_POINT:20000]
[SOLID_DENSITY:400]
[THREAD_METAL:IMPURE_MITHRIL:200]

[MATGLOSS_STONE:MITHRIL]
[NAME:mithril][COLOR:1:0:1][TILE:156]
[ITEM_SYMBOL:'*']
[VALUE:150]
[SPEC_HEAT:5000]
[MELTING_POINT:20000]
[BOILING_POINT:40000]
[SOLID_DENSITY:200]
[THREAD_METAL:MITHRIL:200]
[DEEP]

reaction_standard_chaos

[OBJECT:REACTION]

[REACTION:KEEN_MAKING]
[NAME:make keen bars (use impure mithril ore with 1 steel bar]
[SMELTER]
[REAGENT:1:THREAD:NO_SUBTYPE:METAL:IMPURE_MITHRIL]
[REAGENT:2:BAR:NO_SUBTYPE:METAL:STEEL]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:KEEN]
[FUEL]

// adding steel to impure mithril binds it into a powerful alloy known as keen

[REACTION:MITHRIL_WAFERS]
[NAME:make mithril wafers]
[SMELTER]
[REAGENT:1:THREAD:NO_SUBTYPE:METAL:MITHRIL]
[PRODUCT:100:2:BAR:NO_SUBTYPE:METAL:MITHRIL]
[FUEL]


Any help would be greatly appreciated, i cant see what ive done wrong.

[ January 19, 2008: Message edited by: Deathbane ]

Logged
Creator of the Chaos Reigns and Age of Heroes modifications.

Developer of the Adventurer Roleplaying game system, assistance required!

http://www.bay12games.com/forum/index.php?topic=46859.0

THLawrence

  • Bay Watcher
  • Mad Scientest
    • View Profile
Re: Error with new metals
« Reply #1 on: January 19, 2008, 12:00:00 pm »

Well the melting point for keen appears to be 10000˚DF or 0˚C or 32˚F or the freezing point of water. That's the problem. Same problem with impure mithril stone.
Logged

Wiles

  • Bay Watcher
    • View Profile
Re: Error with new metals
« Reply #2 on: January 19, 2008, 12:02:00 pm »

I've used mithril, but didn't change it to thread metal. What problem were you having before you changed it to thread metal?

It's neat that you're using steel and mithril. Tolkien called mithril silvered steel at one point I think.

[ January 19, 2008: Message edited by: Wiles ]

Logged

Deathbane

  • Bay Watcher
  • Unus volatilis angelus, aeria gloriis.
    • View Profile
Re: Error with new metals
« Reply #3 on: January 19, 2008, 02:55:00 pm »

ill try messing with the temperature - i think i made a 'slight' error.

Ill report back if i works

Ok testing now...

(I made mithril a thread metal so that you can get some awesome combinations, such as Mithril shirts etc. Pity it will rot if made into clothes!)


_______________________________________________________________________________

Thanks guys it worked! Stupid error there!

wonder why DF uses such a weird temperature scale.

[ January 19, 2008: Message edited by: Deathbane ]

[ January 19, 2008: Message edited by: Deathbane ]

Logged
Creator of the Chaos Reigns and Age of Heroes modifications.

Developer of the Adventurer Roleplaying game system, assistance required!

http://www.bay12games.com/forum/index.php?topic=46859.0