Bay 12 Games Forum

Please login or register.

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

Author Topic: Variable [FUEL] tag  (Read 2558 times)

Impaler[WrG]

  • Bay Watcher
  • Khazad Project Leader
    • View Profile
Variable [FUEL] tag
« on: November 12, 2008, 08:24:03 pm »

I've found that its currently not possible to stack the [FUEL] tag in a reaction to make a reaction need 2 or more fuel.  It seems the only options are one fuel or no fuel.  I can add lines to make COAL a reagent like Steel requires but this isn't really accurate for magma smelters & forges as you can only save the one 'official' fuel.

I propose the [FUEL] tag be altered to [FUEL:#] in which # specifies the desired quantity of fuel, the old [FUEL] tag could be interpreted as one for back compatibility if necessary.  This would help make more complex yet still balanced reactions and they will work properly with magma.
Logged
Khazad the Isometric Fortress Engine
Extract forts from DF, load and save them to file and view them in full 3D

Khazad Home Thread
Khazad v0.0.5 Download

Osmosis Jones

  • Bay Watcher
  • Now with 100% more rotation!
    • View Profile
Re: Variable [FUEL] tag
« Reply #1 on: November 12, 2008, 09:08:48 pm »

Back compatibility won't be an issue if he manages to squeeze it in before the next update, as it will break compat anyway. Also, just out of curiosity, what were you making that required two units of fuel?
Logged
The Marx generator will produce Engels-waves which should allow the inherently unstable isotope of Leninium to undergo a rapid Stalinisation in mere trockoseconds.

ToonyMan

  • Bay Watcher
  • Danger Magnet
    • View Profile
Re: Variable [FUEL] tag
« Reply #2 on: November 12, 2008, 09:27:40 pm »

I agree!  ;D
Logged

Impaler[WrG]

  • Bay Watcher
  • Khazad Project Leader
    • View Profile
Re: Variable [FUEL] tag
« Reply #3 on: November 12, 2008, 09:53:59 pm »

I'm playing around with large reactions that use 8+ units of Ore and it seems wrong that smelting 8 units of rock should require the same amount of fuel as smelting just one.  It could also allow us to reflect the different melting temperatures of ores and metals, some would require more heat to melt and thus more fuel.
Logged
Khazad the Isometric Fortress Engine
Extract forts from DF, load and save them to file and view them in full 3D

Khazad Home Thread
Khazad v0.0.5 Download

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: Variable [FUEL] tag
« Reply #4 on: November 13, 2008, 02:00:50 am »

Yeah, this is sensible.
Logged

Align

  • Bay Watcher
    • View Profile
Re: Variable [FUEL] tag
« Reply #5 on: November 13, 2008, 02:14:57 pm »

How does magma affect this? Completely negate the need or just -1?
Logged
My stray dogs often chase fire imps back into the magma pipe and then continue fighting while burning and drowning in the lava. Truly their loyalty knows no bounds, but perhaps it should.

Impaler[WrG]

  • Bay Watcher
  • Khazad Project Leader
    • View Profile
Re: Variable [FUEL] tag
« Reply #6 on: November 13, 2008, 04:05:57 pm »

Examine the Steel reaction, Coal is a reagent and is always required even in on a Magma furnace.  Only the effect of the [FUEL] tag are negated, essentially all magma dose is nullify any [FUEL] tag in a recipe, everything else remains the same.  If I replaced all [FUEL] tags with the desired number of coal units as reagents then magma forges and smelters would do nothing special.  A variable tag would allow a magma workshop to save any specified amount of fuel.
Logged
Khazad the Isometric Fortress Engine
Extract forts from DF, load and save them to file and view them in full 3D

Khazad Home Thread
Khazad v0.0.5 Download

Random832

  • Bay Watcher
    • View Profile
Re: Variable [FUEL] tag
« Reply #7 on: November 13, 2008, 04:24:30 pm »

How does magma affect this? Completely negate the need or just -1?

It would completely negate it - though if magma depletion ever comes into play it would probably consume that much magma.
Logged

G-Flex

  • Bay Watcher
    • View Profile
Re: Variable [FUEL] tag
« Reply #8 on: November 13, 2008, 05:27:29 pm »

Why would a smelter *consume* magma? It would, at the most, cool it down.

Speaking ideally, all smelting operations should require some level of fuel, even with a magma smelter. You need some carbon to do that kind of thing no matter what you use as a heat source, provided you aren't simply extracting native metal from rock or making alloys.
Logged
There are 2 types of people in the world: Those who understand hexadecimal, and those who don't.
Visit the #Bay12Games IRC channel on NewNet
== Human Renovation: My Deus Ex mod/fan patch (v1.30, updated 5/31/2012) ==

Duke 2.0

  • Bay Watcher
  • [CONQUISTADOR:BIRD]
    • View Profile
Re: Variable [FUEL] tag
« Reply #9 on: November 13, 2008, 05:32:13 pm »

Why would a smelter *consume* magma? It would, at the most, cool it down.

Speaking ideally, all smelting operations should require some level of fuel, even with a magma smelter. You need some carbon to do that kind of thing no matter what you use as a heat source, provided you aren't simply extracting native metal from rock or making alloys.

 One would assume dwarves use random organic matter to add carbon to things that need it.
Logged
Buck up friendo, we're all on the level here.
I would bet money Andrew has edited things retroactively, except I can't prove anything because it was edited retroactively.
MIERDO MILLAS DE VIBORAS FURIOSAS PARA ESTRANGULARTE MUERTO

Random832

  • Bay Watcher
    • View Profile
Re: Variable [FUEL] tag
« Reply #10 on: November 13, 2008, 07:35:33 pm »

Why would a smelter *consume* magma? It would, at the most, cool it down.

It is a resource, it is thereby consumed. That "consuming" it turns it into worthless cool rock [it would, notably, _not_ be obsidian - really, the magma pipe lining itself should also not be obsidian, it should be e.g. granite] rather than removing its mass is just a detail.

Quote
Speaking ideally, all smelting operations should require some level of fuel, even with a magma smelter. You need some carbon to do that kind of thing no matter what you use as a heat source, provided you aren't simply extracting native metal from rock or making alloys.

You also always need flux. And it's NOT always the same ones as it is for iron/steel.

Really, what we need is finer-tuned fuel/reducing agents/flux, and have the requirements of the latter two be relatively small (since they're being consumed for the reaction rather than generating heat) and the former be dozens of units, and one unit coal or wood generates a large number of bars of coke/charcoal, and one piece of flux stone is kept track of in the smelter as a large number of "flux units".

Also, different reactions require different flux - limestone is used for iron and steel, but http://www.cyphertext.net/~gfish/smelting.html indicates the use of iron oxide or silica - depending on the ore - as flux for smelting copper. (I wonder if the resulting slag from the use of iron oxide could be smelted for iron)

It would need to always be possible to import flux (a tendency for civs with no access and no trade for flux to die out would be sufficient. A way to check material availability before selecting a civ would be nice too - you can start a custom embark and then abort, but that's more tedious, and you may also want to know what's available from your human neighbors or what kind of metal the goblins will be using)
Logged

G-Flex

  • Bay Watcher
    • View Profile
Re: Variable [FUEL] tag
« Reply #11 on: November 14, 2008, 08:55:16 am »

Why would a smelter *consume* magma? It would, at the most, cool it down.

Speaking ideally, all smelting operations should require some level of fuel, even with a magma smelter. You need some carbon to do that kind of thing no matter what you use as a heat source, provided you aren't simply extracting native metal from rock or making alloys.

 One would assume dwarves use random organic matter to add carbon to things that need it.

I don't really think this would be possible. You need (roughly) pure carbon, or at least carbon monoxide, in order to smelt the stuff. Random organic substances probably would not work at all regardless of how many carbon atoms they have.
Logged
There are 2 types of people in the world: Those who understand hexadecimal, and those who don't.
Visit the #Bay12Games IRC channel on NewNet
== Human Renovation: My Deus Ex mod/fan patch (v1.30, updated 5/31/2012) ==

Duke 2.0

  • Bay Watcher
  • [CONQUISTADOR:BIRD]
    • View Profile
Re: Variable [FUEL] tag
« Reply #12 on: November 14, 2008, 10:41:52 am »

Why would a smelter *consume* magma? It would, at the most, cool it down.

Speaking ideally, all smelting operations should require some level of fuel, even with a magma smelter. You need some carbon to do that kind of thing no matter what you use as a heat source, provided you aren't simply extracting native metal from rock or making alloys.

 One would assume dwarves use random organic matter to add carbon to things that need it.

I don't really think this would be possible. You need (roughly) pure carbon, or at least carbon monoxide, in order to smelt the stuff. Random organic substances probably would not work at all regardless of how many carbon atoms they have.

 Mind you these are dwarves, and quite a few old old metals relied on the impurties in the metal as well as the proper chemical composition. Although I get your point. Still, we need to know how realistic the game needs to be to make sure it is fun as well. Abstraction can do wonders to how fun things are.
Logged
Buck up friendo, we're all on the level here.
I would bet money Andrew has edited things retroactively, except I can't prove anything because it was edited retroactively.
MIERDO MILLAS DE VIBORAS FURIOSAS PARA ESTRANGULARTE MUERTO

Sowelu

  • Bay Watcher
  • I am offishially a penguin.
    • View Profile
Re: Variable [FUEL] tag
« Reply #13 on: November 15, 2008, 01:42:14 pm »

I would like it if all smithing and reactions were based on temperatures.  Smithing with pewter should take less fuel than smithing with steel, and it shouldn't need any special tags to say that.  Making alloys, well, I can see that needing an additional tag to say what temperature the reaction happens at...  Essentially, you just have to blow enough fuel to get the forge hot enough for your reaction or something close to your melting point.
Logged
Some things were made for one thing, for me / that one thing is the sea~
His servers are going to be powered by goat blood and moonlight.
Oh, a biomass/24 hour solar facility. How green!

G-Flex

  • Bay Watcher
    • View Profile
Re: Variable [FUEL] tag
« Reply #14 on: November 15, 2008, 05:00:38 pm »

I'm not sure I'd say that alloying involves a "reaction". You're basically just making a (hopefully) solid solution of two materials; you're basically melting stuff and mixing it together.
Logged
There are 2 types of people in the world: Those who understand hexadecimal, and those who don't.
Visit the #Bay12Games IRC channel on NewNet
== Human Renovation: My Deus Ex mod/fan patch (v1.30, updated 5/31/2012) ==
Pages: [1] 2