Bay 12 Games Forum

Please login or register.

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

Author Topic: Peat as a substitute for coal.  (Read 1961 times)

Aquillion

  • Bay Watcher
    • View Profile
Peat as a substitute for coal.
« on: April 02, 2009, 03:51:47 pm »

I mentioned this in another thread, but I thought it could use its own post...

Peat has been used as a method of powering furnaces for a long time, historically.  The Romans did it, say.

Peat can be used as a fertilizer, too, according to its article, although I don't know how long that has been done historically.

Peat could be 'mined' or collected from around swampy, marshy areas.  It may even contain deposits of Bog Iron.
« Last Edit: April 02, 2009, 03:55:38 pm by Aquillion »
Logged
We don't want another cheap fantasy universe, we want a cheap fantasy universe generator. --Toady One

zchris13

  • Bay Watcher
  • YOU SPIN ME RIGHT ROUND~
    • View Profile
Re: Peat as a substitute for coal.
« Reply #1 on: April 02, 2009, 04:36:52 pm »

This needs to happen.  Peat will I know at least burn for a long time in real life. It was used to heat homes in Ireland? Maybe. Somewhere? Definetely.
Logged
this sigtext was furiously out-of-date and has been jettisoned

Spoonfeed

  • Bay Watcher
  • ooooooOooooOOOo
    • View Profile
Re: Peat as a substitute for coal.
« Reply #2 on: April 03, 2009, 01:09:36 am »

so THAT'S peat?
My country was basicly founded on peat... So seconded!
Logged
Nil Genericsignature has gone stark raving mad!

cparax

  • Bay Watcher
    • View Profile
Re: Peat as a substitute for coal.
« Reply #3 on: April 03, 2009, 06:27:46 am »

Yup, peat is a useful fuel source, although I don't know if it'd be practical in steelmaking.

I would generally like a system in which there's overlapping (but not fully so) categories for the use of coal as a reagent and the use of coal for forging and heat. (Peat would be very useful for setting home fires of some kind, but as of right now dwarves need neither light nor warmth. If insulation ever becomes a big deal, it should be a useful trade good.) So graphite, jet, and maybe other carbon-rich minerals and would work for the manufacture of steel and pig iron, but only in magma forges; peat and other hydrocarbons would be useful for forging, but would not be appropriate for steelmaking.
Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Peat as a substitute for coal.
« Reply #4 on: April 03, 2009, 10:15:44 am »

