Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Adding an ore type.  (Read 2325 times)

Vehudur

  • Bay Watcher
  • [evil]
    • View Profile
Adding an ore type.
« on: September 27, 2010, 06:23:53 pm »

I have come to the conclusion that having Anthracite (metamorphosed coal) would be a great thing to have, and would like to add it to my game.  Only...   I haven't the faintest idea where to begin, and would like assistance.

As for the properties of it:

Turning it into coke (for making steel) would require 2 fuel to produce 3, creating a net gain of 1.  This is accurate for the actual stone, for while it has a higher carbon content than bituminous coal, it's much much harder to ignite.

Being coal, it's obviously not fireproof or magma proof.

However, to make things easier, all I wish is for this to appear as ore in veins, to drop chunks when mined (like ores do, of course) and those chunks to be usable to make coke for steel-making, and so I can designate stockpiles for it.  It requires no other functionality; anything else is just a plus.
Logged
Quote
...and a third died in his bunk of natural causes - for a dagger in the heart quite naturally ends one's life.

I used to have an avatar, but I was told to remove it after it kept making people go insane.

Aramco

  • Bay Watcher
    • View Profile
Re: Adding an ore type.
« Reply #1 on: September 27, 2010, 06:28:11 pm »

Just make a copy of coal, change the name, and add a custom reaction like this:

Code: [Select]
[REACTION:ANTHRACITE_TO_COKE]
[NAME:make coke from anthracite]
[BUILDING:SMELTER:NONE]
[REAGENT:A:2:BOULDER:NO_SUBTYPE:INORGANIC:COAL_BITUMINOUS]
[PRODUCT:100:3:BAR:NO_SUBTYPE:COAL:COKE][PRODUCT_DIMENSION:150]
[SKILL:SMELT]

You can't make it take 2 fuel, but you can make it take two coal.
Logged
Or maybe there's a god who's just completely insane and sends you to Detroit, Michigan in a new body if you ever utter the name "Pat Sajak".

Vehudur

  • Bay Watcher
  • [evil]
    • View Profile
Re: Adding an ore type.
« Reply #2 on: September 27, 2010, 06:39:16 pm »

Just make a copy of coal, change the name, and add a custom reaction like this:

Code: [Select]
[REACTION:ANTHRACITE_TO_COKE]
[NAME:make coke from anthracite]
[BUILDING:SMELTER:NONE]
[REAGENT:A:2:BOULDER:NO_SUBTYPE:INORGANIC:COAL_BITUMINOUS]
[PRODUCT:100:3:BAR:NO_SUBTYPE:COAL:COKE][PRODUCT_DIMENSION:150]
[SKILL:SMELT]

You can't make it take 2 fuel, but you can make it take two coal.

Ok, that's simple enough.  How do I get it to appear in veins in metamorphic rock instead of sedimentary then?

Nevermind, I see, that's easy enough.
« Last Edit: September 27, 2010, 06:43:48 pm by Vehudur »
Logged
Quote
...and a third died in his bunk of natural causes - for a dagger in the heart quite naturally ends one's life.

I used to have an avatar, but I was told to remove it after it kept making people go insane.

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: Adding an ore type.
« Reply #3 on: September 27, 2010, 10:42:11 pm »

You, uh, forgot to include the Anthracite in the reaction.

[REACTION:ANTHRACITE_TO_COKE][NAME:make coke from anthracite][BUILDING:SMELTER:NONE][REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:COAL_BITUMINOUS]
[REAGENT:B:1:BOULDER:NO_SUBTYPE:INORGANIC:ANTHRACITE]
[PRODUCT:100:3:BAR:NO_SUBTYPE:COAL:COKE][PRODUCT_DIMENSION:150][SKILL:SMELT]
[FUEL]
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

Rysith

  • Bay Watcher
    • View Profile
Re: Adding an ore type.
« Reply #4 on: September 27, 2010, 11:05:25 pm »

Wouldn't that mean that it would require effectively three coke (from the coal, and then in the second version + 1 from the [FUEL]) to produce three coke? That seems like a losing proposition to me... One coke + fuel seems doable (2 -> 3), though at that point only equivalent to lignite (which might be the intent).
Logged
Lanternwebs: a community fort
Try my orc mod!
The OP deserves the violent Dwarven equivalent of the Nobel Peace Prize.

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: Adding an ore type.
« Reply #5 on: September 27, 2010, 11:06:28 pm »

That's why I changed it to 1 coal.
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

Urist Imiknorris

  • Bay Watcher
  • In the flesh, on the phone and in your account...
    • View Profile
Re: Adding an ore type.
« Reply #6 on: September 27, 2010, 11:11:17 pm »

You, uh, forgot to include the Anthracite in the reaction.

[REACTION:ANTHRACITE_TO_COKE][NAME:make coke from anthracite][BUILDING:SMELTER:NONE]
[REAGENT:A:1:BAR:NO_SUBTYPE:COAL:NO_SUBTYPE]
[REAGENT:B:1:BOULDER:NO_SUBTYPE:INORGANIC:ANTHRACITE]
[PRODUCT:100:3:BAR:NO_SUBTYPE:COAL:COKE][PRODUCT_DIMENSION:150][SKILL:SMELT]
[FUEL]

*SMACK*

2 pieces fuel + 1 lump of anthracite = 3 fuel.
Logged
Quote from: LordSlowpoke
I don't know how it works. It does.
Quote from: Jim Groovester
YOU CANT NOT HAVE SUSPECTS IN A GAME OF MAFIA

ITS THE WHOLE POINT OF THE GAME
Quote from: Cheeetar
If Tiruin redirected the lynch, then this means that, and... the Illuminati! Of course!

Spaghetti

  • Bay Watcher
    • View Profile
