Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Metals n' shit  (Read 1599 times)

Devath

  • Bay Watcher
  • Dabbling Insane Dev
    • View Profile
Metals n' shit
« on: May 07, 2008, 06:53:00 pm »

The quest for info continues. Specifically, I have created a new metal, and cannot figure out how to make the "smelt 'metal' ore" command show up in the smelters. Another reaction I have for said metal works, but the smelter refuses to come up with an ore smelting reaction. I'm wondering if the reaction for that is hardcoded or not, for all the other metals, since it isn't in the raw files, and I'm also wondering why any reactions I made to do this manually also aren't showing up in the smelter.
Logged
"Do not meddle in the affairs of Dragons, for you are crunchy and taste good with ketchup." - Unknown

ricemastah

  • Bay Watcher
    • View Profile
Re: Metals n' shit
« Reply #1 on: May 07, 2008, 06:55:00 pm »

I believe that if you want a smelt metal ore option, you need to specify a stone as an ore of that metal. Look into the matgloss_stone_mineral file.
Logged

Devath

  • Bay Watcher
  • Dabbling Insane Dev
    • View Profile
Re: Metals n' shit
« Reply #2 on: May 07, 2008, 07:09:00 pm »

I already have one. Sorry I didn't specify.

The stone

code:
[MATGLOSS_STONE:RAW_DOOMLINITE]
[NAME:raw doomlinite][COLOR:4:7:1][TILE:156]
[ENVIRONMENT:IGNEOUS_EXTRUSIVE:CLUSTER:100]
[ITEM_SYMBOL:'*']
[METAL_ORE :DOOMLINITE:100]
[VALUE:10]
[SPEC_HEAT:500]
[MELTING_POINT:10000]
[BOILING_POINT:10000]
[SOLID_DENSITY:1000]

The metal

code:
[MATGLOSS_METAL :DOOMLINITE]
[NAME:doomlinite][ADJ:doomlinite][COLOR:4:7:1]
[VALUE:15]
[SPEC_HEAT:500]
[IGNITE_POINT:NONE]
[MELTING_POINT:NONE]
[BOILING_POINT:NONE]
[WEAPON][WEAPON_RANGED][AMMO][DIGGER][ARMOR][ANVIL]
[DAMAGE_PERC:400]
[BLOCK_PERC:400]
[SOLID_DENSITY:1850]

Reactions:Attempted. The first works. The second does not.

code:
[REACTION :DOOMLINITE_TO_COKE]
[NAME:make coke from doomlinite ore]
[SMELTER]
[REAGENT:1:STONE:NO_SUBTYPE:STONE:RAW_DOOMLINITE]
[PRODUCT:100:50:BAR:NO_SUBTYPE:COAL:COKE]
[FUEL]

[REACTION:SMELT_DOOMLINITE]
[NAME:smelt doomlinite ore]
[SMELTER]
[REAGENT:4:STONE:NO_SUBTYPE:STONE:RAW_DOOMLINITE]
[PRODUCT:100:4:BAR:NO_SUBTYPE:METAL :DOOMLINITE]
[FUEL]


Logged
"Do not meddle in the affairs of Dragons, for you are crunchy and taste good with ketchup." - Unknown

TerminatorII

  • Bay Watcher
  • [PREFSTRING:Adamantine Skeleton]
    • View Profile
Re: Metals n' shit
« Reply #3 on: May 07, 2008, 07:09:00 pm »

look at the example in my post a few down. It works for new metals to smelt to ore. you have to have the stone with ore tags in matgloss_stone_mineral and the reaction under reaction_whatever  However, I am still puzzled on some aspects of the process so any info you turn up I would like to know.  :D
Logged
No, I think the cook would be in charge of sugar-coating the cows.

You are a lifesaver! Round and probably in tropical flavors.

Devath

  • Bay Watcher
  • Dabbling Insane Dev
    • View Profile
Re: Metals n' shit
« Reply #4 on: May 07, 2008, 07:17:00 pm »

I was referring more to the fact that "Smelt 'Metal' Ore" doesn't show up in the reactions files, but shows up in the smelter, and that this was not true for my new metal, no matter the circumstance, even after my reaction layout. Meh.

If it has something to do with temp, I'm gonna be angry...

[ May 07, 2008: Message edited by: Devath ]

Logged
"Do not meddle in the affairs of Dragons, for you are crunchy and taste good with ketchup." - Unknown

TerminatorII

  • Bay Watcher
  • [PREFSTRING:Adamantine Skeleton]
    • View Profile
Re: Metals n' shit
« Reply #5 on: May 07, 2008, 07:25:00 pm »

code:
 
[REACTION:SMELT_DOOMLINITE]
[NAME:smelt doomlinite ore]
[SMELTER]
[REAGENT:4:STONE:NO_SUBTYPE:STONE:RAW_DOOMLINITE]
[PRODUCT:100:4:BAR:NO_SUBTYPE:METAL : DOOMLINITE]
[FUEL]

Change it to this and it should work.


code:
  
[REACTION:SMELT_DOOMLINITE]
[NAME:smelt doomlinite ore]
[SMELTER]
[REAGENT:4:METAL_ORE:RAW_DOOMLINITE]
[PRODUCT:100:4:BAR:NO_SUBTYPE:METAL : DOOMLINITE]
[FUEL]

have fun    :D

[ May 07, 2008: Message edited by: TerminatorII ]

[ May 07, 2008: Message edited by: TerminatorII ]

Logged
No, I think the cook would be in charge of sugar-coating the cows.

You are a lifesaver! Round and probably in tropical flavors.

Devath

  • Bay Watcher
  • Dabbling Insane Dev
    • View Profile
Re: Metals n' shit
« Reply #6 on: May 07, 2008, 07:32:00 pm »

We will see. Generating new world.
Logged
"Do not meddle in the affairs of Dragons, for you are crunchy and taste good with ketchup." - Unknown

Devath

  • Bay Watcher
  • Dabbling Insane Dev
    • View Profile
Re: Metals n' shit
« Reply #7 on: May 07, 2008, 08:17:00 pm »

It works, but disables the other reaction. O.O
Of course, I also had to change another minor editing error I made... Involving temp.
Logged
"Do not meddle in the affairs of Dragons, for you are crunchy and taste good with ketchup." - Unknown

TerminatorII

  • Bay Watcher
  • [PREFSTRING:Adamantine Skeleton]
    • View Profile
Re: Metals n' shit
« Reply #8 on: May 07, 2008, 08:32:00 pm »

what reaction did it disable?
Logged
No, I think the cook would be in charge of sugar-coating the cows.

You are a lifesaver! Round and probably in tropical flavors.

Cavalcadeofcats

  • Bay Watcher
    • View Profile
Re: Metals n' shit
« Reply #9 on: May 07, 2008, 08:40:00 pm »

"Doomlinite to coke", one presumes. The one above.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Metals n' shit
« Reply #10 on: May 07, 2008, 08:51:00 pm »

You don't need a smelter reaction to make the ore smeltable into metal. Just a METAL_ORE token.
And make sure you create a new world each time.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Metals n' shit
« Reply #11 on: May 08, 2008, 02:05:00 am »

You don't have to create a new world when you make changes to an existing reaction. You only have to do this when you add or remove reactions.

Also, if a reaction does not show up in the smelter, it may be that you have accidentally set up reagents wrong, but if the reaction works, it will be in the manager. Queue the job in the manager screen, and see what kind of lame excuse will the dwarf trying to do it have.

Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India