Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Need a bit of help with a mineral I created  (Read 651 times)

kilozombie

  • Bay Watcher
    • View Profile
Need a bit of help with a mineral I created
« on: June 21, 2011, 04:22:39 pm »

So I made a new semi-common mineral, and I have a problem with the bar.

Basically:

I smelt the ore into a bar. The bar doesn't get placed into a bar/block stockpile.

I think it's because it says in its status that it can be used to create bars of the mineral, but it's already a bar.
Logged

IT 000

  • Bay Watcher
  • Strange Mood
    • View Profile
Re: Need a bit of help with a mineral I created
« Reply #1 on: June 21, 2011, 05:00:04 pm »

From the information you have given I cannot tell what is wrong. Please supply us with the errorlog, and all the relevant raws to go along. The metal, the mineral, and the smelter reaction would be a good place to start.
Logged

***CORROSION v2.14***
<<<More Than Just Zombies>>>
Back from the Dead!

D_E

  • Bay Watcher
    • View Profile
Re: Need a bit of help with a mineral I created
« Reply #2 on: June 21, 2011, 07:02:12 pm »

Sounds like the mineral is marked as an ore of ITSELF.  So when it's smelted, it produces a rock bar of the original material.

If you look in the raws, you will see that the default metals come in pairs, a metal and an ore (or ores).  For example, Hematite is an ore of iron:

Spoiler (click to show/hide)

When it is smelted, it produces an iron bar, not a hematite bar.
Logged
Mods I've done:
Zelda mod-mod, Beta in the Wild DF 47.04
Illithid Empire mod DF 31.25 (update canceled)
Spotter's Guide to Illithids (Genesis mod-mod) genesis 3.19a4 (update canceled)

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: Need a bit of help with a mineral I created
« Reply #3 on: June 22, 2011, 04:35:46 am »

Well, about how hematite turns to iron and stuff, is because the smelter reaction uses hematite to switch into iron bars.

You need to make a separate metal that uses the METAL_TEMPLATE and edit the metal's stats from there.

If you want to understand a bit, look for iron in the metal raws, look for hematite in the mineral raws, and open the smelter reaction file and look for the iron melting raws there. 
Logged
Thank you for all the fish. It was a good run.

kilozombie

  • Bay Watcher
    • View Profile
Re: Need a bit of help with a mineral I created
« Reply #4 on: June 23, 2011, 06:45:42 pm »

Well basically I have finite ore that gets smelted into finite bars. So in that slot, I put [METAL_ORE:FINITE_BARS:100]. The bars are called finite bars.
Logged