Re: Adding an ore type.
« Reply #7 on: September 27, 2010, 11:14:36 pm »

LMAO
Logged

MaximumZero

  • Bay Watcher
  • Stare into the abyss.
    • View Profile
Re: Adding an ore type.
« Reply #8 on: September 27, 2010, 11:18:24 pm »

Edited: because I'm apparently a raging douchebag after midnight.

I'm going to bed.
« Last Edit: September 27, 2010, 11:21:10 pm by MaximumZero »
Logged
  
Holy crap, why did I not start watching One Punch Man earlier? This is the best thing.
probably figured an autobiography wouldn't be interesting

Vehudur

  • Bay Watcher
  • [evil]
    • View Profile
Re: Adding an ore type.
« Reply #9 on: September 28, 2010, 01:24:29 am »

Wouldn't that mean that it would require effectively three coke (from the coal, and then in the second version + 1 from the [FUEL]) to produce three coke? That seems like a losing proposition to me... One coke + fuel seems doable (2 -> 3), though at that point only equivalent to lignite (which might be the intent).

Yes, that's the intent.  While in reality it's far closer to bituminous, you actually get less energy from anthracite than bituminous.  That's why bituminous is preferred in industry.

There's one other thing I wanted to change...    In real life, kimberlite is found in vertical pipes, not veins (and, actually, isn't limited by rock type but I don't want to change that).  Is there any way to make it so?  If so, I doubt it's simple or easy.
Logged
Quote
...and a third died in his bunk of natural causes - for a dagger in the heart quite naturally ends one's life.

I used to have an avatar, but I was told to remove it after it kept making people go insane.

lolghurt

  • Bay Watcher
  • [PREFSTRING:failures]
    • View Profile
Re: Adding an ore type.
« Reply #10 on: September 28, 2010, 01:31:05 am »

You, uh, forgot to include the Anthracite in the reaction.

[REACTION:ANTHRACITE_TO_COKE][NAME:make coke from anthracite][BUILDING:SMELTER:NONE]
[REAGENT:A:1:BAR:NO_SUBTYPE:COAL:NO_SUBTYPE]
[REAGENT:B:1:BOULDER:NO_SUBTYPE:INORGANIC:ANTHRACITE]
[PRODUCT:100:3:BAR:NO_SUBTYPE:COAL:COKE][PRODUCT_DIMENSION:150][SKILL:SMELT]
[FUEL]

*SMACK*

2 pieces fuel + 1 lump of anthracite = 3 fuel.
you could just remove the [FUEL] tag for a net gain of 1
Logged
Quote from: acetech09 date=1343968486
It's probably made from baby bone, with a handle of baby leather. Probably uses the leg bones wound together for the handle, the pelvis for the handle/pick joint, and the pick is the spine.

But that's all in theory, of course. Not like I've made a pick out of my own 5 month old baby before.

Aramco

  • Bay Watcher
    • View Profile
Re: Adding an ore type.
« Reply #11 on: September 28, 2010, 01:40:48 pm »

You, uh, forgot to include the Anthracite in the reaction.

[REACTION:ANTHRACITE_TO_COKE][NAME:make coke from anthracite][BUILDING:SMELTER:NONE][REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:COAL_BITUMINOUS]
[REAGENT:B:1:BOULDER:NO_SUBTYPE:INORGANIC:ANTHRACITE]
[PRODUCT:100:3:BAR:NO_SUBTYPE:COAL:COKE][PRODUCT_DIMENSION:150][SKILL:SMELT]
[FUEL]

Oh. That is important I guess.
Wouldn't that mean that it would require effectively three coke (from the coal, and then in the second version + 1 from the [FUEL]) to produce three coke? That seems like a losing proposition to me... One coke + fuel seems doable (2 -> 3), though at that point only equivalent to lignite (which might be the intent).

Yes, that's the intent.  While in reality it's far closer to bituminous, you actually get less energy from anthracite than bituminous.  That's why bituminous is preferred in industry.

There's one other thing I wanted to change...    In real life, kimberlite is found in vertical pipes, not veins (and, actually, isn't limited by rock type but I don't want to change that).  Is there any way to make it so?  If so, I doubt it's simple or easy.

I doubt it. Unless Cotton Candy is in the raws, then you might be able to.
Logged
Or maybe there's a god who's just completely insane and sends you to Detroit, Michigan in a new body if you ever utter the name "Pat Sajak".

Urist Imiknorris

  • Bay Watcher
  • In the flesh, on the phone and in your account...
    • View Profile
Re: Adding an ore type.
« Reply #12 on: September 28, 2010, 02:43:31 pm »

Adamantine is in the raws.
Logged
Quote from: LordSlowpoke
I don't know how it works. It does.
Quote from: Jim Groovester
YOU CANT NOT HAVE SUSPECTS IN A GAME OF MAFIA

ITS THE WHOLE POINT OF THE GAME
Quote from: Cheeetar
If Tiruin redirected the lynch, then this means that, and... the Illuminati! Of course!

Aramco

  • Bay Watcher
    • View Profile
Re: Adding an ore type.
« Reply #13 on: September 28, 2010, 02:57:49 pm »

Adamantine is in the raws.

It is? Is it just recently? As in, since 31.12? I have not done any modding or anything since .12, and I though it wasn't.
Logged
Or maybe there's a god who's just completely insane and sends you to Detroit, Michigan in a new body if you ever utter the name "Pat Sajak".

3

  • Bay Watcher
    • View Profile
Re: Adding an ore type.
« Reply #14 on: September 28, 2010, 03:00:36 pm »

As far as I know it's been in the raws since proper stone types have existed. That is, since after 23.130.23.
Logged
Pages: [1] 2