The Coal chain goes something like this (rather a bit vague and I'm not geology expert): Peat (coal precursor, it is found in the soil layer) then comes Lignite (kind of a compacted Peat found in soil and sedimentary layers) then comes Sub-bituminous (kind of half way between lignite and bituminous), then comes Bituminous (a compacted lignite found in sedimentary layers) then comes Anthracite (a compacted and heated bituminous, was used in some areas in steel making instead of coke, found in metamorphic layers), finely you get Graphite (a compacted and heated anthracite, found in metamorphic layers, hard to ignite raw, can be processed to burn easier (by adding bits of burnable organic matter)).

This is a relatively easy Mod that any on can do to their raw/objects files, however they have to be done to the files before you start your game, otherwise they will not work (see modding section for more details, a further warning these are untested Mods and should be tested to ensure that they work correctly as I'm not sure I have used the syntax correctly, in other words I'm still learning to mod).

This is added to matgloss_stone_soil.txt
Spoiler (click to show/hide)

this is added to matgloss_stone_mineral.txt
Spoiler (click to show/hide)

and then you add this to your reaction_standard.txt
Spoiler (click to show/hide)
Logged

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile
Re: Peat as a substitute for coal.
« Reply #5 on: April 03, 2009, 10:24:10 am »

Natural walls and constructions are not affected by temperature.  Graphite burns in-game, just so you know.  Magma is always surrounded by obsidian, which is not magma proof. 

Anyway, the peat reaction wouldn't work because the [SOIL] tag makes tiles of that type not drop stone.  You don't need to put a blank line between each line of a single reaction either.

Aside from that, this seems to be a solid placeholder for the suggestion.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

Maggarg - Eater of chicke

  • Bay Watcher
  • His Maleficent Magnificence of Nur
    • View Profile
Re: Peat as a substitute for coal.
« Reply #6 on: April 03, 2009, 10:32:16 am »

Anthracite man, anyone?
I think it sounds cool.
Logged
...I keep searching for my family's raw files, for modding them.

Derakon

  • Bay Watcher
    • View Profile
Re: Peat as a substitute for coal.
« Reply #7 on: April 03, 2009, 10:37:00 am »

Natural walls are affected by temperature -- otherwise you'd not be able to melt ice on glaciers by moving magma close to it. Since obsidian walls next to magma don't melt, but obsidian stones in magma do, it seems clear that either ice is special, or magma doesn't affect things next to it anywhere near as much as it affects things in its own tile. I'm going with the latter since trees next to magma don't ignite either.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile
Re: Peat as a substitute for coal.
« Reply #8 on: April 03, 2009, 10:40:22 am »

Natural walls are affected by temperature -- otherwise you'd not be able to melt ice on glaciers by moving magma close to it. Since obsidian walls next to magma don't melt, but obsidian stones in magma do, it seems clear that either ice is special, or magma doesn't affect things next to it anywhere near as much as it affects things in its own tile. I'm going with the latter since trees next to magma don't ignite either.
Ice is a hard-coded exception.  It is frozen water, as opposed to something that automatically exists at the very beginning of world gen. 

Trust me, this has been tested before.  Several times.  If you don't you can look it up.  And, if you'll notice, magma in pipes does occasionally lie on top of a natural floor.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

cparax

  • Bay Watcher
    • View Profile
Re: Peat as a substitute for coal.
« Reply #9 on: April 03, 2009, 10:46:47 am »

Maybe a 'hew peat' order could be given in the way that 'collect sand' is, and the resulting powder (more like a bag of dirt, but not that big a difference) would be taken to a peat-drainer to make peatfuel blocks or mixed into rough floor to 'irrigate' it. IIRC, that'd do a good job of simulating the relative abundance of peat where it exists versus coal, which has to be mined.
« Last Edit: April 03, 2009, 10:50:08 am by cparax »
Logged

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile
Re: Peat as a substitute for coal.
« Reply #10 on: April 03, 2009, 10:47:51 am »

Maybe a 'mine peat' order could be given in the way that 'collect sand' is, and the resulting powder (more like a bag of dirt, but not that big a difference) would be taken to a peat-drainer to make peatfuel blocks or mixed into rough floor to 'irrigate' it. IIRC, that'd do a good job of simulating the relative abundance of peat where it exists versus coal, which has to be mined.
That is how I was thinking it would be implemented by Toady, but unfortunately this cannot be done with current modding.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

cparax

  • Bay Watcher
    • View Profile
Re: Peat as a substitute for coal.
« Reply #11 on: April 03, 2009, 10:52:01 am »

That is how I was thinking it would be implemented by Toady, but unfortunately this cannot be done with current modding.

Yup. And it's completely impossible to have soil leave stones? Bummer.

Is there any way for a substance to be soil as a wall but rock as a floor and vice-versa? I like being able to gather sand and farm in the same place, but that isn't how it actually works. :P
Logged

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Peat as a substitute for coal.
« Reply #12 on: April 03, 2009, 11:03:31 am »

Ice is a hard-coded exception.  It is frozen water, as opposed to something that automatically exists at the very beginning of world gen. 

Trust me, this has been tested before.  Several times.  If you don't you can look it up.  And, if you'll notice, magma in pipes does occasionally lie on top of a natural floor.

Natural walls are affected by temperature -- otherwise you'd not be able to melt ice on glaciers by moving magma close to it. Since obsidian walls next to magma don't melt, but obsidian stones in magma do, it seems clear that either ice is special, or magma doesn't affect things next to it anywhere near as much as it affects things in its own tile. I'm going with the latter since trees next to magma don't ignite either.
Logged

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile
Re: Peat as a substitute for coal.
« Reply #13 on: April 03, 2009, 11:06:35 am »

Natural walls are affected by temperature -- otherwise you'd not be able to melt ice on glaciers by moving magma close to it. Since obsidian walls next to magma don't melt, but obsidian stones in magma do, it seems clear that either ice is special, or magma doesn't affect things next to it anywhere near as much as it affects things in its own tile. I'm going with the latter since trees next to magma don't ignite either.

Also, trees are technically constructions.  That is why you get a log when a tile holding a tree collapses, and why trees don't burn, even when you "set fire" to them in adventure mode.

I have had natural floors with the tile underneath them dug out hold magma, and the floors did not melt.  An obsidian stone is an item, which the game recognizes as something different from constructions or natural walls, which is why obsidian stones melt in magma while the natural walls don't.
« Last Edit: April 03, 2009, 11:09:30 am by LegoLord »
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

sunshaker

  • Bay Watcher
    • View Profile
Re: Peat as a substitute for coal.
« Reply #14 on: April 03, 2009, 11:31:16 am »

Natural walls and constructions are not affected by temperature.  Graphite burns in-game, just so you know.  Magma is always surrounded by obsidian, which is not magma proof. 

Anyway, the peat reaction wouldn't work because the [SOIL] tag makes tiles of that type not drop stone.  You don't need to put a blank line between each line of a single reaction either.

Aside from that, this seems to be a solid placeholder for the suggestion.

The blank line is a formatting error resulting from the cut and paste I did, it isn't in the raw file.

I was hoping the [ITEM_SYMBOL:] token would cause it to drop a peat "stone," ah well back to the drawing board.
Logged
Pages: [1] 2